From 1273763969:
Hi,
Sorry to dig up an old thread but is there any chance someone could post sample code showing a logo inserted and/or instructions on how to do it.
I have install the printlabel module and I have modified it to suit my needs by changing the field order but I would really like to include a company logo.
Thanks, Luke.
To insert an image is easy.
This is what I use for my labels/pdf document for the image insertion.
$pdf->Image(_PS_IMG_DIR_.'/logo.jpg', 68, 234, 35, 35);
Put the file named logo into your print label folder. My paper is standard A4.
The 68,234 is the location of my image, I know its in a strange position but anyway, the 68 represents 68mm from the left edge of the paper, the 234 is 234mm from the top of the page. Basicaly thats the x,y coordinates of the logo.
The 35,35 is the size of the file i.e 35 x 35
Play around with the settings and see what you get.
Hope this is of help.