Scale pages to fit the printable area.
void pdfPrintUsePrintableArea(PDFHandle pdf, int printable)
Most printers cannot print all the way to the edges of the paper. If this function is called with printable = 1, pages will be scaled to fit into the printable area of the paper, as defined by the printer driver.

pdfPrintResetParams resets this to its default value of 0, which means to use the entire paper size. Page content outside the printable area (i.e., too close to the edges) will not be printed.

pdfPrintUsePrintableArea(pdf, 1);