Returning printer propertiesΒΆ
GetPrintProperties() |
Return properties of a printer |
SYNTAX
GetPrintProperties(printer_name, properties)
Returns the number of properties which were found for the printer specified in printer_name. The values of the properties are stored 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 which stores each property. They are explained in the documentation for the SetPrintProperty() function. Note that new properties may be added in the future.
EXAMPLE
NumProps = GetPrintProperties(Printer, PropVals)
RELATED TOPICS |