Trying to make a TCPDF generated PDF file automatically print to letterhead tray

3.1k Views Asked by At

I am generating invoices with TCPDF and everything is working fine. The pdf files need to be printed onto letterhead paper. I couldn't find any information on this, but is it possible to set a "letterhead" paper type in the pdf document so that when printed it will automatically choose the tray with letterhead paper (of course, the printer has the ability to set what kind of paper is in which tray)?

1

There are 1 best solutions below

1
On

If you have a look at the examples provided on the TCPDF website, there seems to be a few things there about page preferences and a possible solution to your tray problem.

Have a look at:

Print Preferences

and

Advanced Page Settings

Seems pretty interesting, looks like there maybe some built in functions that will automatically choose the tray based on the size of the PDF.

Hope this helps, good luck.