dpi = WinXPrint_DevUnitsPerInch (hPrinter, @w, @h)
Gets the number of device units per inch. In other words, the dpi of the printer.
Parameter | Description |
---|---|
w | The horizontal dpi of the printer |
h | The vertical dpi of the printer |
The horizontal dpi of the printer, which is usually the same as the vertical dpi.
This function can be used to scale printed graphics to a particular physical size.
'get the dpi of a printer dpi = WinXPrint_DevUnitsPerInch (hPrinter, @w, @h) |