I am trying to style the PDF invoice that is generated on PRINT PDF. I have managed to style the Print HTML page using the CSS files - but no matter what or where i try the pdf still comes out plain black times-roman text. Please help, this is driving me nuts!

On a side note, how can i add a logo to the invoices?

Many thanks!

Comments

Magnity’s picture

The pdf is controlled by the function theme_storminvoice_report_pdf in storminvoice.theme.inc (line 321 onwards) and so can be overriden in your theme with a function named something like garland_storminvoice_report_pdf.

For more details about how to control specific attributes of the pdf, the best thing to do will be to look at the documentation for tcpdf (the php library that creates the pdf).

Magnity’s picture

Status: Active » Fixed

I'd say this is fixed now - but please reopen if you need any more help or if that didn't solve what you were looking for.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.