Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2017 22:45:11 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        "James B. Byrne" <byrnejb@harte-lyne.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD CUPS PPD
Message-ID:  <20170802224511.139eb930@kalimero.tijl.coosemans.org>
In-Reply-To: <75f9785b727a6ff87628cf5e13bfcb3b.squirrel@webmail.harte-lyne.ca>
References:  <02b89d54534d4f9dbe44df076e918572.squirrel@webmail.harte-lyne.ca> <20170802204724.2d0568fa@kalimero.tijl.coosemans.org> <75f9785b727a6ff87628cf5e13bfcb3b.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Aug 2017 15:53:16 -0400 "James B. Byrne" <byrnejb@harte-lyne.ca> wrote:
> On Wed, August 2, 2017 14:47, Tijl Coosemans wrote:
>> On Tue, 1 Aug 2017 17:29:19 -0400 "James B. Byrne via
>> freebsd-questions" <freebsd-questions@freebsd.org> wrote:  
>>> We have several old Lexmark T632 printers which OpenPrinting.org
>>> describes as 'paperweights'.  Notwithstanding OPO's value judgement
>>> we use these things as network printers for a wide variety of
>>> computers, some of which are much older than the printers.  One of
>>> their uses is to produce cheques and to replace them for this purpose
>>> requires re-certification of the replacements.  So, they are not
>>> going anywhere until they absolutely no longer work.
>>>
>>> Under CentOS-6 we use CUPS -1.4.2 with a PPD for these printers
>>> which was sourced from some forgotten place but which works very well
>>> for us.  On FreeBSD we use CUPS -2.2.3 and the PPD we have works not
>>> quite so well.  It works to the extent that the printers print but we
>>> cannot 'see' their advanced features in the CUPS Browser.  There are
>>> fields created in the page display which are likely for this but they
>>> are not populated with options.  
>>
>> What page are you looking at?  I see options for my printer when I go
>> to Printers, select my printer and then choose Set Default Options in
>> the Administration drop down menu.  There are multiple pages there:
>> General, Installed Options,...
>>
>> Can you upload the PPD somewhere?  
> 
> I get exactly the same results with respect to the default options
> displayed from the ppd provided at this gist:
> https://gist.github.com/jsuwo/7237337
> 
> What I see is this:
> 
> 
> Set Printer Options
> Set Default Options for np4173
> Options Installed                  Banners      Policies      Port
> Monitor
> Options Installed
>                          :
>                          :
>                          :
>                          :
>                          :
>                          :
>                          : * O
>                          :
>                          : * O
>                          :
> 
> Where * O are radio buttons and the other colons are followed by
> option drop-down selection boxes which display no contents but which
> have differing lengths.  This indicates to me that there is printer
> information being recognized but not displayed.
> 
> I am using FirefoxESR 52.2.1 (64-bit) from the ports collection as the
> browser.  In the profile that i amusing for this test there are no
> add-ons.
> 
> 
> The html source for the option page contains this:
> 
> TABLE WIDTH="100%">
> <TR>
> <TH CLASS="label" WIDTH="50%"><A NAME="Resolution"></A>:</TH>
> <TD><SELECT NAME="Resolution" ID="select-Resolution"
> ONCHANGE="update_paramtable('Resolution')">  
> <OPTION  VALUE="300dpi"><OPTION SELECTED VALUE="600dpi"><OPTION 
> VALUE="600dpi2"><OPTION  VALUE="1200dpi">  
> </SELECT>
> 
> </TR>
> <TR>
> <TH CLASS="label" WIDTH="50%"><A NAME="StapleLocation"></A>:</TH>
> <TD><SELECT NAME="StapleLocation" ID="select-StapleLocation"
> ONCHANGE="update_paramtable('StapleLocation')">  
> <OPTION SELECTED VALUE="False"><OPTION  VALUE="True">
> </SELECT>
> 
> </TR>
> <TR>
> <TH CLASS="label" WIDTH="50%"><A NAME="Jog"></A>:</TH>
> <TD><SELECT NAME="Jog" ID="select-Jog"
> ONCHANGE="update_paramtable('Jog')">  
> <OPTION SELECTED VALUE="False"><OPTION  VALUE="EndOfSet">
> </SELECT>
> 
> </TR>
> <TR>
> <TH CLASS="label" WIDTH="50%"><A NAME="OutputBin"></A>:</TH>
> <TD><SELECT NAME="OutputBin" ID="select-OutputBin"
> ONCHANGE="update_paramtable('OutputBin')">  
> <OPTION SELECTED VALUE="False"><OPTION  VALUE="Bin1"><OPTION 
> VALUE="Bin2"><OPTION  VALUE="Bin3"><OPTION  VALUE="Bin4"><OPTION 
> VALUE="Bin5"><OPTION  VALUE="Bin6"><OPTION  VALUE="Bin7"><OPTION 
> VALUE="Bin8"><OPTION  VALUE="Bin9"><OPTION  VALUE="Bin10">  
> </SELECT>
> 
> </TR>
> <TR>
> <TH CLASS="label" WIDTH="50%"><A NAME="LXCollate"></A>:</TH>
> <TD>
> <INPUT TYPE="RADIO" NAME="LXCollate" CHECKED VALUE="False"><INPUT
> TYPE="RADIO" NAME="LXCollate"  VALUE="True">
> </TD>
> </TR>
> <TR>
> <TH CLASS="label" WIDTH="50%"><A NAME="MediaType"></A>:</TH>
> <TD><SELECT NAME="MediaType" ID="select-MediaType"
> ONCHANGE="update_paramtable('MediaType')">  
> <OPTION SELECTED VALUE="Plain"><OPTION  VALUE="Bond"><OPTION 
> VALUE="Labels"><OPTION  VALUE="Transparency"><OPTION 
> VALUE="Env"><OPTION  VALUE="Card"><OPTION  VALUE="Color"><OPTION 
> VALUE="Preprint"><OPTION  VALUE="Letterhead"><OPTION 
> VALUE="Custom1"><OPTION  VALUE="Custom2"><OPTION 
> VALUE="Custom3"><OPTION  VALUE="Custom4"><OPTION 
> VALUE="Custom5"><OPTION  VALUE="Custom6">  
> </SELECT>
> 
> </TR>
> <TR>
> <TH CLASS="label" WIDTH="50%"><A NAME="Duplex"></A>:</TH>
> <TD><SELECT NAME="Duplex" ID="select-Duplex"
> ONCHANGE="update_paramtable('Duplex')">  
> <OPTION SELECTED VALUE="None"><OPTION  VALUE="DuplexNoTumble"><OPTION 
> VALUE="DuplexTumble">  
> </SELECT>
> 
> </TR>
> <TR>
> <TH CLASS="label" WIDTH="50%"><A NAME="PageSize">Media Size</A>:</TH>
> <TD><SELECT NAME="PageSize" ID="select-PageSize"
> ONCHANGE="update_paramtable('PageSize')">  
> <OPTION SELECTED VALUE="Letter"><OPTION  VALUE="Legal"><OPTION 
> VALUE="A4"><OPTION  VALUE="A5"><OPTION  VALUE="Executive"><OPTION 
> VALUE="B5"><OPTION  VALUE="Folio"><OPTION  VALUE="Statement"><OPTION 
> VALUE="Monarch"><OPTION  VALUE="C9"><OPTION  VALUE="Comm10"><OPTION 
> VALUE="DL"><OPTION  VALUE="C5"><OPTION  VALUE="ISOB5">  
> </SELECT>
> 
> </TR>
> <TR>
> <TH CLASS="label" WIDTH="50%"><A NAME="InputSlot">Media Source</A>:</TH>
> <TD><SELECT NAME="InputSlot" ID="select-InputSlot"
> ONCHANGE="update_paramtable('InputSlot')">  
> <OPTION  VALUE="AutoSelect"><OPTION SELECTED VALUE="Tray1"><OPTION 
> VALUE="Tray2"><OPTION  VALUE="Tray3"><OPTION  VALUE="Tray4"><OPTION 
> VALUE="Tray5"><OPTION  VALUE="MultiPurpose"><OPTION 
> VALUE="Manual"><OPTION  VALUE="ManualEnv"><OPTION  VALUE="EnvFeed">  
> </SELECT>
> 
> 
> But none of this is actually displayed.  Just the colons and empty
> option selection drop-downs.

All the labels appear to be missing.  These should be provided by
OpenUI blocks in the PPD file, e.g.

*OpenUI Resolution/Label here: PickOne
*Resolution 300dpi/Label here:"..."
*Resolution 600dpi/Label here:"..."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170802224511.139eb930>