Changeset 3094 for pykota/trunk/man/es

Show
Ignore:
Timestamp:
11/30/06 23:26:47 (18 years ago)
Author:
jerome
Message:

Documented the start= and end= filters for the data dumper.

Location:
pykota/trunk/man/es
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/man/es/dumpykota.1

    r3065 r3094  
    22.TH DUMPYKOTA "1" "novembre 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 dumpykota \- page de manuel de dumpykota 1.25alpha16_unofficial 
     4dumpykota \- page de manuel de dumpykota 1.25alpha18_unofficial 
    55.SH DESCRIPTION 
    6 dumpykota v1.25alpha16_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6dumpykota v1.25alpha18_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88Dumps PyKota database's content. 
     
    8686Client's hostname 
    8787.TP 
     88jobid 
     89Job's Id 
     90.TP 
    8891billingcode 
    8992Job's billing code 
     
    9497end 
    9598Job's date of printing 
     99.IP 
     100Dates formatting with 'start' and 'end' filter keys : 
     101.IP 
     102YYYY : year boundaries 
     103YYYYMM : month boundaries 
     104YYYYMMDD : day boundaries 
     105YYYYMMDDhh : hour boundaries 
     106YYYYMMDDhhmm : minute boundaries 
     107YYYYMMDDhhmmss : second boundaries 
     108yesterday[+\-NbDays] : yesterday more or less N days (e.g. : yesterday\-15) 
     109today[+\-NbDays] : today more or less N days (e.g. : today\-15) 
     110tomorrow[+\-NbDays] : tomorrow more or less N days (e.g. : tomorrow\-15) 
     111now[+\-NbDays] : now more or less N days (e.g. now\-15) 
     112.IP 
     113\&'now' and 'today' are not exactly the same since today represents the first 
     114or last second of the day depending on if it's used in a start= or end= 
     115date expression. The utility to be able to specify dates in the future is 
     116a question which remains to be answered :\-) 
    96117.IP 
    97118Contrary to other PyKota management tools, wildcard characters are not 
  • pykota/trunk/man/es/pkinvoice.1

    r3069 r3094  
    22.TH PKINVOICE "1" "novembre 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 pkinvoice \- page de manuel de pkinvoice 1.25alpha16_unofficial 
     4pkinvoice \- page de manuel de pkinvoice 1.25alpha18_unofficial 
    55.SH DESCRIPTION 
    6 pkinvoice v1.25alpha16_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6pkinvoice v1.25alpha18_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88An invoice generator for PyKota. 
     
    1010command line usage : 
    1111.IP 
    12 pkinvoice [options] user1 user2 ... userN 
     12pkinvoice [options] [filterexpr] 
    1313.PP 
    1414options : 
     
    4949exposed. The default is 0.0, meaning no VAT 
    5050information will be included. 
     51.IP 
     52Use the filter expressions to extract only parts of the 
     53datas. Allowed filters are of the form : 
     54.IP 
     55key=value 
     56.IP 
     57Allowed keys for now are : 
    5158.TP 
    52 \fB\-s\fR | \fB\-\-start\fR date 
    53 Sets the starting date for the print jobs invoiced. 
     59username 
     60User's name 
    5461.TP 
    55 \fB\-e\fR | \fB\-\-end\fR date 
    56 Sets the ending date for the print jobs invoiced. 
     62printername 
     63Printer's name 
     64.TP 
     65hostname 
     66Client's hostname 
     67.TP 
     68jobid 
     69Job's Id 
     70.TP 
     71billingcode 
     72Job's billing code 
     73.TP 
     74start 
     75Job's date of printing 
     76.TP 
     77end 
     78Job's date of printing 
    5779.IP 
    58 user1 through userN can use wildcards if needed. If no user argument is 
    59 used, a wildcard of '*' is assumed, meaning include all users. 
    60 .IP 
    61 Dates formatting with \fB\-\-start\fR and \fB\-\-end\fR : 
     80Dates formatting with 'start' and 'end' filter keys : 
    6281.IP 
    6382YYYY : year boundaries 
     
    7695date expression. The utility to be able to specify dates in the future is 
    7796a question which remains to be answered :\-) 
     97.IP 
     98Contrary to other PyKota management tools, wildcard characters are not 
     99expanded, so you can't use them. 
    78100.PP 
    79101examples : 
    80102.IP 
    81 \f(CW$ pkinvoice --unit EURO --output invoices.pdf --start=now-30\fR 
     103\f(CW$ pkinvoice --unit EURO --output /tmp/invoices.pdf start=now-30\fR 
    82104.IP 
    83105Will generate a PDF document containing invoices for all users 
  • pykota/trunk/man/es/pkrefund.1

    r3069 r3094  
    22.TH PKREFUND "1" "novembre 2006" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 
    33.SH NOM 
    4 pkrefund \- page de manuel de pkrefund 1.25alpha16_unofficial 
     4pkrefund \- page de manuel de pkrefund 1.25alpha18_unofficial 
    55.SH DESCRIPTION 
    6 pkrefund v1.25alpha16_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
     6pkrefund v1.25alpha18_unofficial (c) 2003, 2004, 2005, 2006 Jerome Alet \- alet@librelogiciel.com 
    77.PP 
    88Refunds jobs. 
     
    2525\fB\-r\fR | \fB\-\-reason\fR txt 
    2626Sets textual information to explain the refunding. 
     27.TP 
     28\fB\-l\fR | \fB\-\-logo\fR img 
     29Use the image as the receipt's logo. The logo will 
     30be drawn at the center top of the page. The default 
     31logo is /usr/share/pykota/logos/pykota.jpeg 
     32.TP 
     33\fB\-p\fR | \fB\-\-pagesize\fR sz 
     34Sets sz as the page size. Most well known 
     35page sizes are recognized, like 'A4' or 'Letter' 
     36to name a few. The default size is A4. 
     37.TP 
     38\fB\-n\fR | \fB\-\-number\fR N 
     39Sets the number of the first receipt. This number 
     40will automatically be incremented for each receipt. 
     41.TP 
     42\fB\-o\fR | \fB\-\-output\fR f.pdf 
     43Defines the name of the PDF file which will contain 
     44the receipts. If not set, then no PDF file will 
     45be created. If set to '\-', then \fB\-\-force\fR is assumed, 
     46and the PDF document is sent to standard output. 
     47.TP 
     48\fB\-u\fR | \fB\-\-unit\fR u 
     49Defines the name of the unit to use on the receipts. 
     50The default unit is 'Credits', optionally translated 
     51to your native language if it is supported by PyKota. 
    2752.IP 
    2853Use the filter expressions to extract only parts of the 
     
    77102Examples : 
    78103.IP 
    79 \f(CW$ pkrefund jobid=503\fR 
     104\f(CW$ pkrefund --output /tmp/receipts.pdf jobid=503\fR 
    80105.IP 
    81106This will refund all jobs which Id is 503. BEWARE : installing CUPS 
    82 afresh will reset the first job id at 1. So you probably want to use 
    83 a more precise filter as explained below 
     107afresh will reset the first job id at 1, so you probably want to use 
     108a more precise filter as explained below. A confirmation will 
     109be asked for each job to refund, and a PDF file named /tmp/receipts.pdf 
     110will be created which will contain printable receipts. 
    84111.IP 
    85112\f(CW$ pkrefund --reason "Hardware problem" jobid=503 start=today-7\fR