Changeset 2551
- Timestamp:
- 10/09/05 22:39:06 (19 years ago)
- Location:
- pykota/trunk/docs
- Files:
-
- 12 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/docs/dumpykota.sgml
r2478 r2551 88 88 <para> 89 89 Finally, <command>dumpykota</command>'s functionnality is now also available remotely through 90 the use of the < filename>dumpykota.cgi</filename> <acronym>CGI</acronym> script.90 the use of the <command>dumpykota.cgi</command> <acronym>CGI</acronym> script. 91 91 </para> 92 92 -
pykota/trunk/docs/filterpykota.sgml
r2478 r2551 22 22 A filter is a computer program which takes data in one format as its input, and outputs the 23 23 same data but transformed into another format. <application>CUPS</application> already 24 contains many filters. For example there's one filter named < filename>pstops</filename> which accepts24 contains many filters. For example there's one filter named <command>pstops</command> which accepts 25 25 PostScript data as its input, and, as its name implies, outputs PostScript data too, but after having 26 26 eventually rearranged the pages to fit several pages on a single sheet of paper, or other manipulations … … 29 29 30 30 <para> 31 The < filename>pstops</filename> filter described above is also in charge of doing basic page31 The <command>pstops</command> filter described above is also in charge of doing basic page 32 32 accounting, but <application>PyKota</application> currently doesn't use this facility since it may 33 33 prove to be unreliable depending on the drivers used or if a paper jam occurs for example. … … 36 36 <para> 37 37 So to do its own accounting, <application>PyKota</application> has its own filters, for <application>CUPS</application> 38 it's named < filename>cupspykota</filename>, which is in fact a <application>CUPS</application> backends wrapper.38 it's named <command>cupspykota</command>, which is in fact a <application>CUPS</application> backends wrapper. 39 39 The procedure to plug the correct filter into your printing system is described in the 40 40 <xref linkend="installation" endterm="installation"> chapter. … … 42 42 43 43 <para> 44 Currently with a <application>CUPS</application> internal accounting mechanism, the < filename>pstops</filename>44 Currently with a <application>CUPS</application> internal accounting mechanism, the <command>pstops</command> 45 45 filter can be bypassed. That's why <application>PyKota</application> uses its own backend. 46 The < filename>cupspykota</filename> backend wrapper ensures that jobs can't bypass it, so you can use46 The <command>cupspykota</command> backend wrapper ensures that jobs can't bypass it, so you can use 47 47 any printer with any driver and any command line option, and you can be sure that your 48 48 print job will be correctly accounted for. -
pykota/trunk/docs/installation.sgml
r2478 r2551 606 606 607 607 <para> 608 You can check that all needed software is installed by launching the < filename>checkdeps.py</filename>608 You can check that all needed software is installed by launching the <command>checkdeps.py</command> 609 609 command : 610 610 <screen> … … 771 771 772 772 <para> 773 You just have to create a symbolic link to the < filename>cupspykota</filename>773 You just have to create a symbolic link to the <command>cupspykota</command> 774 774 command in <application>CUPS</application>' backend directory : 775 775 <screen> -
pykota/trunk/docs/introduction.sgml
r2540 r2551 109 109 <listitem> 110 110 <para> 111 A generic <acronym>CUPS</acronym> backend wrapper, named < filename>cupspykota</filename> :111 A generic <acronym>CUPS</acronym> backend wrapper, named <command>cupspykota</command> : 112 112 this software captures all print jobs passing through the print queues it manages, 113 113 and does the accounting and quota checking. It can reject print jobs in a number … … 129 129 <listitem> 130 130 <para> 131 < filename>pkturnkey</filename> : to help you do the initial131 <command>pkturnkey</command> : to help you do the initial 132 132 configuration and database initialization. This command almost transforms <application>PyKota</application> 133 133 into a turn-key solution, hence the name. … … 136 136 <listitem> 137 137 <para> 138 < filename>pkprinters</filename> : to manage printers and printers groups.139 </para> 140 </listitem> 141 <listitem> 142 <para> 143 < filename>edpykota</filename> : to manage users, users groups and quotas.144 </para> 145 </listitem> 146 <listitem> 147 <para> 148 < filename>pkbcodes</filename> : to manage billing codes.149 </para> 150 </listitem> 151 <listitem> 152 <para> 153 < filename>repykota</filename> : to do some basic print quota reporting.154 </para> 155 </listitem> 156 <listitem> 157 <para> 158 < filename>dumpykota</filename> : to dump the database's contents in a portable138 <command>pkprinters</command> : to manage printers and printers groups. 139 </para> 140 </listitem> 141 <listitem> 142 <para> 143 <command>edpykota</command> : to manage users, users groups and quotas. 144 </para> 145 </listitem> 146 <listitem> 147 <para> 148 <command>pkbcodes</command> : to manage billing codes. 149 </para> 150 </listitem> 151 <listitem> 152 <para> 153 <command>repykota</command> : to do some basic print quota reporting. 154 </para> 155 </listitem> 156 <listitem> 157 <para> 158 <command>dumpykota</command> : to dump the database's contents in a portable 159 159 way. This command can be used to export <application>PyKota</application>'s 160 160 datas to third party software, like print log analyzers or spreadsheets, and … … 164 164 <listitem> 165 165 <para> 166 < filename>autopykota</filename> : to automate the creation of user print accounts on166 <command>autopykota</command> : to automate the creation of user print accounts on 167 167 first print. This command is not meant to be used from the command line, but 168 168 instead from <filename>pykota.conf</filename>'s <literal>policy</literal> directive. … … 171 171 <listitem> 172 172 <para> 173 < filename>pykosd</filename> : to display their remaining credits or173 <command>pykosd</command> : to display their remaining credits or 174 174 pages to end users. This is an <acronym>OSD</acronym> <footnote><para>On Screen Display</para></footnote> 175 175 application which works under the X Window system. … … 178 178 <listitem> 179 179 <para> 180 < filename>pykotme</filename> : to give detailed quotes to end users before they print, this way180 <command>pykotme</command> : to give detailed quotes to end users before they print, this way 181 181 they know in advance how much a print job will cost to them and can decide to route it to 182 182 a less costly printer. … … 185 185 <listitem> 186 186 <para> 187 < filename>pkbanner</filename> : to generate dynamic banner pages when printing.187 <command>pkbanner</command> : to generate dynamic banner pages when printing. 188 188 This command is 189 189 not meant to be used from the command line, but … … 195 195 <listitem> 196 196 <para> 197 < filename>warnpykota</filename> : to warn users over quota from time to time, for example197 <command>warnpykota</command> : to warn users over quota from time to time, for example 198 198 from <filename>crontab</filename>. Users are warned while printing in any case, so 199 199 this command is meant to be used as a periodic reminder. … … 202 202 <listitem> 203 203 <para> 204 < filename>pkmail</filename> : to let users obtain their print quota situation by email.204 <command>pkmail</command> : to let users obtain their print quota situation by email. 205 205 In the future other functionnalities will be added. 206 206 This command is not meant to be used from the command line, but … … 220 220 <listitem> 221 221 <para> 222 < filename>printquota.cgi</filename> : to do basic print quota reports like repykota,222 <command>printquota.cgi</command> : to do basic print quota reports like repykota, 223 223 and also to examine the printing history, which is not possible with repykota for now. 224 224 </para> … … 226 226 <listitem> 227 227 <para> 228 < filename>dumpykota.cgi</filename> : identical to the <filename>dumpykota</filename>228 <command>dumpykota.cgi</command> : identical to the <command>dumpykota</command> 229 229 command line tool, but works from within a web browser. 230 230 </para> … … 232 232 <listitem> 233 233 <para> 234 < filename>pykotme.cgi</filename> : identical to the <filename>pykotme</filename>234 <command>pykotme.cgi</command> : identical to the <command>pykotme</command> 235 235 command line tool, but works from within a web browser. 236 236 </para> -
pykota/trunk/docs/pkbcodes.sgml
r2541 r2551 6 6 7 7 <para> 8 Some people like lawyers for example need to be able to invoice their own clients 9 for printouts. To address such needs, <application>CUPS</application> features 10 the possibility to attach a particular billing code to each print job, and of course, 11 <application>PyKota</application> can make use of it. 8 12 </para> 13 14 <para> 15 To use a billing code when printing, you have to pass an additionnal argument to the 16 <command>lp</command> command, for example for a client named <literal>smith</literal> 17 this could be something like : 18 <screen> 19 $ lp -o job-billing=smith the_file_to_print.ps 20 </screen> 21 </para> 22 23 <para> 24 For <application>PyKota</application> to be able to maintain statistics 25 per billing code, you first have to add these billing codes to <application>PyKota</application>'s 26 database. This is the main goal of the <command>pkbcodes</command> command line tool. 27 </para> 28 29 <para> 30 But <command>pkbcodes</command> also allows you to add a textual description to each billing 31 code, to delete them, to reset billing code specific counters, and finally to list 32 existing billing codes. 33 </para> 9 34 10 35 <sect1> … … 12 37 <para> 13 38 <cmdsynopsis> 14 <command>pk mail</command>39 <command>pkbcodes</command> 15 40 <group choice="opt"><arg>-v</arg><arg>--version</arg></group> 16 41 <group choice="opt"><arg>-h</arg><arg>--help</arg></group> -
pykota/trunk/docs/pkmail.sgml
r2147 r2551 1 <!-- $Id :-->1 <!-- $Id$ --> 2 2 3 3 <chapter> -
pykota/trunk/docs/pkprinters.sgml
r2550 r2551 6 6 7 7 <para> 8 < filename>pkprinters</filename> is the preferred tool to manage printers in <application>PyKota</application>.8 <command>pkprinters</command> is the preferred tool to manage printers in <application>PyKota</application>. 9 9 It only manages printers, and do it well. With it you can add or delete printers or printer groups, or modify 10 10 existing printers or printers groups. This is also the tool to use to put printers into one or more printers groups. … … 15 15 is to add into <application>PyKota</application>'s database an entry for each of the print queues on 16 16 which you want to have print quota or accounting. 17 Although the < filename>pkturnkey</filename> command can be used to initialize your database and import18 printers into it, the < filename>pkprinters</filename> command offers additionnal functionnalities17 Although the <command>pkturnkey</command> command can be used to initialize your database and import 18 printers into it, the <command>pkprinters</command> command offers additionnal functionnalities 19 19 like full management of printers. 20 20 </para> -
pykota/trunk/docs/pkturnkey.sgml
r2541 r2551 1 <!-- $Id :-->1 <!-- $Id$ --> 2 2 3 3 <chapter> -
pykota/trunk/docs/pykosd.sgml
r2147 r2551 6 6 7 7 <para> 8 < filename>pykosd</filename> is a graphical <application>X Window</application> application which when launched8 <command>pykosd</command> is a graphical <application>X Window</application> application which when launched 9 9 will display print quota information for the current user. 10 10 </para> 11 11 12 12 <para> 13 Whenever you launch < filename>pykosd</filename>, it will display the current user's print quota13 Whenever you launch <command>pykosd</command>, it will display the current user's print quota 14 14 information in the top-left corner of the screen, above all existing windows, and with 15 15 a transparent background. -
pykota/trunk/docs/pykotme.sgml
r2381 r2551 41 41 <para> 42 42 <command>pykotme</command>'s functionnality is also available through the 43 use of the < filename>pykotme.cgi</filename> <acronym>CGI</acronym> script.44 However without authentication < filename>pykotme.cgi</filename> will only43 use of the <command>pykotme.cgi</command> <acronym>CGI</acronym> script. 44 However without authentication <command>pykotme.cgi</command> will only 45 45 return the print job's size and not its cost, because the cost depends on 46 46 the value of the user's overcharging factor and the printer being used. … … 48 48 obtain the same functionnality with the <acronym>CGI</acronym> script than 49 49 with the command line tool, you must configure your web server to force 50 users to authenticate whevenver they access to < filename>pykotme.cgi</filename>.50 users to authenticate whevenver they access to <command>pykotme.cgi</command>. 51 51 Then they will be able to choose one or more printers (all by default), 52 52 and also to enter their username, -
pykota/trunk/docs/repykota.sgml
r2147 r2551 83 83 <para> 84 84 <application>PyKota</application> also features a CGI script to remotely access 85 to print quota reports with a web browser, it is called < filename>printquota.cgi</filename>85 to print quota reports with a web browser, it is called <command>printquota.cgi</command> 86 86 and you can put it in your web server's <filename>cgi-bin</filename> directory if a web server is installed on 87 87 any machine on which <application>PyKota</application> is also installed and configured … … 97 97 98 98 <para> 99 You can find < filename>printquota.cgi</filename> in the <filename>pykota/cgi-bin</filename>99 You can find <command>printquota.cgi</command> in the <filename>pykota/cgi-bin</filename> 100 100 directory. Here's how to install it, provided that your web server's <filename>cgi-bin</filename> 101 101 directory is <filename>/usr/lib/cgi-bin</filename> : -
pykota/trunk/docs/scripts.sgml
r2147 r2551 28 28 29 29 <para> 30 < filename>waitprinter.sh</filename> can be used to be sure that <application>PyKota</application>30 <command>waitprinter.sh</command> can be used to be sure that <application>PyKota</application> 31 31 waits until no job is being printed, and no paper sheet is travelling inside the printer. 32 32 </para> … … 56 56 57 57 <para> 58 < filename>papwaitprinter.sh</filename> can be used to be sure that <application>PyKota</application>58 <command>papwaitprinter.sh</command> can be used to be sure that <application>PyKota</application> 59 59 waits until no job is being printed, and no paper sheet is travelling inside the printer. 60 60 </para>