/usr/share/cups/templates/replace-ppd.tmpl is in cups-server-common 1.7.2-0ubuntu1.11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <DIV CLASS="indent">
<H2 CLASS="title">Replace {printer_name} PPD File</H2>
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="PRINTER_IS_SHARED" VALUE="{?printer_is_shared}">
<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}">
<INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">
<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{?printer_name}">
<INPUT TYPE="HIDDEN" NAME="PER_QUEUE" VALUE="1">
<INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{printer_info}">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
<INPUT TYPE="HIDDEN" NAME="PRINTER_IS_COLORMANAGED" VALUE="{?printer_is_colormanaged}">
<INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="{printer_location}">
<table>
<tr>
<TR>
<TH CLASS="label">Provide a PPD File:</TH>
<TD><INPUT TYPE="HIDDEN" NAME="MAX_FILE_SIZE" VALUE="262144"><INPUT
TYPE="FILE" NAME="PPD_FILE">
</TR>
<TR>
<TD>
<Input TYPE=SUBMIT VALUE=Upload>
</TD>
</TR>
</table>
</form>
</DIV>
|