Changeset 27 for trunk/gui/printer


Ignore:
Timestamp:
Apr 6, 2013, 11:21:51 PM (12 years ago)
Author:
Alex Taylor
Message:

Various minor fixes.

File:
1 edited

Legend:

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

    r24 r27  
    142142    END
    143143
     144    /* Make sure CUPSPORT.EXE is installed.
     145     */
     146    port_exe = SysSearchPath('PATH', 'cupsport.exe')
     147    IF port_exe == '' THEN port_exe = STREAM( DIRECTORY() || '\cupsport.exe', 'C', 'QUERY EXISTS')
     148    IF port_exe == '' THEN DO
     149        CALL VRMessage VRWindow(), NLSGetMessage( 78, 'CUPSPORT.EXE'), NLSGetMessage( 79 ), 'E'
     150        CALL Quit
     151    END
     152
     153    /* Make sure PRNTOBJ.EXE is installed.
     154     */
     155    prntobj_exe = SysSearchPath('PATH', 'prntobj.exe')
     156    IF prntobj_exe == '' THEN prntobj_exe = STREAM( DIRECTORY() || '\prntobj.exe', 'C', 'QUERY EXISTS')
     157    IF prntobj_exe == '' THEN DO
     158        CALL VRMessage VRWindow(), NLSGetMessage( 78, 'PRNTOBJ.EXE'), NLSGetMessage( 79 ), 'E'
     159        CALL Quit
     160    END
     161
    144162RETURN
    145163
     
    276294    END
    277295
    278     /* Create a new CUPS port. */
    279     /* TODO currently this assumes that CUPS.PDR is already installed. */
     296    /* Create a new CUPS port.
     297    */
    280298    port_ok = AddPort_CUPS( port_name, host, printer )
    281299    IF port_ok > 1 THEN
     
    17141732    CALL NLSSetText 'SW_ABOUT',  'Caption', 10                                          /* 10: Product Information */
    17151733    CALL NLSSetText 'DT_ABOUT1', 'Caption', 11                                          /* 11: eCups Printer Install Utility */
    1716     CALL NLSSetText 'DT_ABOUT2', 'Caption', 12, '1.00'                                  /* 12: Version %1 */
     1734    CALL NLSSetText 'DT_ABOUT2', 'Caption', 12, '1.01'                                  /* 12: Version %1 */
    17171735    CALL NLSSetText 'DT_ABOUT3', 'Caption', 13, '2010, 2013'                            /* 13: (C) %1 Alex Taylor */
    17181736    CALL NLSSetText 'PB_ABOUT',  'Caption', 2                                           /* 10: Product Information */
Note: See TracChangeset for help on using the changeset viewer.