Changeset 62 for trunk/rexxlib
- Timestamp:
- Dec 6, 2017, 4:57:03 AM (8 years ago)
- Location:
- trunk/rexxlib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/rexxlib/Makefile
r61 r62 1 1 ##### 2 2 # Makefile for GCC 3.x/4.x 3 # 4 # NOTE: The kLIBC rexx.lib seems to be broken with respect to the variable 5 # pool interface functions. To build this REXXCUPS, make sure that rexx.lib 6 # from the IBM Toolkit is first in the LIBRARY_PATH. 3 7 # 4 8 -
trunk/rexxlib/rexxcups.c
r60 r62 209 209 szStem[ RXSTRLEN(argv[0]) ] = '\0'; 210 210 211 //printf("Got parameters.\n"); 211 212 /* TODO 212 213 // Second argument: server name (optional) … … 217 218 */ 218 219 iDests = cupsGetDests( &pDests ); 220 //printf("Got dests.\n"); 219 221 220 222 if ( iDests && pDests ) { … … 228 230 strcat( szDestInfo, "D"); 229 231 WriteStemElement( szStem, i+1, szDestInfo ); 232 //printf("%s\n", szStem ); 230 233 } 231 234 cupsFreeDests( iDests, pDests ); -
trunk/rexxlib/testlib.cmd
r60 r62 6 6 7 7 SAY 'REXX CUPS Library version' RxCupsVersion() 8 CALL RxCupsGetQueues 'dests.' 9 IF CUPSERR <> '' THEN SAY CUPSERR 10 ELSE DO 11 SAY dests.0 'CUPS printer queues found on localhost:' 12 DO i = 1 to dests.0 13 SAY dests.i 14 END 15 END 8 16 17 SAY 'Done.' 9 18 CALL RxCupsDropFuncs 10 19 RETURN 0
Note:
See TracChangeset
for help on using the changeset viewer.