Changeset 39 for trunk/gui/shared/PrManUtl.VRS
- Timestamp:
- May 13, 2013, 6:06:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/shared/PrManUtl.VRS
r38 r39 24 24 * - globals.!prdrv: filespec of \OS2\INSTALL\PRDRV.LST 25 25 * - globals.!repository: value indicated by PM_INSTALL->PDR_DIR in OS2.INI 26 * 27 * Arguments: The print driver name without path or extension 26 28 * 27 29 * Returns the path, or '' if not found. Also, 'pmdx' will be 0-9 if the … … 91 93 * Returns the number suffix of the PMDD_* subdirectory name, or '' if either 92 94 * the driver or the index file could not be located. 95 * 96 * Arguments: The print driver name without path or extension 93 97 */ 94 98 GetDriverPMDD: PROCEDURE … … 110 114 /*:VRX LocateDriverFiles 111 115 */ 112 /* Returns: 116 /* Locates the source files for a PostScript-based driver that will be required in 117 * order to import a PPD using PIN. Not to be used with non-PostScript drivers, 118 * since it will fail if PIN or PPDENC are not found. 119 * 120 * Arguments: The print driver name without path or extension 121 * 122 * Returns: 113 123 * 0 - Driver files not found. 114 124 * 1 - Driver files found, path saved in 'driver_path'; 'driver_repo' will be 1 … … 481 491 targetdir = globals.!os2dir'\DLL\'driver 482 492 targetdrv = targetdir'\'driver'.DRV' 493 CALL LINEOUT globals.!log1, 'Installing' driver'.'model 'from' driverfull '(target' targetdrv')' 494 483 495 IF ( VRFileExists( targetdrv ) == 0 ) THEN DO 484 496 CALL VRMkDir targetdir 485 r = Copy DriverToSource( driverfull, targetdir )497 r = CopyPrinterPak( driverfull, targetdir ) 486 498 IF r <> 1 THEN ok = 1 487 499 END
Note:
See TracChangeset
for help on using the changeset viewer.