Product Information > JADE Encyclopaedia of Classes – Volume 2 > Chapter 1 - System Classes > getAllPrinterPaperSources

getAllPrinterPaperSources

getAllPrinterPaperSources(printerName: String;
                          ia:          IntegerArray input;
                          sa: StringArray input): Integer updating;

The getAllPrinterPaperSources method of the Printer class populates integer and string arrays with the numbers and names, respectively, of the paper sources available for the printer specified in the printerName parameter.

The return value represents the number of paper sources for the specified printer.

In JADE thin client mode, this method returns:

This method has no impact on the Printer object that is used to call the method.

For details about returning the valid paper sources for the current printer device, see the Printer class getAllPaperSources method.