Command: PrinterPaperSizeSet
- Updated2024-09-12
- 4 minute(s) read
Command: PrinterPaperSizeSet
Command: PrinterPaperSizeSet
Specifies the paper format of the printer.
Input Parameters
![]() |
Specifies the paper format.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
Specifies the name of the enabled printer. If you do not specify the PrinterName variable, DIAdem uses the current default printer.
The name PrintName is obsolete. Use PrinterName instead. Example
Select interactively the printer you want and specify the variable PrinterName:
|
Return Parameters
![]() |
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.
|