pdfPrintSetPaper

Set the paper size/type ID.
void pdfPrintSetPaper(PDFHandle pdf, unsigned int id)
This function sets the paper size/type ID, to be used by pdfPrint4.

See pdfGetPaperID 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 pdfPrintSetBin.

pdfPrintResetParams resets this to its default value, which is to print to the printer's default paper size.

C:
unsigned int paperID; .... paperID = pdfGetPaperID(....); pdfPrintSetPaper(pdf, paperID);
pdfGetNumPapers
pdfGetPaperID
pdfGetPaperName
pdfPrintSetBin
pdfPrintSetCustomPaperSize
pdfPrintSetPaperMatch
pdfPrintSetMediaType
pdfPrintResetParams