2022-05-13 20:08:20 +08:00
|
|
|
|
<H2 CLASS="title">{op=modify-printer?Modifier {printer_name}:Ajouter une imprimante}</H2>
|
|
|
|
|
|
|
|
|
|
<FORM METHOD="POST" ACTION="/admin" ENCTYPE="multipart/form-data">
|
|
|
|
|
<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}">:}
|
|
|
|
|
<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}">
|
|
|
|
|
<TABLE>
|
|
|
|
|
{op=modify-printer?:<TR>
|
|
|
|
|
<TH CLASS="label">Nom :</TH>
|
|
|
|
|
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">{printer_name}</TD>
|
|
|
|
|
</TR>}
|
|
|
|
|
<TR>
|
|
|
|
|
<TH CLASS="label">Description :</TH>
|
|
|
|
|
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{printer_info}">{printer_info}</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<TR>
|
|
|
|
|
<TH CLASS="label">Emplacement :</TH>
|
|
|
|
|
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="{printer_location}">{printer_location}</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<TR>
|
|
|
|
|
<TH CLASS="label">Connexion :</TH>
|
|
|
|
|
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<TR>
|
|
|
|
|
<TH CLASS="label">Partage :</TH>
|
|
|
|
|
<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_IS_SHARED" VALUE="{?printer_is_shared}">
|
|
|
|
|
{?printer_is_shared=?Ne pas p:{?printer_is_shared=0?Ne pas p:P}}artager cette imprimante</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<TR>
|
|
|
|
|
<TH CLASS="label">Marque :</TH>
|
|
|
|
|
<TD>{PPD_MAKE} <INPUT TYPE="SUBMIT" NAME="SELECT_MAKE" VALUE="Choisir un autre fabricant"></TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<TR>
|
|
|
|
|
<TH CLASS="label">Modèle :</TH>
|
|
|
|
|
<TD>
|
|
|
|
|
<SELECT NAME="PPD_NAME" SIZE="10">
|
|
|
|
|
{op=add-printer?:<OPTION VALUE="__no_change__" SELECTED>Pilote actuel - {current_make_and_model}</OPTION>:}
|
2023-01-11 16:57:48 +08:00
|
|
|
|
{show_ipp_everywhere?<OPTION VALUE="everywhere" SELECTED>{current_make_and_model?{current_make_and_model} -:} IPP Everywhere ™</OPTION>:}
|
2022-05-13 20:08:20 +08:00
|
|
|
|
{[ppd_name]<OPTION VALUE="{ppd_name}" {op=modify-printer?:{?current_make_and_model={ppd_make_and_model}?SELECTED:}}>{ppd_make_and_model} ({ppd_natural_language})
|
|
|
|
|
}</SELECT>
|
|
|
|
|
</TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<TR>
|
|
|
|
|
<TH CLASS="label">Ou donner un fichier PPD :</TH>
|
2023-10-26 10:19:35 +08:00
|
|
|
|
<TD><INPUT TYPE="HIDDEN" NAME="MAX_FILE_SIZE" VALUE="2097152"><INPUT
|
2022-05-13 20:08:20 +08:00
|
|
|
|
TYPE="FILE" NAME="PPD_FILE"></TD>
|
|
|
|
|
</TR>
|
|
|
|
|
<TR>
|
|
|
|
|
<TD></TD>
|
|
|
|
|
<TD><INPUT TYPE="SUBMIT" VALUE="{op=add-printer?Ajouter une imprimante:Modifier une imprimante}"></TD>
|
|
|
|
|
</TR>
|
|
|
|
|
</TABLE>
|
|
|
|
|
|
|
|
|
|
</FORM>
|