/usr/share/cups/templates/ca/set-printer-options-trailer.tmpl is in cups-server-common 1.7.2-0ubuntu1.
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 | </DIV>
<SCRIPT TYPE="text/javascript"><!--
// Hide custom options parameters for browsers that understand Javascript
var paramtables = document.getElementsByName("paramtable");
for (var i = 0; i < paramtables.length; i++)
{
var opt = paramtables[i].id.substr(0, paramtables[i].id.lastIndexOf("-"));
var cb = document.getElementById("select-" + opt);
if (cb.value != "Custom")
paramtables[i].style.display = "none";
}
--></SCRIPT>
</FORM>
</DIV>
|