- Timestamp:
- Feb 13, 2017, 12:52:19 PM (9 years ago)
- Location:
- trunk/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/printer/cupswiz/cupswiz.VRP
r54 r55 7 7 VRXWindow: __VREMainWindow,1,578,2746,5770,9106 8 8 VRXWindow: __VRESectionListWindow,1,650,11900,4529,3891 9 VRXWindow: __VREToolsWindow,1,1650,9973,54 68,16659 VRXWindow: __VREToolsWindow,1,1650,9973,5471,1667 10 10 VRXWindow: __VREWindListWindow,1,5191,11900,2650,3891 11 11 UserFile: 1 -
trunk/gui/printer/cupswiz/cupswiz.VRX
r54 r55 393 393 /* Create the CUPS printer */ 394 394 IF globals.!remotecups == '' THEN DO 395 CALL LINEOUT globals.!log1, 'No local printer, creating remote CUPS printer' 395 396 ok = CreateCupsPrinter() 396 397 IF ok <> 0 THEN … … 400 401 /* Now create the OS/2 printer object */ 401 402 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 402 408 403 409 /* Make sure the presentation driver supports the printer */ … … 405 411 /* Always (re)import when a PPD is provided by the user 406 412 */ 413 CALL LINEOUT globals.!log1, 'Importing user-supplied PPD' globals.!prt_ppd 414 407 415 ok = ImportPPD( globals.!os2driver, globals.!prt_ppd ) 408 416 IF ok <> 0 THEN DO … … 422 430 ELSE DO 423 431 drv_model = PrinterExistsInDRV( globals.!os2driver, globals.!prt_nick ) 432 CALL LINEOUT globals.!log1, 'PrinterExistsInDRV(' globals.!os2driver',' globals.!prt_nick '):' drv_model 424 433 IF drv_model == '' THEN DO 425 434 cups_ppd = globals.!prt_ppd -
trunk/gui/shared/PrintUtl.VRS
r45 r55 189 189 /* ?? TODO: install driver_name if not found (prompt first) ?? */ 190 190 191 IF SysGetEA( printer_drv, '.EXPAND', 'exist_ea') <> 0 THEN RETURN 0191 IF SysGetEA( printer_drv, '.EXPAND', 'exist_ea') <> 0 THEN RETURN '' 192 192 PARSE VAR exist_ea 1 _eatype 3 . 193 IF C2X( _eatype ) <> 'FDFF' THEN RETURN 0193 IF C2X( _eatype ) <> 'FDFF' THEN RETURN '' 194 194 195 195 PARSE VAR exist_ea 3 _ealen 5 exist_models
Note:
See TracChangeset
for help on using the changeset viewer.