root / pykota / trunk / man / pl / pkrefund.1 @ 3069

Revision 3069, 3.5 kB (checked in by jerome, 17 years ago)

Fixed a typo in help : formating ==> formatting

Line 
1.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
2.TH PKREFUND "1" "novembre 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands"
3.SH NOM
4pkrefund \- page de manuel de pkrefund 1.25alpha16_unofficial
5.SH DESCRIPTION
6pkrefund v1.25alpha16_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com
7.PP
8Refunds jobs.
9.PP
10command line usage :
11.IP
12pkrefund [options] [filterexpr]
13.PP
14options :
15.TP
16\fB\-v\fR | \fB\-\-version\fR
17Prints pkrefund's version number then exits.
18.TP
19\fB\-h\fR | \fB\-\-help\fR
20Prints this message then exits.
21.TP
22\fB\-f\fR | \fB\-\-force\fR
23Doesn't ask for confirmation before refunding jobs.
24.TP
25\fB\-r\fR | \fB\-\-reason\fR txt
26Sets textual information to explain the refunding.
27.IP
28Use the filter expressions to extract only parts of the
29datas. Allowed filters are of the form :
30.IP
31key=value
32.IP
33Allowed keys for now are :
34.TP
35username
36User's name
37.TP
38printername
39Printer's name
40.TP
41hostname
42Client's hostname
43.TP
44jobid
45Job's Id
46.TP
47billingcode
48Job's billing code
49.TP
50start
51Job's date of printing
52.TP
53end
54Job's date of printing
55.IP
56Dates formatting with 'start' and 'end' filter keys :
57.IP
58YYYY : year boundaries
59YYYYMM : month boundaries
60YYYYMMDD : day boundaries
61YYYYMMDDhh : hour boundaries
62YYYYMMDDhhmm : minute boundaries
63YYYYMMDDhhmmss : second boundaries
64yesterday[+\-NbDays] : yesterday more or less N days (e.g. : yesterday\-15)
65today[+\-NbDays] : today more or less N days (e.g. : today\-15)
66tomorrow[+\-NbDays] : tomorrow more or less N days (e.g. : tomorrow\-15)
67now[+\-NbDays] : now more or less N days (e.g. now\-15)
68.IP
69\&'now' and 'today' are not exactly the same since today represents the first
70or last second of the day depending on if it's used in a start= or end=
71date expression. The utility to be able to specify dates in the future is
72a question which remains to be answered :\-)
73.IP
74Contrary to other PyKota management tools, wildcard characters are not
75expanded, so you can't use them.
76.PP
77Examples :
78.IP
79\f(CW$ pkrefund jobid=503\fR
80.IP
81This will refund all jobs which Id is 503. BEWARE : installing CUPS
82afresh will reset the first job id at 1. So you probably want to use
83a more precise filter as explained below
84.IP
85\f(CW$ pkrefund --reason "Hardware problem" jobid=503 start=today-7\fR
86.IP
87Refunds all jobs which id is 503 but which were printed during the
88past week. The reason will be marked as being an hardware problem.
89.IP
90\f(CW$ pkrefund --force username=jerome printername=HP2100\fR
91.IP
92Refunds all jobs printed by user jerome on printer HP2100. No
93confirmation will be asked.
94.IP
95\f(CW$ pkrefund --force printername=HP2100 start=200602 end=yesterday\fR
96.IP
97Refunds all jobs printed on printer HP2100 between February 1st 2006
98and yesterday. No confirmation will be asked.
99.PP
100This program is free software; you can redistribute it and/or modify
101it under the terms of the GNU General Public License as published by
102the Free Software Foundation; either version 2 of the License, or
103(at your option) any later version.
104.PP
105This program is distributed in the hope that it will be useful,
106but WITHOUT ANY WARRANTY; without even the implied warranty of
107MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
108GNU General Public License for more details.
109.PP
110You should have received a copy of the GNU General Public License
111along with this program; if not, write to the Free Software
112Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301, USA.
113.PP
114Please report bugs to : Jerome Alet \- alet@librelogiciel.com
Note: See TracBrowser for help on using the browser.