The GetPrinterNames transaction returns the number of available printers, the current driver, and a list of all printer names available.
Type XTYP_REQUEST
Syntax [GetPrinterNames()]
|
Reply |
Data type |
Meaning |
|
count |
WORD |
number of printer name entries |
|
current |
WORD |
number of the current driver (0-based index) |
|
"printerName" |
name of the printer | |
|
"driverName" |
string |
name of the printer driver |
|
"deviceName" |
string |
device the printer is attached to |
Remarks
printerName, driverName, and deviceName are repeated count times, once for each available printer.
Release information
Added in Release 3.82.
See also