pdfPrintSetDuplex
Set the duplexing mode.
void pdfPrintSetDuplex(PDFHandle pdf, int type)
This function sets the duplexing mode. Allowed values
for
type
are:
pdfPrintDuplexDefault
: use the printer's default duplex settingpdfPrintDuplexVert
: duplex with long-edge bindingpdfPrintDuplexHoriz
: duplex with short-edge bindingpdfPrintSimplex
: no duplexing
pdfPrintResetParams
resets this to its default value, which is
pdfPrintDuplexDefault
.
C:
pdfPrintSetDuplex(pdf, pdfPrintDuplexVert);