Changeset 56 for trunk/gui/printer/manager
- Timestamp:
- Feb 14, 2017, 6:55:44 AM (9 years ago)
- Location:
- trunk/gui/printer/manager
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/printer/manager
-
Property svn:ignore
set to
__out
*.exe
*.EXE
*.hlp
*.HLP
*.msg
*.MSG
*.res
*.RES
-
Property svn:ignore
set to
-
trunk/gui/printer/manager/PRINTOOL.VRP
r51 r56 8 8 VRXWindow: __VREMainWindow,1,506,4095,6697,8046 9 9 VRXWindow: __VRESectionListWindow,1,614,16044,4204,4059 10 VRXWindow: __VREToolsWindow,1,638,14309,54 75,166110 VRXWindow: __VREToolsWindow,1,638,14309,5466,1663 11 11 VRXWindow: __VREWindListWindow,1,4854,16044,3505,4059 12 12 UserFile: 1 -
trunk/gui/printer/manager/PRINTOOL.VRX
r51 r56 236 236 PARSE ARG _host, _dest 237 237 238 IF globals.!programs.!lpadmin == '' THEN DO 239 CALL LINEOUT globals.!log1, 'lpadmin is not available, cannot delete CUPS queue.' 240 RETURN 0 241 END 242 238 243 IF TRANSLATE( _host ) <> 'LOCALHOST' THEN 239 244 del_cmd = globals.!programs.!lpadmin '-h' _host '-x' _dest … … 895 900 LoadSettings: PROCEDURE EXPOSE globals. 896 901 897 globals.!version = '0. 51'898 globals.!copyright = '2013-201 5'902 globals.!version = '0.6' 903 globals.!copyright = '2013-2017' 899 904 900 905 me = VRGet('Application', 'Program') … … 910 915 cupsdrv = STRIP( cupsdrv, 'T', '\') 911 916 globals.!cupsdir = cupsdrv'\cups' 917 IF \VRIsDir( globals.!cupsdir ) THEN DO 918 unixroot = VALUE('UNIXROOT',,'OS2ENVIRONMENT') 919 IF unixroot <> '' THEN 920 globals.!cupsdir = unixroot'\usr' 921 ELSE 922 globals.!cupsdir = cupsdrv'\usr' 923 END 912 924 913 925 /* Get system paths. -
trunk/gui/printer/manager/readme.txt
r54 r56 1 1 PM Printer Manager 2 Version 0. 512 Version 0.6 3 3 4 Printer Manager is a new graphical printer management tool designed to 4 Printer Manager is a new graphical printer management tool designed to 5 5 replace several older, separate programs by integrating their functions 6 6 in one, centralized utility: … … 13 13 14 14 Requirements: 15 - VROBJ.DLL (widely available, included with eCS) 16 - WPTOOLS.DLL (widely available, included with eCS) 17 - PR1UTIL.DLL (widely available, included with eCS 2.x) 18 - VROBJEX.DLL (available from http://trac.netlabs.org/vxapps, 19 included in eCS 2.2) 15 - VROBJ.DLL (widely available) 16 - WPTOOLS.DLL (widely available) 17 - PR1UTIL.DLL (widely available) 18 - VROBJEX.DLL (available from http://trac.netlabs.org/vxapps) 20 19 - RXPRTUTL.DLL (included here) 21 20 … … 35 34 36 35 If the CUPS server (local or remote) requires password authentication for 37 the use of commands like lpadmin, lpinfo, etc. then these programs will 36 the use of commands like lpadmin, lpinfo, etc. then these programs will 38 37 block waiting for a password during various operations. (There doesn't seem 39 38 to be any way to fix this other than replacing the programs entirely... I'm … … 48 47 49 48 PM Printer Manager 50 (C) 2013-201 5Alexander Taylor51 49 (C) 2013-2017 Alexander Taylor 50 52 51 This program is free software; you can redistribute it and/or modify 53 52 it under the terms of the GNU General Public License as published by 54 53 the Free Software Foundation; either version 2 of the License, or 55 54 (at your option) any later version. 56 55 57 56 This program is distributed in the hope that it will be useful, 58 57 but WITHOUT ANY WARRANTY; without even the implied warranty of 59 58 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 60 59 GNU General Public License for more details. 61 60 62 61 You should have received a copy of the GNU General Public License 63 62 along with this program; if not, write to the Free Software 64 63 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 65 64 66 65 Permission is granted for the inclusion of the PM Printer Manager binaries 67 in the eComStation operating system. In this case, the full source code 66 in the eComStation operating system. In this case, the full source code 68 67 need not be included in the OS distribution so long it remains publically 69 68 available through affiliated channels and/or in a location which is clearly 70 69 indicated by the accompanying documentation. 71 70 72 -- 71 -- 73 72 Alex Taylor 74 October 2015 73 February 2017 -
trunk/gui/printer/manager/wpi
-
Property svn:ignore
set to
*.msg
*.MSG
*.wpi
*.WPI
*.exe
*.EXE
-
Property svn:ignore
set to
-
trunk/gui/printer/manager/wpi/makewpi.cmd
r49 r56 19 19 '@wic.exe' pkgname'.wpi -a 1 printman.exe' 20 20 '@wic.exe' pkgname'.wpi -a 1 printmen.msg' 21 '@wic.exe' pkgname'.wpi -a 1 rxprtutl.dll'22 21 '@wic.exe' pkgname'.wpi -a 1 -c.. newprint.ico' 23 22 '@wic.exe' pkgname'.wpi -a 1 -c.. COPYING' 24 23 '@wic.exe' pkgname'.wpi -a 1 -c.. readme.txt' 24 '@wic.exe' pkgname'.wpi -a 2 rxprtutl.dll' 25 25 '@wic.exe' pkgname'.wpi -s' wisname 26 26 CALL ENDLOCAL -
trunk/gui/printer/manager/wpi/printman.wis
r54 r56 12 12 ELSE 13 13 RETURN path'\apps' 14 </REXX> 15 16 <REXX NAME="DefaultPath2"> 17 path = VALUE('OSDIR',,'OS2ENVIRONMENT') 18 IF path == '' THEN path = '?:\OS2' 19 RETURN path 14 20 </REXX> 15 21 … … 54 60 </REXX> 55 61 62 <REXX NAME="ReqDLL"> 63 /* Searches the system LIBPATH for the specified DLL. If not found, 64 * returns the string 'REQUIRES=xxx'. 65 * 66 * Parameters: 67 * dname Name of the DLL to look for (must include extension) 68 * reqpkg Value of REQUIRES string to return if DLL is not found 69 */ 70 CALL RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs' 71 CALL SysLoadFuncs 72 73 PARSE ARG dname reqpkg 74 IF dname == '' THEN RETURN '' 75 76 _bd = SysBootDrive() 77 IF _bd == '' THEN 78 _bd = FILESPEC('DRIVE', VALUE('COMSPEC',,'OS2ENVIRONMENT')) 79 _csys = _bd'\CONFIG.SYS' 80 81 CALL SysFileSearch 'LIBPATH=', _csys, 'match.' 82 DO i = 1 TO match.0 83 PARSE UPPER VAR match.i _lead 'LIBPATH=' _lpath 84 IF (_lead == '') & (_lpath <> '') THEN LEAVE 85 END 86 CALL SETLOCAL 87 _testenv = 'TEST_'dname'_LIBPATH' 88 CALL VALUE _testenv, _lpath, 'OS2ENVIRONMENT' 89 location = SysSearchPath( _testenv, dname ) 90 CALL ENDLOCAL 91 92 IF location == '' THEN DO 93 CALL WirexxPutEnv dname, '0' 94 IF reqpkg <> '' THEN 95 RETURN 'REQUIRES='reqpkg 96 END 97 98 CALL WirexxPutEnv dname, '1' 99 RETURN '' 100 </REXX> 101 102 <REXX NAME="ConditionalTitle"> 103 PARSE ARG dllname title 104 was_found = WirexxGetEnv( dllname ) 105 IF was_found == 1 THEN 106 RETURN '[Already Installed]' title 107 ELSE 108 RETURN title 109 </REXX> 110 111 <REXX NAME="SelectIfRequired"> 112 PARSE ARG dllname 113 was_found = WirexxGetEnv( dllname ) 114 IF was_found == 1 THEN 115 RETURN '' 116 ELSE 117 RETURN 'SELECT' 118 </REXX> 119 120 56 121 <!-- PACKAGES -----------------------------------------------------------> 57 122 58 123 <PCK INDEX=1 59 PACKAGEID="Alex Taylor\Printer Manager\Program\0\ 5\1"124 PACKAGEID="Alex Taylor\Printer Manager\Program\0\6\0" 60 125 TITLE="Printer Manager (including English language support)" 61 126 TARGET="=("DefaultPath")\printman" … … 67 132 =("CheckDLL PR1UTIL.DLL 0 The runtime library PR1UTIL.DLL was not found on your system. You must install this library in order to use Printer Manager.") 68 133 134 =("ReqDLL RXPRTUTL.DLL 2") 135 69 136 CREATEOBJECT="REPLACE WPProgram|Manage Printers|<WP_PRINTERSFOLDER>|EXENAME=$(1)\printman.exe;PROGTYPE=PM;OBJECTID=<PRINT_MANAGER>;" 70 CREATEOBJECT="REPLACE WPProgram|Install Printer|<WP_PRINTERSFOLDER>|EXENAME=$(1)\printman.exe;PARAMETERS=/create;PROGTYPE=PM;ICONFILE=$(1)\newprint.ico;OBJECTID=< ECS_PRINTGUIDE>;"137 CREATEOBJECT="REPLACE WPProgram|Install Printer|<WP_PRINTERSFOLDER>|EXENAME=$(1)\printman.exe;PARAMETERS=/create;PROGTYPE=PM;ICONFILE=$(1)\newprint.ico;OBJECTID=<WP_PRINTGUIDE>;" 71 138 >This package contains the graphical printer manager along with the English language files.</PCK> 139 140 <PCK INDEX=2 141 PACKAGEID="Alex Taylor\REXX Printer Utilities\Runtime\0\3" 142 TITLE="=("ConditionalTitle RXPRTUTL.DLL REXX Printer Utilities (RXPRTUTL.DLL)")" 143 TARGET="=("DefaultPath2")\dll" 144 =("SelectIfRequired RXPRTUTL.DLL") 145 >This package contains the required library VROBJ.DLL</PCK> 72 146 73 147 </HEAD>
Note:
See TracChangeset
for help on using the changeset viewer.