pdfPrintSetPaperMatch
Match paper to page size.
void pdfPrintSetPaperMatch(PDFHandle pdf, int match)
If this function is called with
match
true (non-zero),
the paper size will be matched to the PDF page size, for each page.
If this parameter is true, it overrides the pdfPrintSetPaper
and
pdfPrintSetCustomPaperSize
settings.
pdfPrintResetParams
resets this to its default value, which is to
print to the printer's default paper size.
C:
pdfPrintSetPaperMatch(pdf, 1);