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?Modifier {printer_name}:Ajouter une imprimante}</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">Connexion :</TH>
|
|||
|
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
|
|||
|
</TR>
|
|||
|
<TR>
|
|||
|
<TH CLASS="label">Baud/s :</TH>
|
|||
|
<TD><SELECT NAME="BAUDRATE">
|
|||
|
{[baudrates]<OPTION {?baudrate={baudrates}?SELECTED:}>{baudrates}}
|
|||
|
</SELECT></TD>
|
|||
|
</TR>
|
|||
|
<TR>
|
|||
|
<TH CLASS="label">Parité :</TH>
|
|||
|
<TD><SELECT NAME="PARITY">
|
|||
|
<OPTION VALUE="none" {?parity=none?SELECTED:}>Aucun
|
|||
|
<OPTION VALUE="even" {?parity=even?SELECTED:}>Paire
|
|||
|
<OPTION VALUE="odd" {?parity=odd?SELECTED:}>Impaire
|
|||
|
</SELECT></TD>
|
|||
|
</TR>
|
|||
|
<TR>
|
|||
|
<TH CLASS="label">Bits de données :</TH>
|
|||
|
<TD><SELECT NAME="BITS">
|
|||
|
<OPTION {?bits=8?SELECTED:}>8
|
|||
|
<OPTION {?bits=7?SELECTED:}>7
|
|||
|
</SELECT></TD>
|
|||
|
</TR>
|
|||
|
<TR>
|
|||
|
<TH CLASS="label">Contrôle de flux :</TH>
|
|||
|
<TD><SELECT NAME="FLOW">
|
|||
|
<OPTION VALUE="none" {?flow=none?SELECTED:}>Aucun
|
|||
|
<OPTION VALUE="soft" {?flow=soft?SELECTED:}>XON/XOFF (Logiciel)
|
|||
|
<OPTION VALUE="hard" {?flow=hard?SELECTED:}>RTS/CTS (Matériel)
|
|||
|
<OPTION VALUE="dtrdsr" {?flow=dtrdsr?SELECTED:}>DTR/DSR (Matériel)
|
|||
|
</SELECT></TD>
|
|||
|
</TR>
|
|||
|
<TR>
|
|||
|
<TD></TD>
|
|||
|
<TD><INPUT TYPE="SUBMIT" VALUE="Continuer"></TD>
|
|||
|
</TR>
|
|||
|
</TABLE>
|
|||
|
|
|||
|
</FORM>
|