Enable/disable emulated multi copy mode.
void pdfPrintSetEmulatedMultiCopy(PDFHandle pdf, int emulated)
By default, the copies (
pdfPrintSetCopies) and collation (
pdfPrintSetCollate) settings are passed to the printer driver. But not all printers/drivers support printing multiple copies and/or collation. The
pdfPrintSetEmulatedMultiCopyfunction can be used to enable "emulated multi copy" mode, in which XpdfPrint will generate a print stream with multiple copies (as specified by
pdfPrintSetCopies) of each page, in proper order (as specified by
The advantage of emulated multi copy mode is that it will work on all printers. The disadvantage is that the spool file will be larger (because it contains multiple copies of each page).
pdfPrintSetEmulatedMultiCopy with a
emulated argument enables emulated multi copy
mode. Calling with a zero
emulated argument disables it.
pdfPrintResetParams resets emulated multi copy mode to be