Setting paper size options

 

You can set the paper size to be used by the current printer. You can specify standard or custom sizes.

To find out what standard paper sizes are supported by the current printer:

· Use the GetStandardPaperSizes transaction.

To use a standard paper size:

· Specify its ID (one of the values returned by GetStandardPaperSizes) in the SetStandardPaperSize transaction.

You may want to use custom paper sizes instead. To do this, set the printer tray to custom by using SetStandardPaperSize or by physically changing the printer settings, and use the SetPrinterPaperSize transaction to set the paper to the proper custom size.

To set a custom paper size:

· Use the SetPrinterPaperSize transaction.

To reset the paper size back to the default size:

· Use the ResetPrinterPaperSize transaction.

See also