mirror of https://gitee.com/openkylin/cups.git
50 lines
1.4 KiB
Cheetah
50 lines
1.4 KiB
Cheetah
<H2 CLASS="title">{op=modify-printer?Rediger {printer_name}:Tilføj 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}">
|
|
{printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
|
|
|
|
<TABLE>
|
|
<TR>
|
|
<TH CLASS="label">Forbindelse:</TH>
|
|
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
|
|
</TR>
|
|
<TR>
|
|
<TH CLASS="label">Baudhastighed:</TH>
|
|
<TD><SELECT NAME="BAUDRATE">
|
|
{[baudrates]<OPTION {?baudrate={baudrates}?SELECTED:}>{baudrates}}
|
|
</SELECT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TH CLASS="label">Parity:</TH>
|
|
<TD><SELECT NAME="PARITY">
|
|
<OPTION VALUE="none" {?parity=none?SELECTED:}>Ingen
|
|
<OPTION VALUE="even" {?parity=even?SELECTED:}>Lige
|
|
<OPTION VALUE="odd" {?parity=odd?SELECTED:}>Ulige
|
|
</SELECT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TH CLASS="label">Databit:</TH>
|
|
<TD><SELECT NAME="BITS">
|
|
<OPTION {?bits=8?SELECTED:}>8
|
|
<OPTION {?bits=7?SELECTED:}>7
|
|
</SELECT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TH CLASS="label">Flowstyring:</TH>
|
|
<TD><SELECT NAME="FLOW">
|
|
<OPTION VALUE="none" {?flow=none?SELECTED:}>Ingen
|
|
<OPTION VALUE="soft" {?flow=soft?SELECTED:}>XON/XOFF (software)
|
|
<OPTION VALUE="hard" {?flow=hard?SELECTED:}>RTS/CTS (hardware)
|
|
<OPTION VALUE="dtrdsr" {?flow=dtrdsr?SELECTED:}>DTR/DSR (hardware)
|
|
</SELECT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD></TD>
|
|
<TD><INPUT TYPE="SUBMIT" VALUE="Fortsæt"></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
</FORM>
|