Name and properties of default printerΒΆ
DefaultPrinter() |
Return name and properties of default printer |
SYNTAX
DefaultPrinter(properties)
Returns the name of the system default printer in printer_name, and the values of its properties in the field properties, which should be an alphanumeric array.
Each element of the array stores a specific property. The properties are listed in <printer.h> (prefix PP_ ) together with the index value of the element that stores each property. They are explained in the documentation for the SetPrintProperty() function. Note that new properties may be added in the future.
EXAMPLE
!temp DefPrinter,,a30
!temp Properties,,a30[50]
DefPrinter = DefaultPrinter(Properties)
RELATED TOPICS |