Printing pages of PDF to various trays

Hi,

I would like to print a pdf to various paper trays and understand that it's not possible to store that info in the pdf file.

So I'm looking at saving this info in the Custom Attributes and wondering if it's possible to use the Pdf.Kit to create a program that reads these attributes from the pfd file and sets each page of the document to print where specified before submitting the print job.

Thanks,

Doug

Hi Doug,

As you know, there is no such feature available out of the box in either Aspose.Pdf.Kit or the PDF file itself that can instruct each page to be printed on a particular printer.

However, Aspose.Pdf.Kit allows you to save custom attributes in a PDF file, and if you think that it can be helpful to achieve your goal then please read the following two articles to understand how you can store and retrieve custom attributes:

Working with Extensible Metadata Platform (XMP)
Storing and retrieving custom properties using Meta info

Also, I would like to inform you that you can use PdfViewer class to print a PDF file.

I hope this helps. If you have any further questions, please do let us know.
Regards,

Hi,

I'm not trying to print to different printers, just to different trays in a printer. I want some pages on Letterhead - a pretty standard requirement, I would have thought.

Thanks,

Doug

Hi Doug,

The approach could be same in both scenarios.

If you have any further questions please do let us know.
Regards,