Ignore:
Timestamp:
Feb 20, 2019, 6:27:50 PM (7 years ago)
Author:
Alex Taylor
Message:

CUPSWIZ and PRINTMAN add support for EPSONINK driver.
CUPSWIZ: fixed logic to find model in driver.

Location:
trunk/gui/printer/cupswiz
Files:
3 edited

Legend:

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

    r75 r82  
    66RunDirectory:
    77VRXWindow: __VREMainWindow,1,578,2746,5770,9106
    8 VRXWindow: __VRESectionListWindow,1,711,11900,4529,3891
    9 VRXWindow: __VREToolsWindow,1,1650,9973,5468,1665
     8VRXWindow: __VRESectionListWindow,1,723,11900,4529,3891
     9VRXWindow: __VREToolsWindow,1,1650,9973,5468,1661
    1010VRXWindow: __VREWindListWindow,1,5191,11900,2650,3891
    1111UserFile: 1
  • trunk/gui/printer/cupswiz/cupswiz.VRX

    r75 r82  
    444444                    CALL LINEOUT globals.!log1, 'PPD not found. Looking for model:' globals.!os2driver'.'globals.!prt_nick
    445445            END
    446             drv_model = PrinterExistsInDRV( globals.!os2driver, globals.!prt_nick )
    447             CALL LINEOUT globals.!log1, 'PrinterExistsInDRV(' globals.!os2driver',' globals.!prt_nick '):' drv_model
     446            drv_path = GetDriverSource( globals.!os2driver )
     447            drv_model = PrinterExistsInDRV( drv_path, globals.!prt_nick )
     448            CALL LINEOUT globals.!log1, 'PrinterExistsInDRV(' drv_path',' globals.!prt_nick '):' drv_model
    448449            IF drv_model == '' THEN DO
    449450                IF cups_ppd == '' THEN DO
     
    16861687               WORD( globals.!prt_nick, 1 ) == 'Hewlett-Packard' THEN
    16871688                globals.!os2driver = 'ECUPS-HP'
     1689            ELSE IF TRANSLATE( WORD( globals.!prt_nick, 1 )) == 'Epson' THEN
     1690                globals.!os2driver = 'EPSONINK'
    16881691            ELSE
    16891692                globals.!os2driver = 'ECUPS'
     
    20112014    CALL NLSSetText 'SW_ABOUT',  'Caption', 10                                          /* 10: Product Information */
    20122015    CALL NLSSetText 'DT_ABOUT1', 'Caption', 11                                          /* 11: eCups Printer Install Utility */
    2013     CALL NLSSetText 'DT_ABOUT2', 'Caption', 12, '1.17'                                  /* 12: Version %1 */
     2016    CALL NLSSetText 'DT_ABOUT2', 'Caption', 12, '1.18'                                  /* 12: Version %1 */
    20142017    CALL NLSSetText 'DT_ABOUT3', 'Caption', 13, '2010-2019'                             /* 13: (C) %1 Alex Taylor */
    20152018    CALL NLSSetText 'PB_ABOUT',  'Caption', 2                                           /* 10: Product Information */
  • trunk/gui/printer/cupswiz/readme.1st

    r59 r82  
    5252     - ECUPS.DRV     (eCups driver for Gutenprint and other filter packages)
    5353     - ECUPS-HP.DRV  (eCups driver for HPLIP)
     54     - EPSONINK.DRV  (CUPS driver for EPSONINK)
    5455     - PSPRINT.DRV   (Enhanced OS/2 Postscript driver replacement)
    5556
Note: See TracChangeset for help on using the changeset viewer.