Zend Framework Render Barcodes Into PDF Pages

后端 未结 2 1560
感动是毒
感动是毒 2020-12-18 13:51

I\'m trying to create PDF pages with barcodes that have correct margins to be printed on sheets of labels (If you have another idea of how to print barcodes onto labels with

2条回答
  •  猫巷女王i
    2020-12-18 14:19

    I believe that the complete answer to your question has since been added here: Zend Framework Render Barcodes Into Multiple PDF Pages with other content

    The key seems to be:

    1. Create the Pdf library page content on a page.
    2. Add the Pdf library page to the pdf.
    3. Print the Barcode library barcodes onto that page of the pdf using something like Zend_Barcode::factory('code39', 'pdf', $barcodeOptions, $rendererOptions)->setResource($pdf, $page_index)->draw();

提交回复
热议问题