When an invoice or packing slip is generated, our company logo is at the top left and the company name and address is at the top right. How do you replace the company name and address with the logo? In other words, we want the company name and address on the left and the logo on the right. All answers are appreciated.
There are some files you need to change:
app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php <= you find lines 100 - 110, you can see code lines which are used for inserting Logo and Address:
/* Add image */
/* Add address */
These methods are in Pdf Abstarct class.
Magento uses coordinates to render our package slip. Now, you can write your own code lines here. You should copy these files to local code pool and then edit them.