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:

When the method is executed in a serverExecution method, it returns the list of paper sources for the specified printer attached to the server node. When executed in an application server or standard client, the method returns the list of paper sources for the specified printer attached to the client device.

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.