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