Changeset 1483 for pykota/trunk/docs
- Timestamp:
- 05/18/04 16:49:34 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/docs/scripts.sgml
r1406 r1483 21 21 22 22 <para> 23 When defining an external <literal>requester</literal> for a printer, it is important to wait for the printer being23 When defining an hardware <literal>accounter</literal> for a printer, it is important to wait for the printer being 24 24 <literal>idle</literal> before asking it for its internal page counter, otherwise results could 25 25 be inaccurate. If the printer is asked while the job is still being printed, then the page counter's … … 49 49 50 50 <para> 51 When defining an external <literal>requester</literal> for a printer, it is important to wait for the printer being51 When defining an hardware <literal>accounter</literal> for a printer, it is important to wait for the printer being 52 52 <literal>idle</literal> before asking it for its internal page counter, otherwise results could 53 53 be inaccurate. If the printer is asked while the job is still being printed, then the page counter's … … 92 92 <title>pagecount.pl</title> 93 93 <para> 94 This <application>Perl</application> script can be used in the <literal> requester</literal> directive of <filename>pykota.conf</filename>,94 This <application>Perl</application> script can be used in the <literal>accounter</literal> directive of <filename>pykota.conf</filename>, 95 95 to ask a printer for its internal page counter by sending a specially crafted <acronym>PJL</acronym> job 96 96 to it over the AppSocket protocol, usually on <acronym>TCP</acronym> port 9100. … … 103 103 to be in <literal>idle</literal> state, in something like : 104 104 <screen> 105 requester: external(somewaitscript.sh && pagecount.pl %(printer)s)105 accounter: hardware(somewaitscript.sh && pagecount.pl %(printer)s) 106 106 </screen> 107 107 </para> … … 119 119 120 120 $Log$ 121 Revision 1.2 2004/05/18 14:48:48 jalet 122 Big code changes to completely remove the need for "requester" directives, 123 jsut use "hardware(... your previous requester directive's content ...)" 124 121 125 Revision 1.1 2004/03/16 14:42:31 jalet 122 126 Improved documentation