Magento – magento: invoice PDF design customization

invoicemagento-1.8orderspdfsales

I want to customized the Invoice PDF layout.

when there is big product name the the table data are not looking proper alignedenter image description here.

How Can i easily manage the design of the PDF INVOICE.

I tried to make changes in app/code/core/mage/sales/model/order/pdf/abstract.php but didn't get the solution. need help to Fix the pdf layout design.

Best Answer

You can customize the invoice layout by modifying this file : Mage_Sales_Model_Order_Pdf_Invoice(app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php). Of course you need to rewrite the file properly.

Also take a look at these articles for additional info and examples:

  1. http://www.atwix.com/magento/customize-magento-pdf-invoice-and-packingslip/
  2. http://www.satollo.net/magento-how-to-sligtly-modify-the-invoice-pdf
  3. http://www.magentocommerce.com/knowledge-base/entry/custom-pdf-templates/
  4. http://www.magentocommerce.com/wiki/5_-_modules_and_development/orders/editing_an_invoice_pdf