Returning the name and number of print binsΒΆ
GetPrintBins() |
Return name and number of print bins |
SYNTAX
GetPrintBins(printer_name, bin_names)
Returns the number of bins available for the printer printer_name. The printer_name may be obtained by the SelectPrinter() or EnumPrinters() functions.
The names of the bins are stored in bin_names, which should be an alphanumeric array field. The maximum length of a bin name is 24 characters.
EXAMPLE
!temp NumBins,,u1
!temp Printer,,a30
!temp BinNames,,a24[30]
!temp Properties,,a30[50]
Printer = SelectPrinter(Properties)
NumBins = GetPrintBins(Printer, BinNames)
RELATED TOPICS |