]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/help/ref-printers-conf.html
Load cups into easysw/current.
[thirdparty/cups.git] / doc / help / ref-printers-conf.html
CommitLineData
ef416fc2 1<HTML>
2<!-- SECTION: References -->
3<HEAD>
4 <TITLE>printers.conf</TITLE>
5</HEAD>
6<BODY>
7
8<P>The CUPS scheduler (cupsd) uses the
9<VAR>/etc/cups/printers.conf</VAR> file to store the list of
10available printers. This file contains only locally defined
11printers, not remote printers that are created automatically via
12browsing. Each directive is listed on a line by itself followed
13by its value. Comments are introduced using the number sign ("#")
14character at the beginning of a line.</P>
15
16<P>While the printer configuration file consists of plain text
17and can be modified using your favorite text editor, you should
480ef0fe 18normally use the <A HREF="man-lpadmin.html">lpadmin(8)</A>
19command, web interface, or any of the available GUIs to manage
20your printers instead. If you do choose to edit this file
21manually, you will need to restart the scheduler to make them
22active.</P>
ef416fc2 23
24
480ef0fe 25<H2 CLASS="title"><A NAME="Accepting">Accepting</A></H2>
ef416fc2 26
480ef0fe 27<H3>Examples</H3>
ef416fc2 28
29<PRE CLASS="command">
480ef0fe 30&lt;Printer name&gt;
31 ...
32 Accepting yes
33&lt;/Printer&gt;
ef416fc2 34</PRE>
35
480ef0fe 36<H3>Description</H3>
ef416fc2 37
38<P>The <CODE>Accepting</CODE> directive defines the initial state
39of the <VAR>printer-is-accepting-jobs</VAR> attribute. This state
40is also set by the <CODE>accept(8)</CODE> and
41<CODE>reject(8)</CODE> commands:</P>
42
43<PRE CLASS="command">
44<KBD>/usr/sbin/accept printername
45/usr/sbin/reject printername</KBD>
46</PRE>
47
48<P>This directive must appear inside a <A
49HREF="#Printer"><CODE>Printer</CODE></A> or <A
50HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 51section.</P>
ef416fc2 52
53
480ef0fe 54<H2 CLASS="title"><A NAME="AllowUser">AllowUser</A></H2>
ef416fc2 55
480ef0fe 56<H3>Examples</H3>
ef416fc2 57
58<PRE CLASS="command">
480ef0fe 59&lt;Printer name&gt;
60 ...
61 AllowUser foo_user
62 AllowUser @bar_group
63&lt;/Printer&gt;
ef416fc2 64</PRE>
65
480ef0fe 66<H3>Description</H3>
ef416fc2 67
68<P>The <CODE>AllowUser</CODE> directive adds a username or group
69name to the <VAR>requesting-user-name-allowed</VAR> attribute
70which can be set by the <CODE>lpadmin(8)</CODE> command:</P>
71
72<PRE CLASS="command">
73<KBD>/usr/sbin/lpadmin -p printername -u allow:foo_user,@bar_group</KBD>
74</PRE>
75
76<P>This directive must appear inside a <A
77HREF="#Printer"><CODE>Printer</CODE></A> or <A
78HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A> directive.
79This directive cannot be used with <A
80HREF="#DenyUser"><CODE>DenyUser</CODE></A>.</P>
81
82
480ef0fe 83<H2 CLASS="title"><A NAME="DefaultPrinter">DefaultPrinter</A></H2>
ef416fc2 84
480ef0fe 85<H3>Examples</H3>
ef416fc2 86
87<PRE CLASS="command">
88&lt;DefaultPrinter name&gt;
480ef0fe 89 ...
ef416fc2 90&lt;/Printer&gt;
91</PRE>
92
480ef0fe 93<H3>Description</H3>
ef416fc2 94
95<P>The <CODE>DefaultPrinter</CODE> directive begins a printer
96definition as the default server destination. The default server
97destination can be set using the <CODE>lpadmin(8)</CODE>
98command:</P>
99
100<PRE CLASS="command">
101<KBD>/usr/sbin/lpadmin -d printername</KBD>
102</PRE>
103
104<P>Note that the server default destination settings can be
105overridden by the user's default destination settings which are
106normally set using the <CODE>lpoptions(1)</CODE> command.</P>
107
108
480ef0fe 109<H2 CLASS="title"><A NAME="DenyUser">DenyUser</A></H2>
ef416fc2 110
480ef0fe 111<H3>Examples</H3>
ef416fc2 112
113<PRE CLASS="command">
480ef0fe 114&lt;Printer name&gt;
115 ...
116 DenyUser foo_user
117 DenyUser @bar_group
118&lt;/Printer&gt;
ef416fc2 119</PRE>
120
480ef0fe 121<H3>Description</H3>
ef416fc2 122
123<P>The <CODE>DenyUser</CODE> directive adds a username or group
124name to the <VAR>requesting-user-name-denied</VAR> attribute
125which can be set by the <CODE>lpadmin(8)</CODE> command:</P>
126
127<PRE CLASS="command">
128<KBD>/usr/sbin/lpadmin -p printername -u deny:foo_user,@bar_group</KBD>
129</PRE>
130
131<P>This directive must appear inside a <A
132HREF="#Printer"><CODE>Printer</CODE></A> or <A
133HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A> directive.
134This directive cannot be used with <A
135HREF="#AllowUser"><CODE>AllowUser</CODE></A></P>
136
137
480ef0fe 138<H2 CLASS="title"><A NAME="DeviceURI">DeviceURI</A></H2>
ef416fc2 139
480ef0fe 140<H3>Examples</H3>
ef416fc2 141
142<PRE CLASS="command">
480ef0fe 143&lt;Printer name&gt;
144 ...
145 DeviceURI socket://foo.bar.com:9100
146&lt;/Printer&gt;
ef416fc2 147</PRE>
148
480ef0fe 149<H3>Description</H3>
ef416fc2 150
151<P>The <CODE>DeviceURI</CODE> directive defines the value of the
152<VAR>device-uri-attribute</VAR> attribute. It is normally set
153using the <CODE>lpadmin(8)</CODE> command:</P>
154
155<PRE CLASS="command">
156<KBD>/usr/sbin/lpadmin -p printername -v device-uri</KBD>
157</PRE>
158
159<P>This directive must appear inside a <A
160HREF="#Printer"><CODE>Printer</CODE></A> or <A
161HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 162section.</P>
ef416fc2 163
164
480ef0fe 165<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2</SPAN><A NAME="ErrorPolicy">ErrorPolicy</A></H2>
ef416fc2 166
480ef0fe 167<H3>Examples</H3>
ef416fc2 168
169<PRE CLASS="command">
480ef0fe 170&lt;Printer name&gt;
171 ...
172 ErrorPolicy cancel-job
173&lt;/Printer&gt;
ef416fc2 174</PRE>
175
480ef0fe 176<H3>Description</H3>
ef416fc2 177
178<P>The <CODE>ErrorPolicy</CODE> directive defines the policy that
179is used when a backend is unable to send a print job to the
180printer. The <CODE>lpadmin(8)</CODE> command sets the current
181error policy:</P>
182
183<PRE CLASS="command">
184<KBD>/usr/sbin/lpadmin -p printername -o printer-error-policy=stop-printer</KBD>
185</PRE>
186
187<P>The following values are supported:</P>
188
189<UL>
190
191 <LI><CODE>cancel-job</CODE> - Cancel the job and proceed
192 with the next job in the queue</LI>
193
194 <LI><CODE>retry-job</CODE> - Retry the job after waiting
195 for N seconds; the <VAR>cupsd.conf</VAR> <A
4744bd90 196 HREF="ref-cupsd-conf.html#JobRetryInterval"><CODE>JobRetryInterval</CODE></A>
ef416fc2 197 directive controls the value of N</LI>
198
199 <LI><CODE>stop-printer</CODE> - Stop the printer and keep
200 the job for future printing; this is the default
201 value</LI>
202
203</UL>
204
205<P>This directive must appear inside a <A
206HREF="#Printer"><CODE>Printer</CODE></A> or <A
207HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 208section.</P>
ef416fc2 209
210
480ef0fe 211<H2 CLASS="title"><A NAME="Info">Info</A></H2>
ef416fc2 212
480ef0fe 213<H3>Examples</H3>
ef416fc2 214
215<PRE CLASS="command">
480ef0fe 216&lt;Printer name&gt;
217 ...
218 Info My Printer
219&lt;/Printer&gt;
ef416fc2 220</PRE>
221
480ef0fe 222<H3>Description</H3>
ef416fc2 223
224<P>The <CODE>Info</CODE> directive defines the string for the
225<VAR>printer-info</VAR> attribute. It is normally set using the
226<CODE>lpadmin(8)</CODE> command:</P>
227
228<PRE CLASS="command">
229<KBD>/usr/sbin/lpadmin -p printername -D "My Printer"</KBD>
230</PRE>
231
232<P>This directive must appear inside a <A
233HREF="#Printer"><CODE>Printer</CODE></A> or <A
234HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 235section.</P>
ef416fc2 236
237
480ef0fe 238<H2 CLASS="title"><A NAME="JobSheets">JobSheets</A></H2>
ef416fc2 239
480ef0fe 240<H3>Examples</H3>
ef416fc2 241
242<PRE CLASS="command">
480ef0fe 243&lt;Printer name&gt;
244 ...
245 JobSheets none,standard
246&lt;/Printer&gt;
ef416fc2 247</PRE>
248
480ef0fe 249<H3>Description</H3>
ef416fc2 250
251<P>The <CODE>JobSheets</CODE> directive specifies the default
252banner pages to print before and after a print job. In the above
253example, only a <VAR>standard</VAR> banner will print after each
254job. The <CODE>lpadmin(8)</CODE> command is normally used to set
255the default banners:
256
257<PRE CLASS="command">
258<KBD>/usr/sbin/lpadmin -p printername -o job-sheets-default=none,standard</KBD>
259</PRE>
260
261<P>If only one banner file is specified, it will be printed
262before the files in the job. If a second banner file is
263specified, it is printed after the files in the job.</P>
264
265<P>The available banner pages depend on the local system
266configuration; CUPS includes the following standard banner
267files:</P>
268
269<UL>
270
271 <LI><CODE>none</CODE> - Do not produce a banner
272 page.</LI>
273
274 <LI><CODE>classified</CODE> - A banner page with a
275 &quot;classified&quot; label at the top and bottom.</LI>
276
277 <LI><CODE>confidential</CODE> - A banner page with a
278 &quot;confidential&quot; label at the top and bottom.</LI>
279
280 <LI><CODE>secret</CODE> - A banner page with a
281 &quot;secret&quot; label at the top and bottom.</LI>
282
283 <LI><CODE>standard</CODE> - A banner page with no label
284 at the top and bottom.</LI>
285
286 <LI><CODE>topsecret</CODE> - A banner page with a
287 &quot;top secret&quot; label at the top and bottom.</LI>
288
289 <LI><CODE>unclassified</CODE> - A banner page with an
290 &quot;unclassified&quot; label at the top and bottom.</LI>
291
292</UL>
293
294<P>This directive must appear inside a <A
295HREF="#Printer"><CODE>Printer</CODE></A> or <A
296HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 297section.</P>
ef416fc2 298
299
480ef0fe 300<H2 CLASS="title"><A NAME="KLimit">KLimit</A></H2>
ef416fc2 301
480ef0fe 302<H3>Examples</H3>
ef416fc2 303
304<PRE CLASS="command">
480ef0fe 305&lt;Printer name&gt;
306 ...
307 KLimit 1234
308&lt;/Printer&gt;
ef416fc2 309</PRE>
310
480ef0fe 311<H3>Description</H3>
ef416fc2 312
313<P>The <CODE>KLimit</CODE> directive defines the value of the
314<VAR>job-k-limit</VAR> attribute. It is normally set using the
315<CODE>lpadmin(8)</CODE> command:</P>
316
317<PRE CLASS="command">
318<KBD>/usr/sbin/lpadmin -p printername -o job-k-limit=1234</KBD>
319</PRE>
320
321<P>This directive must appear inside a <A
322HREF="#Printer"><CODE>Printer</CODE></A> or <A
323HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 324section.</P>
ef416fc2 325
326
480ef0fe 327<H2 CLASS="title"><A NAME="Location">Location</A></H2>
ef416fc2 328
480ef0fe 329<H3>Examples</H3>
ef416fc2 330
331<PRE CLASS="command">
480ef0fe 332&lt;Printer name&gt;
333 ...
334 Location Building 3321
335&lt;/Printer&gt;
ef416fc2 336</PRE>
337
480ef0fe 338<H3>Description</H3>
ef416fc2 339
340<P>The <CODE>Location</CODE> directive defines the string for the
341<VAR>printer-location</VAR> attribute. It is normally set using the
342<CODE>lpadmin(8)</CODE> command:</P>
343
344<PRE CLASS="command">
345<KBD>/usr/sbin/lpadmin -p printername -L "Building 3321"</KBD>
346</PRE>
347
348<P>This directive must appear inside a <A
349HREF="#Printer"><CODE>Printer</CODE></A> or <A
350HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 351section.</P>
ef416fc2 352
353
480ef0fe 354<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2</SPAN><A NAME="OpPolicy">OpPolicy</A></H2>
ef416fc2 355
480ef0fe 356<H3>Examples</H3>
ef416fc2 357
358<PRE CLASS="command">
480ef0fe 359&lt;Printer name&gt;
360 ...
361 OpPolicy default
362&lt;/Printer&gt;
ef416fc2 363</PRE>
364
480ef0fe 365<H3>Description</H3>
ef416fc2 366
367<P>The <CODE>OpPolicy</CODE> directive sets the operation policy
368that is used for the printer. The <CODE>lpadmin(8)</CODE> command
369sets the current operation policy:</P>
370
371<PRE CLASS="command">
372<KBD>/usr/sbin/lpadmin -p printername -o printer-op-policy=default</KBD>
373</PRE>
374
375<P>The default policy is named "default". All policies correspond
376to those defined using the <VAR>cupsd.conf</VAR> <A
4744bd90 377HREF="ref-cupsd-conf.html#Policy"><CODE>Policy</CODE></A>
480ef0fe 378section.</P>
ef416fc2 379
380<P>This directive must appear inside a <A
381HREF="#Printer"><CODE>Printer</CODE></A> or <A
382HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 383section.</P>
ef416fc2 384
385
480ef0fe 386<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2</SPAN><A NAME="Option">Option</A></H2>
ef416fc2 387
480ef0fe 388<H3>Examples</H3>
ef416fc2 389
390<PRE CLASS="command">
480ef0fe 391&lt;Printer name&gt;
392 ...
393 Option name value
394 Option scaling 100
395 Option page-left 72
396&lt;/Printer&gt;
ef416fc2 397</PRE>
398
480ef0fe 399<H3>Description</H3>
400
401<P>The <CODE>Option</CODE> directive specifies a default job
402template attribute value. It is mapped to
403<CODE>name-default</CODE> in the printer attributes and applied
404to jobs as <CODE>name</CODE>.</P>
405
406<P>This directive must appear inside a <A
407HREF="#Printer"><CODE>Printer</CODE></A> or <A
408HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
409section.</P>
410
411
412<H2 CLASS="title"><A NAME="PageLimit">PageLimit</A></H2>
413
414<H3>Examples</H3>
415
416<PRE CLASS="command">
417&lt;Printer name&gt;
418 ...
419 PageLimit 1234
420&lt;/Printer&gt;
421</PRE>
422
423<H3>Description</H3>
ef416fc2 424
425<P>The <CODE>PageLimit</CODE> directive defines the value of the
426<VAR>job-page-limit</VAR> attribute. It can be set using the
427<CODE>lpadmin(8)</CODE> command:</P>
428
429<PRE CLASS="command">
430<KBD>/usr/sbin/lpadmin -p printername -o job-page-limit=1234</KBD>
431</PRE>
432
433<P>This directive must appear inside a <A
434HREF="#Printer"><CODE>Printer</CODE></A> or <A
435HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 436section.</P>
ef416fc2 437
438
480ef0fe 439<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2</SPAN><A NAME="PortMonitor">PortMonitor</A></H2>
ef416fc2 440
480ef0fe 441<H3>Examples</H3>
ef416fc2 442
443<PRE CLASS="command">
480ef0fe 444&lt;Printer name&gt;
445 ...
446 PortMonitor bcp
447&lt;/Printer&gt;
ef416fc2 448</PRE>
449
480ef0fe 450<H3>Description</H3>
ef416fc2 451
452<P>The <CODE>PortMonitor</CODE> directive sets the filter program that
453is used for every print job, typically to encode or package the print
454data in a format acceptable for a particular printer interface. It is
455set using the <CODE>lpadmin(8)</CODE> command:</P>
456
457<PRE CLASS="command">
458<KBD>/usr/sbin/lpadmin -p printername -o port-monitor=tbcp</KBD>
459</PRE>
460
461<P>The following standard port monitors are included with CUPS:</P>
462
463<UL>
464
465 <LI><CODE>bcp</CODE> - Encode PostScript print data using
466 the Adobe Binary Control Protocol (BCP)</LI>
467
468 <LI><CODE>none</CODE> - Do not use a port monitor</LI>
469
470 <LI><CODE>tbcp</CODE> - Encode PostScript print data
471 using the Adobe Tagged Binary Control Protocol
472 (TBCP)</LI>
473
474</UL>
475
476<P>This directive must appear inside a <A
477HREF="#Printer"><CODE>Printer</CODE></A> or <A
478HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 479section.</P>
ef416fc2 480
481
480ef0fe 482<H2 CLASS="title"><A NAME="Printer">Printer</A></H2>
ef416fc2 483
480ef0fe 484<H3>Examples</H3>
ef416fc2 485
486<PRE CLASS="command">
487&lt;Printer name&gt;
480ef0fe 488 ...
ef416fc2 489&lt;/Printer&gt;
490</PRE>
491
480ef0fe 492<H3>Description</H3>
ef416fc2 493
494<P>The <CODE>Printer</CODE> directive begins a printer
495definition. Printers are added using the <CODE>lpadmin(8)</CODE>
496command:
497
498<PRE CLASS="command">
499<KBD>/usr/sbin/lpadmin -p printername ...</KBD>
500</PRE>
501
502
480ef0fe 503<H2 CLASS="title"><A NAME="QuotaPeriod">QuotaPeriod</A></H2>
ef416fc2 504
480ef0fe 505<H3>Examples</H3>
ef416fc2 506
507<PRE CLASS="command">
480ef0fe 508&lt;Printer name&gt;
509 ...
510 QuotaPeriod 604800
511&lt;/Printer&gt;
ef416fc2 512</PRE>
513
480ef0fe 514<H3>Description</H3>
ef416fc2 515
516<P>The <CODE>QuotaPeriod</CODE> directive defines the value of
517the <VAR>job-quota-period</VAR> attribute. Typical values are
51886400 (1 day), 604800 (1 week), 2592000 (1 month), and 31536000
519(1 year). It is set using the <CODE>lpadmin(8)</CODE>
520command:</P>
521
522<PRE CLASS="command">
523<KBD>/usr/sbin/lpadmin -p printername -o job-quota-period=604800</KBD>
524</PRE>
525
526<P>This directive must appear inside a <A
527HREF="#Printer"><CODE>Printer</CODE></A> or <A
528HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 529section.</P>
ef416fc2 530
531
480ef0fe 532<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2</SPAN><A NAME="Shared">Shared</A></H2>
ef416fc2 533
480ef0fe 534<H3>Examples</H3>
ef416fc2 535
536<PRE CLASS="command">
480ef0fe 537&lt;Printer name&gt;
538 ...
539 Shared yes
540&lt;/Printer&gt;
ef416fc2 541</PRE>
542
480ef0fe 543<H3>Description</H3>
ef416fc2 544
545<P>The <CODE>Shared</CODE> directive defines the initial value of
546the <VAR>printer-is-shared</VAR> attribute. The strings
547<VAR>yes</VAR> and <VAR>no</VAR> correspond to the true and false
548values, respectively. The <CODE>lpadmin(8)</CODE> command sets
549the current state:</P>
550
551<PRE CLASS="command">
552<KBD>/usr/sbin/lpadmin -p printername -o printer-is-shared=true</KBD>
553</PRE>
554
555<P>This directive must appear inside a <A
556HREF="#Printer"><CODE>Printer</CODE></A> or <A
557HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 558section.</P>
ef416fc2 559
560
480ef0fe 561<H2 CLASS="title"><A NAME="State">State</A></H2>
ef416fc2 562
480ef0fe 563<H3>Examples</H3>
ef416fc2 564
565<PRE CLASS="command">
480ef0fe 566&lt;Printer name&gt;
567 ...
568 State idle
569&lt;/Printer&gt;
ef416fc2 570</PRE>
571
480ef0fe 572<H3>Description</H3>
ef416fc2 573
574<P>The <CODE>State</CODE> directive defines the initial value of
575the <VAR>printer-state</VAR> attribute. The strings
576<VAR>idle</VAR> and <VAR>stopped</VAR> correspond to the IPP
577enumeration values 3 and 5, respectively. The
578<CODE>cupsenable(8)</CODE> and <CODE>cupsdisable(8)</CODE>
579commands set the current state:</P>
580
581<PRE CLASS="command">
582<KBD>/usr/sbin/cupsenable printername</KBD>
583<KBD>/usr/sbin/cupsdisable printername</KBD>
584</PRE>
585
586<P>This directive must appear inside a <A
587HREF="#Printer"><CODE>Printer</CODE></A> or <A
588HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 589section.</P>
ef416fc2 590
591
480ef0fe 592<H2 CLASS="title"><A NAME="StateMessage">StateMessage</A></H2>
ef416fc2 593
480ef0fe 594<H3>Examples</H3>
ef416fc2 595
596<PRE CLASS="command">
480ef0fe 597&lt;Printer name&gt;
598 ...
599 StateMessage Ready to print.
600&lt;/Printer&gt;
ef416fc2 601</PRE>
602
480ef0fe 603<H3>Description</H3>
ef416fc2 604
605<P>The <CODE>StateMessage</CODE> directive defines the initial
606string for the <VAR>printer-state-message</VAR> attribute. The
607following are some example messages:</P>
608
609<PRE CLASS="command">
610StateMessage Connected to host_name...
611StateMessage Connecting to printer_queue on port port_number...
612StateMessage Network host host_name is busy; will retry in 30 seconds...
613StateMessage Printer busy; will retry in 10 seconds...
614StateMessage Printer is busy; retrying print job...
615StateMessage Print file accepted - job ID id_number.
616StateMessage Ready to print.
617StateMessage Waiting for job to complete
618</PRE>
619
620<P>This directive must appear inside a <A
621HREF="#Printer"><CODE>Printer</CODE></A> or <A
622HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 623section.</P>
ef416fc2 624
625
480ef0fe 626<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.2</SPAN><A NAME="StateTime">StateTime</A></H2>
ef416fc2 627
480ef0fe 628<H3>Examples</H3>
ef416fc2 629
630<PRE CLASS="command">
480ef0fe 631&lt;Printer name&gt;
632 ...
633 StateTime 1133542425
634&lt;/Printer&gt;
ef416fc2 635</PRE>
636
480ef0fe 637<H3>Description</H3>
ef416fc2 638
639<P>The <CODE>StateTime</CODE> directive defines the UNIX time
640(seconds since Jan 1, 1970) for the last state change of the
641queue. It is mapped to the <VAR>printer-state-change-time</VAR>
642attribute.</P>
643
644<P>This directive must appear inside a <A
645HREF="#Printer"><CODE>Printer</CODE></A> or <A
646HREF="#DefaultPrinter"><CODE>DefaultPrinter</CODE></A>
480ef0fe 647section.</P>
ef416fc2 648
649
650</BODY>
651</HTML>