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?Modificar {printer_name}:Adicionar impressora}</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">Conexão:</TH>
|
||
|
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TH CLASS="label">Taxa de dados (Baud Rate):</TH>
|
||
|
<TD><SELECT NAME="BAUDRATE">
|
||
|
{[baudrates]<OPTION {?baudrate={baudrates}?SELECTED:}>{baudrates}}
|
||
|
</SELECT></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TH CLASS="label">Paridade:</TH>
|
||
|
<TD><SELECT NAME="PARITY">
|
||
|
<OPTION VALUE="none" {?parity=none?SELECTED:}>Nenhum
|
||
|
<OPTION VALUE="even" {?parity=even?SELECTED:}>Par
|
||
|
<OPTION VALUE="odd" {?parity=odd?SELECTED:}>Ímpar
|
||
|
</SELECT></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TH CLASS="label">Bits de Dados:</TH>
|
||
|
<TD><SELECT NAME="BITS">
|
||
|
<OPTION {?bits=8?SELECTED:}>8
|
||
|
<OPTION {?bits=7?SELECTED:}>7
|
||
|
</SELECT></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TH CLASS="label">Controle de Fluxo:</TH>
|
||
|
<TD><SELECT NAME="FLOW">
|
||
|
<OPTION VALUE="none" {?flow=none?SELECTED:}>Nenhum
|
||
|
<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="Continuar"></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
</FORM>
|