1<H2 CLASS="title">{op=modify-printer?Modifier  {printer_name}:Ajouter une imprimante}</H2>
2
3<FORM METHOD="POST" ACTION="/admin" ENCTYPE="multipart/form-data">
4<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
5<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
6{printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
7<INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
8<INPUT TYPE="HIDDEN" NAME="BITS" VALUE="{?bits}">
9<INPUT TYPE="HIDDEN" NAME="PARITY" VALUE="{?parity}">
10<INPUT TYPE="HIDDEN" NAME="FLOW" VALUE="{?flow}">
11<TABLE>
12{op=modify-printer?:<TR>
13<TH CLASS="label">Nom :</TH>
14<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">{printer_name}</TD>
15</TR>}
16<TR>
17<TH CLASS="label">Description :</TH>
18<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{printer_info}">{printer_info}</TD>
19</TR>
20<TR>
21<TH CLASS="label">Emplacement :</TH>
22<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="{printer_location}">{printer_location}</TD>
23</TR>
24<TR>
25<TH CLASS="label">Connexion :</TH>
26<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
27</TR>
28<TR>
29<TH CLASS="label">Partage :</TH>
30<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_IS_SHARED" VALUE="{?printer_is_shared}">
31{?printer_is_shared=?Ne pas p:{?printer_is_shared=0?Ne pas p:P}}artager cette imprimante</TD>
32</TR>
33<TR>
34<TH CLASS="label">Marque :</TH>
35<TD>{PPD_MAKE} <INPUT TYPE="SUBMIT" NAME="SELECT_MAKE" VALUE="Choisir un autre fabricant"></TD>
36</TR>
37<TR>
38<TH CLASS="label">Modèle :</TH>
39<TD>
40<SELECT NAME="PPD_NAME" SIZE="10">
41{op=add-printer?:<OPTION VALUE="__no_change__" SELECTED>Pilote actuel - {current_make_and_model}</OPTION>:}
42{show_ipp_everywhere?<OPTION VALUE="everywhere" SELECTED>{current_make_and_model} - IPP Everywhere &trade;</OPTION>:}
43{[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})
44}</SELECT>
45</TD>
46</TR>
47<TR>
48<TH CLASS="label">Ou donner un fichier PPD :</TH>
49<TD><INPUT TYPE="HIDDEN" NAME="MAX_FILE_SIZE" VALUE="262144"><INPUT
50TYPE="FILE" NAME="PPD_FILE"></TD>
51</TR>
52<TR>
53<TD></TD>
54<TD><INPUT TYPE="SUBMIT" VALUE="{op=add-printer?Ajouter une imprimante:Modifier une imprimante}"></TD>
55</TR>
56</TABLE>
57
58</FORM>
59