Changeset 44 for trunk/gui


Ignore:
Timestamp:
Aug 19, 2013, 3:10:23 AM (12 years ago)
Author:
Alex Taylor
Message:

Fixed some minor errors in updating presentation drivers (printerpaks).

Location:
trunk/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/printer/manager/PRINTOOL.VRX

    r43 r44  
    467467
    468468    ppaks.0 = _count
     469
     470    CALL VRMethod 'CN_PRINTERPAKS', 'RemoveRecord', 'All'
    469471    CALL VRMethod 'CN_PRINTERPAKS', 'AddRecordList',, 'Last', 'ppaks.'
    470472
     
    888890LoadSettings: PROCEDURE EXPOSE globals.
    889891
    890     globals.!version = '0.44'
     892    globals.!version = '0.45'
    891893    globals.!copyright = '2013'
    892894
     
    23172319    CALL NLSSetText 'PB_DEVICE_OTHER',    'Caption', 188
    23182320    CALL NLSSetText 'PB_DEVICE_REFRESH',  'Caption', 63
    2319     CALL NLSSetText 'PB_DEVICE_INSTALL',  'Caption', 8
     2321    CALL NLSSetText 'PB_DEVICE_INSTALL',  'Caption', 2
    23202322    CALL NLSSetText 'PB_DEVICE_CANCEL',   'Caption', 3
    23212323
  • trunk/gui/shared/PrManUtl.VRS

    r43 r44  
    237237    IF drv_dir == '' THEN RETURN 0
    238238
    239 
    240239    IF VerifyDriverEAs( driver ) == 0 THEN RETURN 0
    241240
     
    273272    END
    274273
     274    /* If AUXPRINT.PAK exists, copy it as well */
     275    copyfile = drv_dir'\AUXPRINT.PAK'
     276    IF STREAM( copyfile, 'C', 'QUERY EXISTS') <> '' THEN DO
     277        ok = VRCopyFile( copyfile, newdrvdir'\AUXPRINT.PAK'
     278        CALL LINEOUT globals.!log1, ' -' copyfile ':' ok
     279    END
     280
     281    /* Create an EA file if necessary */
    275282    eafile = VRParseFilePath( driver, 'N') || '.EA'
    276     IF \VRFileExists( newdrvdir'\'eafile ) THEN
    277         ADDRESS CMD '@EAUTIL' newdrvdir'\'drv_name ea_file '/s /p 2>NUL 1>NUL'
     283    IF VRFileExists( newdrvdir'\'eafile ) THEN
     284        CALL VRDeleteFile newdrvdir'\'eafile
     285    ADDRESS CMD '@EAUTIL' newdrvdir'\'drv_name newdrvdir'\'eafile '/s /p 2>NUL 1>NUL'
    278286
    279287RETURN 1
Note: See TracChangeset for help on using the changeset viewer.