Changeset 50 for trunk/gui/printer
- Timestamp:
- Dec 27, 2014, 6:55:22 AM (11 years ago)
- Location:
- trunk/gui/printer/cupswiz
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/printer/cupswiz/cupswiz.VRP
r24 r50 1 1 VX-REXX OS/2 V2.14 Build B3 2 2 VRX: cupswiz.VRX 3 MacroPath: VRM: G:\netlabs\svn\ecups\trunk\gui\printer\cupswiz3 MacroPath: VRM:E:\DEVELOPMENT\VXREXX\Projects\cupswiz 4 4 EXEPath: 5 5 RunParameters: 6 6 RunDirectory: 7 7 VRXWindow: __VREMainWindow,1,614,2554,5770,9106 8 VRXWindow: __VRESectionListWindow,1,6 75,11804,4529,38919 VRXWindow: __VREToolsWindow,1,1686,9877, 4968,16698 VRXWindow: __VRESectionListWindow,1,687,11804,4529,3891 9 VRXWindow: __VREToolsWindow,1,1686,9877,5471,1659 10 10 VRXWindow: __VREWindListWindow,1,5228,11804,2650,3891 11 11 UserFile: 1 -
trunk/gui/printer/cupswiz/cupswiz.VRX
r45 r50 561 561 call VRSet window, "Visible", 0 562 562 drop window 563 564 CALL PrintManCheckIn 'CUPSWIZ DONE' 565 563 566 return 0 564 567 … … 1136 1139 globals.!cupsdir = InitArgs.1 1137 1140 ELSE IF InitArgs.i == '/R' THEN DO 1138 say 'remote'1139 1141 globals.!cupsdir = '' 1140 1142 _force_remote = 1 … … 1157 1159 IF VRFileExists( globals.!log2 ) THEN 1158 1160 CALL VRDeleteFile globals.!log2 1161 1162 CALL PrintManCheckIn 'CUPSWIZ INIT' 1159 1163 1160 1164 window = VRWindow() … … 1626 1630 RETURN 1627 1631 1632 /*:VRX PrintManCheckIn 1633 */ 1634 PrintManCheckIn: PROCEDURE 1635 PARSE ARG data 1636 1637 /* This function attempts to report in to Printer Manager (if it's running) 1638 * by using a named pipe. 1639 */ 1640 IF data == '' THEN RETURN 0 1641 1642 npipe = '\PIPE\PRINTMAN' 1643 RC_PIPE_BUSY = '231' 1644 1645 PARSE UPPER VALUE STREAM( npipe, 'C', 'OPEN WRITE') WITH state ':' rc . 1646 IF state <> 'READY' THEN DO 1647 IF rc == RC_PIPE_BUSY THEN 1648 rc = SysWaitNamedPipe( npipe, 0 ) 1649 IF rc <> 0 THEN RETURN 0 1650 END 1651 CALL CHAROUT npipe, data 1652 CALL STREAM npipe, 'C', 'CLOSE' 1653 1654 RETURN 0 1655 1628 1656 /*:VRX PromptForPMName 1629 1657 */ … … 1901 1929 CALL NLSSetText 'DT_ABOUT1', 'Caption', 11 /* 11: eCups Printer Install Utility */ 1902 1930 CALL NLSSetText 'DT_ABOUT2', 'Caption', 12, '1.05' /* 12: Version %1 */ 1903 CALL NLSSetText 'DT_ABOUT3', 'Caption', 13, '2010 , 2013'/* 13: (C) %1 Alex Taylor */1931 CALL NLSSetText 'DT_ABOUT3', 'Caption', 13, '2010-2014' /* 13: (C) %1 Alex Taylor */ 1904 1932 CALL NLSSetText 'PB_ABOUT', 'Caption', 2 /* 10: Product Information */ 1905 1933
Note:
See TracChangeset
for help on using the changeset viewer.