2 <!-- SECTION: References -->
4 <TITLE>page_log
</TITLE>
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>
13 printer user job-id date-time page-number num-copies job-billing job-originating-host-name job-name media sides
<BR>
17 DeskJet root
2 [
20/May/
1999:
19:
21:
05 +
0000]
1 1 acme-
123 localhost myjob letter one-sided
<BR>
19 DeskJet root
2 [
20/May/
1999:
19:
21:
05 +
0000]
2 1 acme-
123 localhost myjob letter one-sided
<BR>
23 <p>The
<a href=
"ref-cupsd_conf.html#PageLogFormat"><code>PageLogFormat
</code></a>
24 directive can be used to change this information.
</p>
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
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>
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>
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>
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>
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
"-"
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>
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
"-"
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
"-"
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
"-"