]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/help/ref-page_log.html
Merge changes from CUPS 1.4svn-r7874.
[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
01ce6322 9printer. By default, each line contains the following information:</P>
ef416fc2 10
11<P CLASS="command">
12
01ce6322 13printer user job-id date-time page-number num-copies job-billing job-originating-host-name job-name media sides<BR>
ef416fc2 14
15<BR>
16
01ce6322 17DeskJet root 2 [20/May/1999:19:21:05 +0000] 1 1 acme-123 localhost myjob letter one-sided<BR>
ef416fc2 18
01ce6322 19DeskJet root 2 [20/May/1999:19:21:05 +0000] 2 1 acme-123 localhost myjob letter one-sided<BR>
ef416fc2 20
21</P>
22
01ce6322
MS
23<p>The <a href="ref-cupsd_conf.html#PageLogFormat"><code>PageLogFormat</code></a>
24directive can be used to change this information.</p>
25
ef416fc2 26<P>The <I>printer</I> field contains the name of the printer that
27printed the page. If you send a job to a printer class, this
28field will contain the name of the printer that was assigned the
29job.</P>
30
31<P>The <I>user</I> field contains the name of the user (the IPP
32<CODE>requesting-user-name</CODE> attribute) that submitted this
33file for printing.</P>
34
35<P>The <I>job-id</I> field contains the job number of the page
36being printed. Job numbers are reset to 1 whenever the spool
37directory (<VAR>/var/spool/cups</VAR>) is cleared, so don't
38depend on this number being unique!</P>
39
40<P>The <I>date-time</I> field contains the date and time of when
41the page started printing. The format of this field is identical
42to the <I>data-time</I> field in the <VAR>access_log</VAR>
43file.</P>
44
45<P>The <I>page-number</I> and <I>num-pages</I> fields contain the
46page number and number of copies being printed of that page. For
47printers that cannot produce copies on their own, the
48<I>num-pages</I> field will always be 1.</P>
49
50<P>The <I>job-billing</I> field contains a copy of the
51<CODE>job-billing</CODE> attribute provided with the IPP
52<CODE>Create-Job</CODE> or <CODE>Print-Job</CODE> requests or "-"
53if none was provided.
54
01ce6322
MS
55<P>The <I>job-originating-host-name</I> field contains the hostname or IP
56address of the client that printed the job.</P>
57
58<P>The <I>job-name</I> field contains a copy of the
59<CODE>job-name</CODE> attribute provided with the IPP
60<CODE>Create-Job</CODE> or <CODE>Print-Job</CODE> requests or "-"
61if none was provided.
62
63<P>The <I>media</I> field contains a copy of the
64<CODE>media</CODE> attribute provided with the IPP
65<CODE>Create-Job</CODE> or <CODE>Print-Job</CODE> requests or "-"
66if none was provided.
67
68<P>The <I>sides</I> field contains a copy of the
69<CODE>sides</CODE> attribute provided with the IPP
70<CODE>Create-Job</CODE> or <CODE>Print-Job</CODE> requests or "-"
71if none was provided.
72
ef416fc2 73</BODY>
74</HTML>