#g4ggcp_listPrinters
*//////////////////////////////////////////////////////////////*
* #g4ggcp_listPrinters - List GCP Printers *
* *
* Output: *
* out_errMsg - The error message (if error exists). *
* *
* Returns: *
* -1 for error, number of printers retrieved *
* *
* Settable Variables ([r]=required) *
* id - Google ID [r] *
* ccsid - The CCSID to use (1252) *
* debug - Turn on Debug (*NO, *YES) *
* debug_file - The debug file name. *
* (/tmp/g4g_[id]_listPrintersDebug.txt) *
* *
*//////////////////////////////////////////////////////////////*
D #g4ggcp_listPrinters...
D PR 10i 0
D out_errMsg 256 Options(*NOPASS)
#g4ggcp_listPrinters will list available printers and place them in file G4GPRTPF.
Returns: n=number of printers added to file, -1 for error.
Optional Parameters:
- Error Message (output) - Error message
Settable Variables (use #g4ggcp_setValue):
- id (required) - Your Google ID
- ccsid - The CCSID to use. 1252 is the default.
- debug - Specify *YES to turn on debug, or *NO to turn off debug. The default is *NO.
- debug_file - Specify the fully qualified file name for the main debug file. The default is /tmp/g4g_[id]_listPrintersDebug.txt.