Add new PDFWriter class for writing PDF with printing options
Submitted by Adrian Johnson
Assigned to poppler-bugs
Created attachment 88591 Add PDFWriter
In order to get evince to print in PDF format without restricting the output to only what cairo supports we need a way to rewrite the PDF with the print settings from the print dialog applied. This will avoid stripping color management from the PDF, avoid cairo bugs, and result in much faster printing.
The first patch adds a new PDFWriter class for writing the PDF file with the selected printing options. These options include, page selection, number of copies, collation, number-up, scaling, shrink/fit page, paper size selection, orientation etc.
Attachment 88591, "Add PDFWriter":