Load cups into easysw/current.
[thirdparty/cups.git] / templates / printers.tmpl
1 <P><A HREF="/admin?op=add-printer"><IMG
2 SRC="/images/add-printer.gif" ALT="Add Printer"
3 CLASS="button"></A></P>
4
5 {#printer_name=0?No printers:
6 <P><B>Server Default Destination:</B> {default_name?<A HREF="{default_uri}">{default_name}</A>:none}</P>
7 {[printer_name]
8 <H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>{default_name={printer_name}? (Default Printer):}</H2>
9
10 <TABLE WIDTH="100%" CLASS="button" CELLSPACING="0" CELLPADDING="0">
11 <TR>
12 <TD VALIGN="TOP"><A HREF="{printer_uri_supported}">
13 <IMG SRC="/images/printer-{printer_state=3?idle:{printer_state=4?processing:stopped}}.gif" CLASS="button" ALT=""></A>
14 </TD>
15 <TD VALIGN="TOP">Description: {printer_info}<BR>
16 Location: {printer_location}<BR>
17 Make and Model: {printer_make_and_model}<BR>
18 Printer State: {printer_state=3?idle:{printer_state=4?processing:stopped}},
19 {printer_is_accepting_jobs=0?rejecting jobs:accepting jobs}, {printer_is_shared=0?not:} published.
20 {?printer_state_message=?:<BR><I>"{printer_state_message}"</I>}
21 {?printer_state_history2.printer_state_message=?:<BR><I>"{printer_state_history2.printer_state_message}"</I>}
22 {?printer_state_history3.printer_state_message=?:<BR><I>"{printer_state_history3.printer_state_message}"</I>}
23 {?printer_state_history4.printer_state_message=?:<BR><I>"{printer_state_history4.printer_state_message}"</I>}
24 {?printer_state_history5.printer_state_message=?:<BR><I>"{printer_state_history5.printer_state_message}"</I>}
25 {?device_uri=?:<BR>Device URI: {device_uri}}
26
27 <P>
28 <A HREF="{printer_uri_supported}?op=print-test-page">
29 <IMG SRC="/images/print-test-page.gif" ALT="Print Test Page" CLASS="button"></A>
30 {printer_state=5?
31 <A HREF="{admin_uri}?op=start-printer&amp;printer_name={printer_name}">
32 <IMG SRC="/images/start-printer.gif" ALT="Start Printer" CLASS="button"></A>
33 :
34 <A HREF="{admin_uri}?op=stop-printer&amp;printer_name={printer_name}">
35 <IMG SRC="/images/stop-printer.gif" ALT="Stop Printer" CLASS="button"></A>
36 }
37 {printer_is_accepting_jobs=0?
38 <A HREF="{admin_uri}?op=accept-jobs&amp;printer_name={printer_name}">
39 <IMG SRC="/images/accept-jobs.gif" ALT="Accept Jobs" CLASS="button"></A>
40 :
41 <A HREF="{admin_uri}?op=reject-jobs&amp;printer_name={printer_name}">
42 <IMG SRC="/images/reject-jobs.gif" ALT="Reject Jobs" CLASS="button"></A>
43 }
44 <A HREF="{admin_uri}?op=purge-jobs&amp;printer_name={printer_name}">
45 <IMG SRC="/images/cancel-all-jobs.gif" ALT="Cancel All Jobs" CLASS="button"></A>
46 {printer_is_shared=0?
47 <A HREF="{admin_uri}?op=set-sharing&amp;printer_name={printer_name}&amp;shared=1">
48 <IMG SRC="/images/publish-printer.gif" ALT="Publish Printer" CLASS="button"></A>
49 :
50 <A HREF="{admin_uri}?op=set-sharing&amp;printer_name={printer_name}&amp;shared=0">
51 <IMG SRC="/images/unpublish-printer.gif" ALT="Unpublish Printer" CLASS="button"></A>
52 }
53 <A HREF="{admin_uri}?op=modify-printer&amp;printer_name={printer_name}">
54 <IMG SRC="/images/modify-printer.gif" ALT="Modify Printer" CLASS="button"></A>
55 <A HREF="{admin_uri}?op=set-printer-options&amp;printer_name={printer_name}">
56 <IMG SRC="/images/set-printer-options.gif" ALT="Set Printer Options" CLASS="button"></A>
57 <A HREF="{admin_uri}?op=delete-printer&amp;printer_name={printer_name}">
58 <IMG SRC="/images/delete-printer.gif" ALT="Delete Printer" CLASS="button"></A>
59 <A HREF="{admin_uri}?op=set-as-default&amp;printer_name={printer_name}">
60 <IMG SRC="/images/set-as-default.gif" ALT="Set As Default" CLASS="button"></A>
61 <A HREF="{admin_uri}?op=set-allowed-users&amp;printer_name={printer_name}">
62 <IMG SRC="/images/set-allowed-users.gif" ALT="Set Allowed Users" CLASS="button"></A>
63 </P>
64 </TD>
65 </TR>
66 </TABLE>
67
68 }}