Using virtual paper trays to apply letterheads

Applies to FinePrint v10.43 or above, pdfFactory Pro v7.43 or above

Letterheads in FinePrint and pdfFactory Pro are normally used by selecting them from the Letterhead list in the main FinePrint/pdfFactory window. When used in this way, letterheads are applied to all pages in a  session and are therefore known as “session-level” letterheads.

Letterheads can be applied in a more targeted way by using the virtual paper tray feature.

Any letterhead can be made into a virtual paper tray. By selecting a letterhead’s virtual paper tray when printing, a Windows application can direct FinePrint or pdfFactory Pro to apply a specific letterhead to specific individual pages of the print job. Letterheads used in this way are called “tray-based” letterheads.

A virtual paper tray consists of a tray ID and the associated letterhead to be applied when the tray is used in a print job. Tray IDs are unique decimal numbers in the range 300 to 65535, inclusive. Letterheads are specified by name exactly as they would appear in the Letterhead list.

Virtual paper trays are configured as registry settings in the Windows registry. The registry setting’s name is the virtual tray ID (in textual form), and the setting’s value is the name of the associated letterhead to be applied.

For example, to configure virtual paper tray 300 as the “Company Logo” letterhead, the registry setting would be:

FinePrint
[HKEY_CURRENT_USER\Software\FinePrint Software\FinePrint10\FinePrinters\FinePrint\PaperTrays] 300″=”Company Logo”

pdfFactory Pro
[HKEY_CURRENT_USER\Software\FinePrint Software\pdfFactory7\FinePrinters\pdfFactory Pro\PaperTrays] “300”=”Company Logo”

In a Windows application, a virtual paper tray is used by selecting it as the paper source when printing to FinePrint or pdfFactory Pro. The exact method of doing this can vary among different Windows applications, but most commonly this is done in an application’s Page Setup command or somewhere similar.

Session-level and tray-based letterheads can both be used in a FinePrint or pdfFactory Pro session. Any page that does not use a tray-based letterhead from a virtual paper tray will receive the session-level letterhead.

Virtual paper trays are scoped according to where they are defined in the registry.

Virtual paper trays defined in HKEY_LOCAL_MACHINE affect all users. Trays defined in HKEY_CURRENT_USER (or in any subkey of HKEY_USERS) affect only that user.

The following registry keys determine the scope of a virtual paper tray:
Systemwide, all printers
[HKEY_LOCAL_MACHINE\Software\FinePrint Software\FinePrint10\PaperTrays]

Systemwide, per-printer
[HKEY_LOCAL_MACHINE\Software\FinePrint Software\FinePrint10\FinePrinters\printer_name\PaperTrays]

Per-user, all printers
[HKEY_CURRENT_USER\Software\FinePrint Software\FinePrint10\PaperTrays]

Per-user, per-FinePrinter
[HKEY_CURRENT_USER\Software\FinePrint Software\FinePrint10\FinePrinters\printer_name\PaperTrays]

For pdfFactory Pro the registry keys are:

Systemwide, all printers
[HKEY_LOCAL_MACHINE\Software\FinePrint Software\pdfFactory7\PaperTrays]

Systemwide, per-printer
[HKEY_LOCAL_MACHINE\Software\FinePrint Software\pdfFactory7\FinePrinters\printer_name\PaperTrays]

Per-user, all printers
[HKEY_CURRENT_USER\Software\FinePrint Software\pdfFactory7\PaperTrays]

Per-user, per-FinePrinter
[HKEY_CURRENT_USER\Software\FinePrint Software\pdfFactory7\FinePrinters\printer_name\PaperTrays]

Members of the Administrators group can override a systemwide virtual paper tray by redefining it in their HKEY_CURRENT_USER registry hive, but non-Administrators cannot.