lost tray selection ability

Helge Blischke h.blischke at acm.org
Fri Jun 3 01:58:59 PDT 2011


Jeff wrote:

> Thanks Paul
> 
> I've tried a few other things.
> 
> I pulled the .ppd file from the working computer to the new one - no
> change, in fact no matter which tray you select it takes from the top
> tray, there is no way to select the bottom tray or the envelope feeder.
> This is confirmed no matter which .ppd file I use.
> 
> Thas sort of rules out comparing the two .ppd files for discrepancies, if
> the .ppd file that works on the old server won't work on the new one it
> isn't a .ppd problem right?
> 
> I tried to set up the same printer on an third computer, still selecting
> the same driver and CUPS 1.4.6. It is also broken.
> 
> That made me feel a little better, it seems there is some problem between
> CUPS 1.3 and cups 1.4 that has broken the HP driver.
> 
> JayArr
> 
> 
> 
>> I think I have a laserjet III in storage, I'll try and play with it
>> tomorrow.  If you still have the 1.3.x install you might print a text
>> file to file and print the same text file to file with 1.4.x then diff
>> them.
>>
>> > Hi Paul
>> >
>> > From the working unit:
>> >
>> > *FormatVersion: "4.3"
>> > *FileVersion: "1.3"
>> > *LanguageVersion: English
>> > *LanguageEncoding: ISOLatin1
>> > *PCFileName: "LASERJET.PPD"
>> > *Product: "(ESP Ghostscript)"
>> > *Product: "(GPL Ghostscript)"
>> > *Manufacturer: "HP"
>> > *ModelName: "HP LaserJet Series PCL 4/5"
>> > *ShortNickName: "HP LaserJet Series PCL 4/5"
>> > *NickName: "HP LaserJet Series PCL 4/5, 1.3"
>> > *PSVersion: "(3010.000) 81504"
>> > *PSVersion: "(3010.000) 860"
>> > *LanguageLevel: "3"
>> > *ColorDevice: False
>> > *DefaultColorSpace: Gray
>> > *FileSystem: False
>> > *Throughput: "8"
>> > *LandscapeOrientation: Plus90
>> > *TTRasterizer: Type42
>> > *% Driver-defined attributes...
>> > *cupsBackSide: "Normal"
>> > *cupsVersion: 1.3
>> > *cupsModelNumber: 0
>> > *cupsManualCopies: False
>> > *cupsFilter: "application/vnd.cups-raster 50 rastertohp"
>> > *cupsLanguages: "en da de es et fi fr he id it ja ko nl no pl pt pt_BR
>> > ru sv zh zh_TW"
>> >
>> > From the new, broken unit:
>> >
>> > *FormatVersion: "4.3"
>> > *FileVersion: "1.4"
>> > *LanguageVersion: English
>> > *LanguageEncoding: ISOLatin1
>> > *PCFileName: "laserjet.ppd"
>> > *Product: "(LaserJet Series PCL 4/5)"
>> > *Manufacturer: "HP"
>> > *ModelName: "HP LaserJet Series PCL 4/5"
>> > *ShortNickName: "HP LaserJet Series PCL 4/5"
>> > *NickName: "HP LaserJet Series PCL 4/5"
>> > *PSVersion: "(3010.000) 0"
>> > *LanguageLevel: "3"
>> > *ColorDevice: False
>> > *DefaultColorSpace: Gray
>> > *FileSystem: False
>> > *Throughput: "8"
>> > *LandscapeOrientation: Plus90
>> > *TTRasterizer: Type42
>> > *% Driver-defined attributes...
>> > *cupsBackSide: "Normal"
>> > *cupsVersion: 1.4
>> > *cupsModelNumber: 0
>> > *cupsManualCopies: False
>> > *cupsFilter: "application/vnd.cups-raster 50 rastertohp"
>> > *cupsLanguages: "en"
>> >
>> > JayArr
>> >
>> > > Up near the top of the PPD file, there should be some lines
>> > > referencing a cupsFilter.  can you copy those out here please?
>> > > > Hi Paul
>> > > >
>> > > > Nothing in the error log. If I print a test page it goes to tray 1
>> > > > even though the ppd specifically says tray 3.
>> > > >
>> > > > JayArr
>> > > >
>> > > >
>> > > > > If you print a test page does it honor the PPD?
>> > > > > anything in the error_log (1.4 logs a little different i've
>> > > > > noticed, you may want to kick logging to debug)
>> > > > >
>> > > > > > I'm building a new print server with CUPS 1.4, the old one was
>> > > > > > 1.3. I have an HPIIID printer with an envelope feeder and two
>> > > > > > trays. I use the top try for general printing, it has white
>> > > > > > paper 8.5X11. I have our company cheques loaded into try two
>> > > > > > (lower) for the accounting software.
>> > > > > >
>> > > > > > I create a series of printers all aimed at the same socket.
>> > > > > >
>> > > > > > Simplex uses tray 1 and does not duplex the sheet. (faster
>> > > > > > single sheet feed)
>> > > > > >
>> > > > > > Duplex uses tray 1 and duplexes the sheet
>> > > > > >
>> > > > > > Cheques "should" use tray 2. (only for the accounting
>> > > > > > software.)
>> > > > > >
>> > > > > > Envelope "should" use the #10 envelope feeder and does not
>> > > > > > duplex.
>> > > > > >
>> > > > > > The trouble is that since upgrading to CUPS 1.4 this is now
>> > > > > > broken. All printing comes from the top tray no matter what is
>> > > > > > specified in the ppd file.
>> > > > > >
>> > > > > > I'm still using the same albeit updated HP Laserjet Series PCL
>> > > > > > 4/5 driver and the application/vnd.cups-raster 50 rastertohp
>> > > > > > filter.
>> > > > > >
>> > > > > > All ideas would be appreciated.
>> > > > > >
>> > > > > > JayArr
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>

As both PPDs you told about specify using the rastertohp filter, I looked 
into the sources of both the 1.3.5 and the 1.4.5 release of the rasterrohp 
filter and see no differences with repsect to MediaPosition (aka tray 
number) handling.
That leads me to the suspicion that the raster generating filter used in 
your 1.4 configuration probably is the culprit in that it fails to specify 
the media position in the raster header.
As the pstoraster or pdftoraster filter is part of Ghostscript (since the 
ESP Ghostscript has been merged into GPL Ghostscript a couple of years ago), 
which Ghostscript releases are you using in both environments?

Helge





More information about the cups mailing list