Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Magento で請求書を編集していて、新しいページを開始するにはどうすればよいか疑問に思いました。ページ 2 にコンテンツを追加できるようにするにはどうすればよいですか?
$pdf = new Zend_Pdf(); //use this line each time you want to create new page $page = $pdf->newPage(Zend_Pdf_Page::SIZE_A4); $pdf->pages[] = $page;
Mage_Sales_Model_Order_Pdf_Invoice::newPage()請求書 PDF にページを追加するために使用できます。
Mage_Sales_Model_Order_Pdf_Invoice::newPage()