Changeset 50 for trunk/gui/printer/cupswiz/cupswiz.VRX
- Timestamp:
- Dec 27, 2014, 6:55:22 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.