Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the deviceName of a printer.
Syntax
public str getPrinter(int number)
Run On
Called
Parameters
- number
Type: int
A value between 1 and the number of available printers.
Return Value
Type: str
The deviceName of the given printer number.
Examples
printJobSettings pjs;
int i;
pjs = new printJobSettings();
i = 1;
while (i<=pjs.GetNumberOfPrinters())
{
print "Printer No. ", i, " is ", pjs.GetPrinter(i);
i++;
}