22 | | # |
23 | | # $Log$ |
24 | | # Revision 1.36 2005/02/20 22:58:55 jalet |
25 | | # Added some informations from RFC3805 and RFC2790 |
26 | | # |
27 | | # Revision 1.35 2005/01/12 22:44:06 jalet |
28 | | # Tried to fix a problem with printers which are slow to pass into printing mode. |
29 | | # |
30 | | # Revision 1.34 2004/11/19 11:57:51 jalet |
31 | | # Modified the SNMP fix as hinted by pysnmp's maintainer |
32 | | # |
33 | | # Revision 1.33 2004/11/19 10:35:37 jalet |
34 | | # Catches TypeMismatchError in SNMP answer handling code |
35 | | # |
36 | | # Revision 1.32 2004/11/16 23:23:40 jalet |
37 | | # Fixed internal PJL handling wrt the 35078 PowerSave mode. |
38 | | # |
39 | | # Revision 1.31 2004/11/01 14:32:26 jalet |
40 | | # Fix for unneeded out of band status in pjl_over_tcp/9100 |
41 | | # |
42 | | # Revision 1.30 2004/10/05 09:21:34 jalet |
43 | | # Removed misleading comments |
44 | | # |
45 | | # Revision 1.29 2004/10/05 09:20:07 jalet |
46 | | # Reduced delay from 2 to 1 seconds in internal SNMP and PJL_over_TCP |
47 | | # handlers |
48 | | # |
49 | | # Revision 1.28 2004/09/27 20:09:30 jalet |
50 | | # Lowered timeout delay for PJL queries |
51 | | # |
52 | | # Revision 1.27 2004/09/27 20:00:35 jalet |
53 | | # Typo |
54 | | # |
55 | | # Revision 1.26 2004/09/27 19:56:27 jalet |
56 | | # Added internal handling for PJL queries over port tcp/9100. Now waits |
57 | | # for printer being idle before asking, just like with SNMP. |
58 | | # |
59 | | # Revision 1.25 2004/09/27 09:21:37 jalet |
60 | | # Now includes printer's hostname in SNMP error messages |
61 | | # |
62 | | # Revision 1.24 2004/09/24 21:19:48 jalet |
63 | | # Did a pass of PyChecker |
64 | | # |
65 | | # Revision 1.23 2004/09/23 19:18:12 jalet |
66 | | # Now loops when the external hardware accounter fails, until it returns a correct value |
67 | | # |
68 | | # Revision 1.22 2004/09/22 19:48:01 jalet |
69 | | # Logs the looping message as debug instead of as info |
70 | | # |
71 | | # Revision 1.21 2004/09/22 19:27:41 jalet |
72 | | # Bad import statement |
73 | | # |
74 | | # Revision 1.20 2004/09/22 19:22:27 jalet |
75 | | # Just loop in case a network error occur |
76 | | # |
77 | | # Revision 1.19 2004/09/22 14:29:01 jalet |
78 | | # Fixed nasty typo |
79 | | # |
80 | | # Revision 1.18 2004/09/21 16:00:46 jalet |
81 | | # More informational messages |
82 | | # |
83 | | # Revision 1.17 2004/09/21 13:42:18 jalet |
84 | | # Typo |
85 | | # |
86 | | # Revision 1.16 2004/09/21 13:30:53 jalet |
87 | | # First try at full SNMP handling from the Python code. |
88 | | # |
89 | | # Revision 1.15 2004/09/14 11:38:59 jalet |
90 | | # Minor fix |
91 | | # |
92 | | # Revision 1.14 2004/09/14 06:53:53 jalet |
93 | | # Small test added |
94 | | # |
95 | | # Revision 1.13 2004/09/13 16:02:45 jalet |
96 | | # Added fix for incorrect job's size when hardware accounting fails |
97 | | # |
98 | | # Revision 1.12 2004/09/06 15:42:34 jalet |
99 | | # Fix missing import statement for the signal module |
100 | | # |
101 | | # Revision 1.11 2004/08/31 23:29:53 jalet |
102 | | # Introduction of the new 'onaccountererror' configuration directive. |
103 | | # Small fix for software accounter's return code which can't be None anymore. |
104 | | # Make software and hardware accounting code look similar : will be factorized |
105 | | # later. |
106 | | # |
107 | | # Revision 1.10 2004/08/27 22:49:04 jalet |
108 | | # No answer from subprocess now is really a fatal error. Waiting for some |
109 | | # time to make this configurable... |
110 | | # |
111 | | # Revision 1.9 2004/08/25 22:34:39 jalet |
112 | | # Now both software and hardware accounting raise an exception when no valid |
113 | | # result can be extracted from the subprocess' output. |
114 | | # Hardware accounting now reads subprocess' output until an integer is read |
115 | | # or data is exhausted : it now behaves just like software accounting in this |
116 | | # aspect. |
117 | | # |
118 | | # Revision 1.8 2004/07/22 22:41:48 jalet |
119 | | # Hardware accounting for LPRng should be OK now. UNTESTED. |
120 | | # |
121 | | # Revision 1.7 2004/07/16 12:22:47 jalet |
122 | | # LPRng support early version |
123 | | # |
124 | | # Revision 1.6 2004/07/01 19:56:42 jalet |
125 | | # Better dispatching of error messages |
126 | | # |
127 | | # Revision 1.5 2004/06/10 22:42:06 jalet |
128 | | # Better messages in logs |
129 | | # |
130 | | # Revision 1.4 2004/05/24 22:45:49 jalet |
131 | | # New 'enforcement' directive added |
132 | | # Polling loop improvements |
133 | | # |
134 | | # Revision 1.3 2004/05/24 14:36:40 jalet |
135 | | # Revert to old polling loop. Will need optimisations |
136 | | # |
137 | | # Revision 1.2 2004/05/18 14:49:22 jalet |
138 | | # Big code changes to completely remove the need for "requester" directives, |
139 | | # jsut use "hardware(... your previous requester directive's content ...)" |
140 | | # |
141 | | # Revision 1.1 2004/05/13 13:59:30 jalet |
142 | | # Code simplifications |
143 | | # |