pdfSetPrintPaper

Set the paper size/type ID for printing.
void pdfSetPrintPaper(PDFViewerHandle viewer, unsigned int paperID)
This function sets the paper size/type ID for printing.

See pdfGetPrinterPaperID for more information on paper size IDs.

Note: Some printer drivers may require both the bin ID and paper ID to be set, to compatible values (i.e., the requested bin must contain the requested paper size) - see pdfSetPrintBin.

C:
unsigned int paperID; .... paperID = pdfGetPrinterPaperID(....); pdfSetPrintPaper(viewer, paperID);
pdfGetNumPrinterPapers
pdfGetPrinterPaperID
pdfGetPrinterPaperName
pdfSetPrintBin