rectURY

Set the upper-right y coordinate of the rectangular window of the page to be printed.
[read/write property] rectURY([out, retval] double *ury) rectURY([in] double ury)
The rectLLX, rectLLY, rectURX, and rectURY properties set the coordinates of the rectangular region (lower-left corner = LLX,LLY; upper-right corner = URX,URY) of each page to be printed. The coordinates are in PDF user space.

resetParams resets these properties to their default values, which tells XpdfPrint to print the whole page.

VB:
pdf.rectLLX = 36.0 pdf.rectLLY = 36.0 pdf.rectURX = 576.0 pdf.rectURY = 756.0
rectLLX
rectLLY
rectURX
resetParams