Changeset 62 for trunk/rexxlib


Ignore:
Timestamp:
Dec 6, 2017, 4:57:03 AM (8 years ago)
Author:
Alex Taylor
Message:

Make and test file updates.

Location:
trunk/rexxlib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/rexxlib/Makefile

    r61 r62  
    11#####
    22# 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.
    37#
    48
  • trunk/rexxlib/rexxcups.c

    r60 r62  
    209209    szStem[ RXSTRLEN(argv[0]) ] = '\0';
    210210
     211//printf("Got parameters.\n");
    211212/* TODO
    212213    // Second argument: server name (optional)
     
    217218*/
    218219    iDests = cupsGetDests( &pDests );
     220//printf("Got dests.\n");
    219221
    220222    if ( iDests && pDests ) {
     
    228230                strcat( szDestInfo, "D");
    229231            WriteStemElement( szStem, i+1, szDestInfo );
     232//printf("%s\n", szStem );
    230233        }
    231234        cupsFreeDests( iDests, pDests );
  • trunk/rexxlib/testlib.cmd

    r60 r62  
    66
    77SAY 'REXX CUPS Library version' RxCupsVersion()
     8CALL RxCupsGetQueues 'dests.'
     9IF CUPSERR <> '' THEN SAY CUPSERR
     10ELSE DO
     11    SAY dests.0 'CUPS printer queues found on localhost:'
     12    DO i = 1 to dests.0
     13        SAY dests.i
     14    END
     15END
    816
     17SAY 'Done.'
    918CALL RxCupsDropFuncs
    1019RETURN 0
Note: See TracChangeset for help on using the changeset viewer.