I like to change the overall border of the sales order (by customize them in print format list) by changing the padding (in @media screen . print-format). After doing so the border is displayed correctly in preview but not if I download the PDF file. Can this be done?
Also I tried to insert a background-image to the sales order. I tried by adding a div around all the content (
). This works correct in preview, but not on the pdf download. Is there any way to add a background image?
Thank you for your response. As you mentioned, the rendering of the background image is ok. You have to use a url with server:port/pathToImage and everythinkg is fine.
But I still have a problem with the main border around the content (page margin/page border?) of the pdf file. Is there any way to see the source file of the html before it is rendered to pdf? If possible I like to see the used css for the html page to see what css-classes are used. Or do you use explizit page format for generating pdf-files?