- Timestamp:
- Feb 19, 2023, 2:33:51 AM (3 years ago)
- Location:
- trunk/gui
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/printer/cupswiz/cupswiz.VRP
r96 r97 7 7 VRXWindow: __VREMainWindow,1,650,2746,5770,9106 8 8 VRXWindow: __VRESectionListWindow,1,795,11900,4529,3891 9 VRXWindow: __VREToolsWindow,1,1722,9973,547 7,16599 VRXWindow: __VREToolsWindow,1,1722,9973,5471,1663 10 10 VRXWindow: __VREWindListWindow,1,5264,11900,2650,3891 11 11 UserFile: 1 -
trunk/gui/printer/cupswiz/cupswiz.VRX
r96 r97 2070 2070 CALL NLSSetText 'SW_ABOUT', 'Caption', 10 /* 10: Product Information */ 2071 2071 CALL NLSSetText 'DT_ABOUT1', 'Caption', 11 /* 11: eCups Printer Install Utility */ 2072 CALL NLSSetText 'DT_ABOUT2', 'Caption', 12, '1.2 0' /* 12: Version %1 */2073 CALL NLSSetText 'DT_ABOUT3', 'Caption', 13, '2010-202 0' /* 13: (C) %1 Alex Taylor */2072 CALL NLSSetText 'DT_ABOUT2', 'Caption', 12, '1.21' /* 12: Version %1 */ 2073 CALL NLSSetText 'DT_ABOUT3', 'Caption', 13, '2010-2023' /* 13: (C) %1 Alex Taylor */ 2074 2074 CALL NLSSetText 'PB_ABOUT', 'Caption', 2 /* 10: Product Information */ 2075 2075 -
trunk/gui/printer/cupswiz/cupswiz.txt
r92 r97 1 1 CUPSWIZ - CUPS printer-creation wizard 2 Version 1.2 02 Version 1.21 3 3 4 4 This program is simple graphical front-end for creating CUPS-based printers -
trunk/gui/printer/manager/PRINTOOL.VRP
r94 r97 8 8 VRXWindow: __VREMainWindow,1,1012,4288,6697,8046 9 9 VRXWindow: __VRESectionListWindow,1,1132,16044,4204,4059 10 VRXWindow: __VREToolsWindow,1,1144,14309,54 75,166510 VRXWindow: __VREToolsWindow,1,1144,14309,5466,1667 11 11 VRXWindow: __VREWindListWindow,1,5360,16044,3505,4059 12 12 UserFile: 1 -
trunk/gui/printer/manager/PRINTOOL.VRX
r94 r97 524 524 RETURN _count 525 525 526 /*:VRX GetScalingFactor527 */528 /* Return the UI scaling factor based on the difference between the specified529 * font size and the design-default font size.530 */531 GetScalingFactor: PROCEDURE EXPOSE globals.532 PARSE ARG newSize, orgSize533 534 IF orgSize == '' THEN535 orgSize = globals.!defaultSize536 537 IF newSize < globals.!defaultSize THEN538 newSize = globals.!defaultSize539 540 scaleFactor = newSize / orgSize541 542 RETURN scaleFactor543 544 526 /*:VRX GetShippedDrivers 545 527 */ … … 1359 1341 1360 1342 RETURN ok 1361 1362 /*:VRX ParseFontSize1363 */1364 ParseFontSize: PROCEDURE EXPOSE globals.1365 PARSE ARG font1366 IF font == '' | font == '<default>' THEN1367 RETURN globals.!defaultSize1368 1369 PARSE VAR font _pts'.'.1370 IF _pts < globals.!defaultSize THEN1371 _pts = globals.!defaultSize1372 1373 RETURN _pts1374 1343 1375 1344 /*:VRX PB_ABOUT_OK_Click … … 2281 2250 RETURN 2282 2251 2283 /*:VRX RescaleObject2284 */2285 RescaleObject: PROCEDURE2286 PARSE ARG object, factor, move2287 2288 x = VRGet( object, 'Left')2289 y = VRGet( object, 'Top')2290 w = VRGet( object, 'Width')2291 h = VRGet( object, 'Height')2292 nx = TRUNC( x * factor )2293 ny = TRUNC( y * factor )2294 nw = TRUNC( w * factor )2295 nh = TRUNC( h * factor )2296 2297 /* SAY object ': ('||x','y','w','h') --> ('nx','ny','nw','nh')' */2298 2299 IF move <> 0 THEN DO2300 ok = VRSet( object, 'Left', nx )2301 ok = VRSet( object, 'Top', ny )2302 END2303 ok = VRSet( object, 'Width', nw )2304 ok = VRSet( object, 'Height', nh )2305 2306 RETURN2307 2308 2252 /*:VRX SetDriverList 2309 2253 */ -
trunk/gui/printer/manager/readme.txt
r92 r97 1 1 PM Printer Manager 2 Version 0.8 62 Version 0.87 3 3 4 4 Printer Manager is a new graphical printer management tool designed to … … 47 47 48 48 PM Printer Manager 49 (C) 2013-20 19Alexander Taylor49 (C) 2013-2023 Alexander Taylor 50 50 51 51 This program is free software; you can redistribute it and/or modify … … 71 71 -- 72 72 Alex Taylor 73 February 2019 73 January 2023 -
trunk/gui/printer/manager/wpi/makewpi.cmd
r56 r97 17 17 '@SET PATH='warpin';%PATH%' 18 18 '@SET BEGINLIBPATH='warpin 19 '@wic.exe' pkgname'.wpi -a 1 printman.exe'20 '@wic.exe' pkgname'.wpi -a 1 printmen.msg'19 '@wic.exe' pkgname'.wpi -a 1 -c.. printman.exe' 20 '@wic.exe' pkgname'.wpi -a 1 -c.. printmen.msg' 21 21 '@wic.exe' pkgname'.wpi -a 1 -c.. newprint.ico' 22 22 '@wic.exe' pkgname'.wpi -a 1 -c.. COPYING' -
trunk/gui/printer/manager/wpi/printman.wis
r83 r97 122 122 123 123 <PCK INDEX=1 124 PACKAGEID="Alex Taylor\Printer Manager\Program\0\8\ 5"124 PACKAGEID="Alex Taylor\Printer Manager\Program\0\8\7" 125 125 TITLE="Printer Manager (including English language support)" 126 126 TARGET="=("DefaultPath")\printman" -
trunk/gui/shared/PrManUtl.VRS
r91 r97 229 229 RETURN 0 230 230 231 ADDRESS CMD '@ UNLOCK' driver '2>NUL 1>NUL'232 ADDRESS CMD '@ EAUTIL' driver ea_file '/j /p 2>NUL 1>NUL'231 ADDRESS CMD '@ UNLOCK' driver '2>NUL 1>NUL' 232 ADDRESS CMD '@ EAUTIL' driver ea_file '/j /p 2>NUL 1>NUL' 233 233 END 234 234 RETURN 1 … … 350 350 IF VRFileExists( newdrvdir'\'eafile ) THEN 351 351 CALL VRDeleteFile newdrvdir'\'eafile 352 ADDRESS CMD '@ EAUTIL' newdrvdir'\'drv_name newdrvdir'\'eafile '/s /p 2>NUL 1>NUL'352 ADDRESS CMD '@ EAUTIL' newdrvdir'\'drv_name newdrvdir'\'eafile '/s /p 2>NUL 1>NUL' 353 353 354 354 RETURN 1 … … 1186 1186 RETURN success 1187 1187 1188 1189 /*:VRX GetScalingFactor 1190 */ 1191 /* Return the UI scaling factor based on the difference between the specified 1192 * font size and the design-default font size. 1193 */ 1194 GetScalingFactor: PROCEDURE EXPOSE globals. 1195 PARSE ARG newSize, orgSize 1196 1197 IF orgSize == '' THEN 1198 orgSize = globals.!defaultSize 1199 1200 IF newSize < globals.!defaultSize THEN 1201 newSize = globals.!defaultSize 1202 1203 scaleFactor = newSize / orgSize 1204 1205 RETURN scaleFactor 1206 1207 1208 /*:VRX ParseFontSize 1209 */ 1210 ParseFontSize: PROCEDURE EXPOSE globals. 1211 PARSE ARG font 1212 IF font == '' | font == '<default>' THEN 1213 RETURN globals.!defaultSize 1214 1215 PARSE VAR font _pts'.'. 1216 IF _pts < globals.!defaultSize THEN 1217 _pts = globals.!defaultSize 1218 1219 RETURN _pts 1220 1221 1222 /*:VRX RescaleObject 1223 */ 1224 RescaleObject: PROCEDURE 1225 PARSE ARG object, factor, move 1226 1227 x = VRGet( object, 'Left') 1228 y = VRGet( object, 'Top') 1229 w = VRGet( object, 'Width') 1230 h = VRGet( object, 'Height') 1231 nx = TRUNC( x * factor ) 1232 ny = TRUNC( y * factor ) 1233 nw = TRUNC( w * factor ) 1234 nh = TRUNC( h * factor ) 1235 1236 /* SAY object ': ('||x','y','w','h') --> ('nx','ny','nw','nh')' */ 1237 1238 IF move <> 0 THEN DO 1239 ok = VRSet( object, 'Left', nx ) 1240 ok = VRSet( object, 'Top', ny ) 1241 END 1242 ok = VRSet( object, 'Width', nw ) 1243 ok = VRSet( object, 'Height', nh ) 1244 1245 RETURN 1246 1247 1188 1248 /*:VRX StringTokenize 1189 1249 */ -
trunk/gui/shared/PrintUtl.VRS
r91 r97 17 17 */ 18 18 GetDriverSource: PROCEDURE EXPOSE globals. pmdx 19 /* Can replace with PrManUtl */ 19 20 ARG driver 20 21 IF driver == '' THEN RETURN '' … … 80 81 */ 81 82 GetDriverPMDD: PROCEDURE 83 /* Can remove */ 82 84 PARSE ARG driver, prdrv_lst 83 85 … … 101 103 */ 102 104 VerifyDriverEAs: PROCEDURE EXPOSE globals. 105 /* Can replace with PrManUtl */ 103 106 PARSE ARG driver 104 107 eas.0 = 0 … … 111 114 RETURN 0 112 115 113 ADDRESS CMD '@ UNLOCK' driver '2>NUL 1>NUL'114 ADDRESS CMD '@ EAUTIL' driver ea_file '/j /p 2>NUL 1>NUL'116 ADDRESS CMD '@ UNLOCK' driver '2>NUL 1>NUL' 117 ADDRESS CMD '@ EAUTIL' driver ea_file '/j /p 2>NUL 1>NUL' 115 118 END 116 119 RETURN 1 … … 130 133 */ 131 134 CopyDriverToSource: PROCEDURE EXPOSE globals. 135 /* Can replace with CopyDriverFiles from PrManUtl */ 132 136 PARSE ARG driver, newdrvdir 133 137 … … 716 720 RETURN success 717 721 722 /*:VRX GetScalingFactor 723 */ 724 /* Return the UI scaling factor based on the difference between the specified 725 * font size and the design-default font size. 726 */ 727 GetScalingFactor: PROCEDURE EXPOSE globals. 728 PARSE ARG newSize, orgSize 729 730 IF orgSize == '' THEN 731 orgSize = globals.!defaultSize 732 733 IF newSize < globals.!defaultSize THEN 734 newSize = globals.!defaultSize 735 736 scaleFactor = newSize / orgSize 737 738 RETURN scaleFactor 739 740 /*:VRX ParseFontSize 741 */ 742 ParseFontSize: PROCEDURE EXPOSE globals. 743 PARSE ARG font 744 IF font == '' | font == '<default>' THEN 745 RETURN globals.!defaultSize 746 747 PARSE VAR font _pts'.'. 748 IF _pts < globals.!defaultSize THEN 749 _pts = globals.!defaultSize 750 751 RETURN _pts 752 753 /*:VRX RescaleObject 754 */ 755 RescaleObject: PROCEDURE 756 PARSE ARG object, factor, move 757 758 x = VRGet( object, 'Left') 759 y = VRGet( object, 'Top') 760 w = VRGet( object, 'Width') 761 h = VRGet( object, 'Height') 762 nx = TRUNC( x * factor ) 763 ny = TRUNC( y * factor ) 764 nw = TRUNC( w * factor ) 765 nh = TRUNC( h * factor ) 766 767 /* SAY object ': ('||x','y','w','h') --> ('nx','ny','nw','nh')' */ 768 769 IF move <> 0 THEN DO 770 ok = VRSet( object, 'Left', nx ) 771 ok = VRSet( object, 'Top', ny ) 772 END 773 ok = VRSet( object, 'Width', nw ) 774 ok = VRSet( object, 'Height', nh ) 775 776 RETURN 777
Note:
See TracChangeset
for help on using the changeset viewer.