Changeset 45 for trunk/gui/shared/PrManUtl.VRS
- Timestamp:
- Sep 18, 2013, 1:08:11 AM (12 years ago)
- Author:
- Alex Taylor
- Message:
-
Try to handle mismatched case in model name between DRV and PPD.
- File:
-
- 1 edited
- trunk/gui/shared/PrManUtl.VRS (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/shared/PrManUtl.VRS
r44 r45 292 292 /* Determine if the specified PrinterPak driver already contains support 293 293 * for the specified printer model. 294 (追記) * (追記ここまで) 295 (追記) * If so, return the name of the model as found in the driver (necessary in (追記ここまで) 296 (追記) * order to make sure the correct case is retained, which may be different (追記ここまで) 297 (追記) * from what was requested). Otherwise return ''. (追記ここまで) 294 298 */ 295 299 PrinterExistsInDRV: PROCEDURE EXPOSE globals. … … 312 316 */ 313 317 start = 1 314 found = (削除) 0 (削除ここまで)318 found = (追記) '' (追記ここまで) 315 319 DO WHILE ( found == 0 ) & ( start < total_len ) 316 320 _strend = POS('0'x, exist_models, start ) 317 321 IF _strend == 0 THEN LEAVE 318 _model = (削除) TRANSLATE( SUBSTR( exist_models, start, _strend - start ) (削除ここまで))319 IF (削除) _model (削除ここまで)== printer_name THEN320 found = (削除) 1 (削除ここまで)322 _model = (追記) SUBSTR( exist_models, start, _strend - start (追記ここまで)) 323 IF (追記) TRANSLATE( _model ) (追記ここまで) == printer_name THEN 324 found = (追記) _model (追記ここまで) 321 325 ELSE 322 326 start = _strend + 1
Note:
See TracChangeset
for help on using the changeset viewer.