paper size selection

Greg Saunders greg at lnxinc.com
Fri Jun 11 08:42:54 PDT 2004


Anonymous wrote:
> Greg Saunders wrote:
> 
>>Helge Blischke wrote:
>>
>>>Greg Saunders wrote:
>>>
>>>
>>>>Hi all.
>>>>
>>>>I have a bizarre problem with papaer size selection. I've used cups with great success on dozens of differenct types of printers and plotters and this is the first time I've run into the following problem.
>>>>
>>>>HP DesignJet 5000 plotter
>>>>CUPS v 1.1.19
>>>>Fedora Core 1
>>>>Samba 3.0.2
>>>>
>>>>The PPD supports a couple dozen paper sized including ISO, ANSI and North American paper sizes. When the driver is installed locally, i.e. run add printer on a W2k workstation and point the port to "file" as an example, all paper sizes are available.
>>>>
>>>>However, if you install the drivers on the Linux box running CUPS and install the printer via a "point and print" method after having uploaded them to the Linux/CUPS server, only A2, A3, A4, letter, tabloid and custom paper sizes are available to the client. I've scoured the PPD and everything seems normal, it even passes the CUPS ppd verify utility.
>>>>
>>>
>>>
>>>If you configure that plotter using the CUPS web interface, are you then
>>>able to
>>>select any of the said page sizes?pushed
>>
>>Yes.
>>
>>
>>>Helge
>>>
>>>
>>
>>I've set up the queue via cups web interface and associated the HP
>>Design Jet PPD
>>
>>lpadmin -p hpdj5000 -P hp5000c1.ppd
>>
>>then used
>>
>>cupsaddsmb -U LNX\\root -v hpdj5000
>>
>>to make the driver downloadable via point and print with exactly the
>>same results as just using a W2k workstation to upload the drivers...
>>only 5 of the 24 available paper sizes "arrive" at the client.
>>
>>Greg
>>
> 
> 
> Are they differences between the PPD used by CUPS and the one used by SAMBA ?
> 
> diff /etc/cups/ppd/hpdj5000.ppd /etc/samba/drivers/W32X86/2/hpdj5000.ppd
> 
> Regards.

diff /var/samba/printers/W32X86/2/hp5000dj.PPD /etc/cups/ppd/hp5000dj.ppd
1622,1623d1621
< *cupsJobSheetsSupported: 
"none,classified,confidential,secret,standard,topsecret,unclassified"
< *cupsJobSheetsDefault: "none,none"

Somehow the ppd does get altered (via lpadmin -p hp5000dj -P 
hp5000c1.ppd). In either case, CUPS web admin displays all available 
paper sizes (so it would appear that the PPD is valid) but the client 
(W2k) can only see A2, A3, A4, letter and tabloid. This is not just on 
one workstation... a variety of W2k and XP machines.

Greg





More information about the cups mailing list