Ignore:
Timestamp:
Feb 13, 2017, 12:52:19 PM (9 years ago)
Author:
Alex Taylor
Message:

Fix bad return value from PrinterExistsInDRV, more logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/printer/cupswiz/cupswiz.VRX

    r54 r55  
    393393    /* Create the CUPS printer */
    394394    IF globals.!remotecups == '' THEN DO
     395        CALL LINEOUT globals.!log1, 'No local printer, creating remote CUPS printer'
    395396        ok = CreateCupsPrinter()
    396397        IF ok <> 0 THEN
     
    400401    /* Now create the OS/2 printer object */
    401402    IF create_os2 == 1 & globals.!os2driver <> '' THEN DO
     403
     404        CALL LINEOUT globals.!log1, 'Creating OS/2 printer object:'
     405        CALL LINEOUT globals.!log1, 'Mode:  ' globals.!mode
     406        CALL LINEOUT globals.!log1, 'Driver:' globals.!os2driver
     407        CALL LINEOUT globals.!log1, 'Model: ' globals.!prt_nick
    402408
    403409        /* Make sure the presentation driver supports the printer */
     
    405411            /* Always (re)import when a PPD is provided by the user
    406412             */
     413            CALL LINEOUT globals.!log1, 'Importing user-supplied PPD' globals.!prt_ppd
     414
    407415            ok = ImportPPD( globals.!os2driver, globals.!prt_ppd )
    408416            IF ok <> 0 THEN DO
     
    422430        ELSE DO
    423431            drv_model = PrinterExistsInDRV( globals.!os2driver, globals.!prt_nick )
     432            CALL LINEOUT globals.!log1, 'PrinterExistsInDRV(' globals.!os2driver',' globals.!prt_nick '):' drv_model
    424433            IF drv_model == '' THEN DO
    425434                cups_ppd = globals.!prt_ppd
Note: See TracChangeset for help on using the changeset viewer.