]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/help/ref-page_log.html
Load cups into easysw/current.
[thirdparty/cups.git] / doc / help / ref-page_log.html
CommitLineData
ef416fc2 1<HTML>
2<!-- SECTION: References -->
3<HEAD>
4 <TITLE>page_log</TITLE>
5</HEAD>
6<BODY>
7
8<P>The <VAR>page_log</VAR> file lists each page that is sent to a
9printer. Each line contains the following information:</P>
10
11<P CLASS="command">
12
13printer user job-id date-time page-number num-copies job-billing<BR>
14
15<BR>
16
17DeskJet root 2 [20/May/1999:19:21:05 +0000] 1 1 acme-123<BR>
18
19DeskJet root 2 [20/May/1999:19:21:05 +0000] 2 1 acme-123<BR>
20
21</P>
22
23<P>The <I>printer</I> field contains the name of the printer that
24printed the page. If you send a job to a printer class, this
25field will contain the name of the printer that was assigned the
26job.</P>
27
28<P>The <I>user</I> field contains the name of the user (the IPP
29<CODE>requesting-user-name</CODE> attribute) that submitted this
30file for printing.</P>
31
32<P>The <I>job-id</I> field contains the job number of the page
33being printed. Job numbers are reset to 1 whenever the spool
34directory (<VAR>/var/spool/cups</VAR>) is cleared, so don't
35depend on this number being unique!</P>
36
37<P>The <I>date-time</I> field contains the date and time of when
38the page started printing. The format of this field is identical
39to the <I>data-time</I> field in the <VAR>access_log</VAR>
40file.</P>
41
42<P>The <I>page-number</I> and <I>num-pages</I> fields contain the
43page number and number of copies being printed of that page. For
44printers that cannot produce copies on their own, the
45<I>num-pages</I> field will always be 1.</P>
46
47<P>The <I>job-billing</I> field contains a copy of the
48<CODE>job-billing</CODE> attribute provided with the IPP
49<CODE>Create-Job</CODE> or <CODE>Print-Job</CODE> requests or "-"
50if none was provided.
51
52</BODY>
53</HTML>