DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Command: PrinterPaperSizeSet

Display all  Hide all

Command: PrinterPaperSizeSet

Specifies the paper format of the printer.

ReturnValue = PrinterPaperSizeSet(PrinterPaperSizes, [PrinterName])

Input Parameters

PrinterPaperSizes Specifies the paper format.
[PrinterName] Specifies the name of the enabled printer. If you do not specify the PrinterName variable, DIAdem uses the current default printer.

Return Parameters

ReturnValue Specifies the paper format. The return value is a PrinterPaperSizes type. If DIAdem returns an empty string, an error occurred. An error can occur, for example, when the printer name is not specified.
Was this information helpful?