Stores information about the available paper bins of a printer into an array.
APrinterTrays(cArrayName, cPrinter, cPort)
Parameters
- cArrayName
On return the array contains the following information. Column Content Datatype 1 Name of the printer tray. C 2 Tray ID. N
- cPrinter
Name of the printer for which to enumerate the trays.
- cPort
Name of the port to which the printer is connected.
Return Value
The number of printer trays.
See Also
Reference
APaperSizes
APrinterForms
APrintersEx
APrintJobs
Used WinApi functions
DeviceCapabilities with parameter DC_BINS and DC_BINNAMES