6 | | pkrefund v1.27alpha3_BROKEN_unofficial (c) 2003, 2004, 2005, 2006, 2007, 2008 Jerome Alet \- alet@librelogiciel.com |
7 | | .PP |
8 | | Rembourse les travaux d'impression. |
9 | | .PP |
10 | | ligne de commande : |
| 9 | Refunding tool for PyKota. |
| 10 | .SH OPTIONS |
| 11 | .TP |
| 12 | \fB\-h\fR, \fB\-\-help\fR |
| 13 | show this help message and exit. |
| 14 | .TP |
| 15 | \fB\-v\fR, \fB\-\-version\fR |
| 16 | show the version number and exit. |
| 17 | .TP |
| 18 | \fB\-A\fR ARGUMENTSFILE, \fB\-\-arguments\fR=\fIARGUMENTSFILE\fR |
| 19 | loads additional options and arguments from a file, |
| 20 | one per line. |
| 21 | .TP |
| 22 | \fB\-f\fR, \fB\-\-force\fR |
| 23 | Doesn't ask for confirmation before refunding. Only |
| 24 | needed if you specify a filename for the PDF receipts. |
| 25 | If you send such receipts to stdout, \fB\-\-force\fR is |
| 26 | assumed to be set. |
| 27 | .TP |
| 28 | \fB\-i\fR INFO, \fB\-\-info\fR=\fIINFO\fR |
| 29 | The informations to be prepended to the refunding |
| 30 | reason, which can include some of Python's string |
| 31 | interpolations to access to certain internal values. |
| 32 | If you don't want such information, set this |
| 33 | explicitely to an empty string. The default is |
| 34 | \&'''Refunded %(nbpages)i pages and %(nbcredits).3f |
| 35 | credits by %(effectiveuser)s (%(loginname)s) on |
| 36 | %(date)s''' |
| 37 | .TP |
| 38 | \fB\-l\fR LOGO, \fB\-\-logo\fR=\fILOGO\fR |
| 39 | The image to use as a logo. The logo will be drawn at |
| 40 | the center top of the page. The default logo is |
| 41 | /usr/share/pykota/logos/pykota.jpeg. |
| 42 | .TP |
| 43 | \fB\-n\fR NUMBER, \fB\-\-number\fR=\fINUMBER\fR |
| 44 | Sets the number of the first receipt. This number will |
| 45 | automatically be incremented for each receipt. The |
| 46 | default value is 1. |
| 47 | .TP |
| 48 | \fB\-o\fR OUTPUT, \fB\-\-output\fR=\fIOUTPUT\fR |
| 49 | The name of the file to which the PDF receipts will be |
| 50 | written. If not set or set to '\-', the PDF document |
| 51 | will be sent to the standard output, and \fB\-\-force\fR will |
| 52 | be assumed to be set. |
| 53 | .TP |
| 54 | \fB\-p\fR PAGESIZE, \fB\-\-pagesize\fR=\fIPAGESIZE\fR |
| 55 | Set the size of the page. Most well known page sizes |
| 56 | are recognized, like 'A4' or 'Letter' to name a few. |
| 57 | The default page size is A4. |
| 58 | .TP |
| 59 | \fB\-r\fR REASON, \fB\-\-reason\fR=\fIREASON\fR |
| 60 | The reason why there was a refund. |
| 61 | .TP |
| 62 | \fB\-u\fR UNIT, \fB\-\-unit\fR=\fIUNIT\fR |
| 63 | The name of the unit to use on the receipts. The |
| 64 | default value is 'Credits' or its locale translation. |
| 65 | .SS "filtering expressions:" |
12 | | pkrefund [options] [filtres] |
13 | | .PP |
14 | | options : |
15 | | .TP |
16 | | \fB\-v\fR | \fB\-\-version\fR |
17 | | Affiche la version de pkrefund et quitte. |
18 | | .TP |
19 | | \fB\-h\fR | \fB\-\-help\fR |
20 | | Affiche ce message et quitte. |
21 | | .TP |
22 | | \fB\-f\fR | \fB\-\-force\fR |
23 | | Ne demande pas confirmation avant de rembourser |
24 | | les travaux d'impression. |
25 | | .TP |
26 | | \fB\-r\fR | \fB\-\-reason\fR txt |
27 | | Indique la raison du remboursement. |
28 | | .TP |
29 | | \fB\-l\fR | \fB\-\-logo\fR img |
30 | | Utilise cette image comme logo sur les re�. Le |
31 | | logo sera dessin�u centre et en haut de la page. |
32 | | Le logo par d�ut est |
| 67 | Use the filtering expressions to extract only parts of the datas. Allowed |
| 68 | filters are of the form 'key=value'. Wildcards are not expanded as part of |
| 69 | these filtering expressions, so you can't use them here. |
34 | | /usr/share/pykota/logos/pykota.jpeg |
35 | | .TP |
36 | | \fB\-p\fR | \fB\-\-pagesize\fR sz |
37 | | Positionne la taille de page �z. La plupart des |
38 | | tailles standard sont reconnues, comme 'A4' ou 'Letter' |
39 | | par exemple. La taille par d�ut est A4. |
40 | | .TP |
41 | | \fB\-n\fR | \fB\-\-number\fR N |
42 | | Indique le num� du premier re� Ce num� |
43 | | sera automatiquement incr�nt� chaque nouveau re� |
44 | | .TP |
45 | | \fB\-o\fR | \fB\-\-output\fR f.pdf |
46 | | D�nit le nom du fichier PDF qui contiendra les |
47 | | re�. S'il n'est pas pr�s�lors aucun fichier ne |
48 | | sera g�r�Si '\-' est utilis�le fichier PDF sera |
49 | | envoy�ur la sortie standard, et l'option \fB\-\-force\fR |
50 | | sera activ�automatiquement. |
51 | | .TP |
52 | | \fB\-u\fR | \fB\-\-unit\fR u |
53 | | D�nit le nom de l'unit� utiliser sur les re�. |
54 | | Le nom par d�ut est 'Credits', ou sa traduction |
55 | | �ntuelle dans votre langage pr�r�i PyKota |
56 | | le supporte. |
| 71 | allowed keys for now: |
63 | | Les cl�autoris� pour l'instant sont : |
64 | | .TP |
65 | | username |
66 | | Nom de l'utilisateur |
67 | | .TP |
68 | | printername |
69 | | Nom de l'imprimante |
70 | | .TP |
71 | | hostname |
72 | | Nom d'h�de la machine cliente |
73 | | .TP |
74 | | jobid |
75 | | Id du travail d'impression |
76 | | .TP |
77 | | billingcode |
78 | | Code de facturation du travail d'impression |
79 | | .TP |
80 | | start |
81 | | Date du travail d'impression |
82 | | .TP |
83 | | end |
84 | | Date du travail d'impression |
| 83 | YYYY : year boundaries |
| 84 | YYYYMM : month boundaries |
| 85 | YYYYMMDD : day boundaries |
| 86 | YYYYMMDDhh : hour boundaries |
| 87 | YYYYMMDDhhmm : minute boundaries |
| 88 | YYYYMMDDhhmmss : second boundaries |
| 89 | yesterday[+\-N] : yesterday more or less N days (e.g. : yesterday\-15) |
| 90 | today[+\-N] : today more or less N days (e.g. : today\-15) |
| 91 | tomorrow[+\-N] : tomorrow more or less N days (e.g. : tomorrow\-15) |
| 92 | now[+\-N] : now more or less N days (e.g. now\-15) |
120 | | Rembourse tous les travaux dont l'identifiant est 503 et qui ont � |
121 | | imprim�la semaine derni�. La raison indiqu�sera un probl� mat�el. |
122 | | .IP |
123 | | \f(CW$ pkrefund \-\-force username=jerome printername=HP2100\fR |
124 | | .IP |
125 | | Rembourse tous les travaux imprim�par l'utilisateur jerome sur |
126 | | l'imprimante HP2100. Aucune confirmation ne sera demand� |
127 | | .IP |
128 | | \f(CW$ pkrefund \-\-force printername=HP2100 start=200602 end=yesterday\fR |
129 | | .IP |
130 | | Rembourse tous les travaux imprim�sur l'imprimante HP2100 entre le |
131 | | premier F�ier 2006 et hier. Aucune confirmation ne sera demand� |
132 | | .PP |
133 | | (c) 2003, 2004, 2005, 2006, 2007, 2008 Jerome Alet <alet@librelogiciel.com> |
| 121 | (c) 2003\-2009 Jerome Alet \- alet@librelogiciel.com |
136 | | the Free Software Foundation, either version 3 of the License, or |
137 | | (at your option) any later version. |
138 | | .PP |
139 | | This program is distributed in the hope that it will be useful, |
140 | | but WITHOUT ANY WARRANTY; without even the implied warranty of |
141 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
142 | | GNU General Public License for more details. |
143 | | .PP |
| 124 | the Free Software Foundation, either version 3 of the License, or (at |
| 125 | your option) any later version. |
| 126 | .IP |
| 127 | This program is distributed in the hope that it will be useful, but |
| 128 | WITHOUT ANY WARRANTY; without even the implied warranty of |
| 129 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 130 | General Public License for more details. |
| 131 | .IP |