]> git.ipfire.org Git - thirdparty/cups.git/blame - templates/printer.tmpl
Add missing image.
[thirdparty/cups.git] / templates / printer.tmpl
CommitLineData
b19ccc9e
MS
1<DIV CLASS="indent">
2<H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>
3({printer_state=3?Idle:{printer_state=4?Processing:Paused}},
4{printer_is_accepting_jobs=0?Rejecting Jobs:Accepting Jobs},
5{server_is_sharing_printers=0?Not:{printer_is_shared=0?Not:}} Shared{default_name={printer_name}?, Server Default:})</H2>
6
7<FORM METHOD="POST" ACTION="{printer_uri_supported}" NAME="maintenance">
8<SELECT NAME="OP" ONCHANGE="document.maintenance.submit();">
9<OPTION VALUE="">Maintenance</OPTION>
10<OPTION VALUE="print-test-page">Print Test Page</OPTION>
11{?cupscommand=1?<OPTION VALUE="clean-print-heads">Clean Print Heads</OPTION>
12<OPTION VALUE="print-self-test-page">Print Self Test Page</OPTION>:}
13{printer_state=5?<OPTION VALUE="start-printer">Resume Printer</OPTION>:<OPTION VALUE="stop-printer">Pause Printer</OPTION>}
14{printer_is_accepting_jobs=0?<OPTION VALUE="accept-jobs">Accept Jobs</OPTION>:<OPTION VALUE="reject-jobs">Reject Jobs</OPTION>}
15<OPTION VALUE="move-jobs">Move All Jobs</OPTION>
16<OPTION VALUE="purge-jobs">Cancel All Jobs</OPTION>
17</SELECT>
18<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
19</FORM>
20
21<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
22<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{%printer_name}">
23<SELECT NAME="OP" ONCHANGE="document.administration.submit();">
24<OPTION VALUE="">Administration</OPTION>
25<OPTION VALUE="modify-printer">Modify Printer</OPTION>
26<OPTION VALUE="delete-printer">Delete Printer</OPTION>
27<OPTION VALUE="set-printer-options">Set Default Options</OPTION>
28<OPTION VALUE="set-as-default">Set As Server Default</OPTION>
29<OPTION VALUE="set-allowed-users">Set Allowed Users</OPTION>
30</SELECT>
31<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
32</FORM>
33
34<TABLE SUMMARY="{printer_name}">
35<TR><TH ALIGN="RIGHT" VALIGN="TOP">Description:</TH><TD>{printer_info}</TD></TR>
36<TR><TH ALIGN="RIGHT" VALIGN="TOP">Location:</TH><TD>{printer_location}</TD></TR>
37<TR><TH ALIGN="RIGHT" VALIGN="TOP">Driver:</TH><TD>{printer_make_and_model} ({color_supported=1?color:grayscale}{sides_supported?, 2-sided printing:})<BR>
0af14961 38<TR><TH ALIGN="RIGHT" VALIGN="TOP">Connection:</TH><TD>{device_uri}</TD></TR>
b19ccc9e
MS
39<TR><TH ALIGN="RIGHT" VALIGN="TOP">Defaults:</TH><TD>job-sheets={job_sheets_default}
40media={media_default?{media_default}:unknown}
41{sides_default?sides={sides_default}:}</TD></TR>
42</TABLE>
43
44</DIV>