PrinterPageWidth()

Syntax

Result = PrinterPageWidth()
Description
Return the witdh of the drawing area, in pixel. The number changes with the DPI of the printer. This means than a document printed at 75 DPI will have a drawing area 4 times smaller than a document printed at 150 DPI.

Note: The return value refer to the client area, the one you can write on. It doesn't count the hardware printer margins, but doesn't add any 'soft' margins.

Supported OS

Windows

<- PrinterPageHeight() - Printer Index - StartPrinting() ->