PrinterSetup.MaximumVerticalResolution
From Xojo Documentation
Property (As Integer )
aPrinterSetup.MaximumVerticalResolution = newIntegerValue
or
IntegerValue = aPrinterSetup.MaximumVerticalResolution
New in 2019r2
Supported for all project types and targets.
or
IntegerValue = aPrinterSetup.MaximumVerticalResolution
New in 2019r2
Supported for all project types and targets.
Set to the maximum vertical resolution at which you wish to print. The default value is 72.
Notes
You can change it to the maximum printer resolution you're prepared to handle or -1 for the highest possible resolution of the output device. After calling ShowPageSetupDialog, OpenPrinter, or ShowPrinterDialog, the VerticalResolution property will automatically be set to the highest resolution supported by the printer driver, within your specified constraints, although this may be less than what you have specified. Printing occurs at VerticalResolution, so you should always check and use that value after setting this value.
Example
This example sets the MaximumVerticalResolution and MaximumHorizontalResolution properties.