mirror of https://gitee.com/openkylin/cups.git
45 lines
1.7 KiB
Cheetah
45 lines
1.7 KiB
Cheetah
<H2 CLASS="title">Add Printer</H2>
|
|
|
|
<FORM METHOD="POST" ACTION="/admin">
|
|
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
|
|
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
|
|
<INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
|
|
<INPUT TYPE="HIDDEN" NAME="BITS" VALUE="{?bits}">
|
|
<INPUT TYPE="HIDDEN" NAME="PARITY" VALUE="{?parity}">
|
|
<INPUT TYPE="HIDDEN" NAME="FLOW" VALUE="{?flow}">
|
|
{?current_make!?<INPUT TYPE="HIDDEN" NAME="CURRENT_MAKE" VALUE="{current_make}">:}
|
|
{?current_make_and_model!?<INPUT TYPE="HIDDEN" NAME="CURRENT_MAKE_AND_MODEL" VALUE="{current_make_and_model}">:}
|
|
|
|
<TABLE>
|
|
<TR>
|
|
<TH CLASS="label">Name:</TH>
|
|
<TD><INPUT TYPE="TEXT" NAME="PRINTER_NAME" SIZE="40" MAXLENGTH="127" VALUE="{?template_name}"><BR>
|
|
<SMALL>(May contain any printable characters except "/", "#", and space)</SMALL></TD>
|
|
</TR>
|
|
<TR>
|
|
<TH CLASS="label">Description:</TH>
|
|
<TD><INPUT TYPE="TEXT" NAME="PRINTER_INFO" SIZE="40" MAXLENGTH="127" VALUE="{?PRINTER_INFO}"><BR>
|
|
<SMALL>(Human-readable description such as "HP LaserJet with Duplexer")</SMALL></TD>
|
|
</TR>
|
|
<TR>
|
|
<TH CLASS="label">Location:</TH>
|
|
<TD><INPUT TYPE="TEXT" NAME="PRINTER_LOCATION" SIZE="40" MAXLENGTH="127" VALUE="{?PRINTER_LOCATION}"><BR>
|
|
<SMALL>(Human-readable location such as "Lab 1")</SMALL></TD>
|
|
</TR>
|
|
<TR>
|
|
<TH CLASS="label">Connection:</TH>
|
|
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
|
|
</TR>
|
|
<TR>
|
|
<TH CLASS="label">Sharing:</TH>
|
|
<TD><INPUT TYPE="CHECKBOX" NAME="PRINTER_IS_SHARED" ID="PRINTER_IS_SHARED" {PRINTER_IS_SHARED=1?CHECKED:}>
|
|
<LABEL FOR="PRINTER_IS_SHARED">Share This Printer</LABEL></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD></TD>
|
|
<TD><INPUT TYPE="SUBMIT" VALUE="Continue"></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
</FORM>
|