HP PhotoSmart C7280 does not pull media from PhotoTray

Bug #750512 reported by martin_jacobs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

CUPS 1.4.6
HPLIP 3.11.3a
Ghostscript 8.71

CUPS is configured with dedicated "Photo" queue named rembrandt-photo. Here is output of
lpoptions -p rembrandt-photo -l

PageSize/Media Size: Card3x5 Card3x5.FB Hagaki Hagaki.FB Hagaki.Duplex Photo4x6 Photo4x6.FB A6 A6.FB A6.Duplex Photo5x7 Photo5x7.FB Card5x8 Card5x8.Duplex Oufuku Oufuku.FB Oufuku.Duplex A5 A5.FB A5.Duplex B5 B5.Duplex JB5 JB5.FB JB5.Duplex Executive Executive.Duplex 16k 8x10 Letter Letter.FB Letter.Duplex *A4 A4.FB A4.Duplex ExecutiveJIS FLSA Legal Legal.Duplex CDDVD80 CDDVD120 EnvA2 EnvC6 EnvChou4 EnvMonarch EnvDL Env10 EnvChou3 EnvC5 EnvB5 Custom.WIDTHxHEIGHT
Duplex/Double-Sided Printing: DuplexNoTumble DuplexTumble *None
InputSlot/Media Source: *Auto PhotoTray Upper Lower Envelope LargeCapacity Manual MPTray CDDVDTray
ColorModel/Output Mode: CMYGray KGray *RGB
MediaType/Media Type: *Automatic Plain Glossy TransparencyFilm CDDVDMedia
OutputMode/Print Quality: Normal Draft *Best Photo FastDraft
OptionDuplex/Duplexer Installed: False *True

Preparing output using enscript explicitely formatted for Photo4x6 by adding this line to .enscriptrc:
Media: photo4x6 288 432 24 24 264 408

Then doing something like

echo "Test ..:" | enscript --landscape -M photo4x6 -p test-photo4x6.ps

creates test postscript file. Ghostview (gv) shows choosen landscape formatted "small"
sheet with photo4x6 as bounding box.

Sending that to rembrandt-photo results in printout on paper taken from system tray, not photo tray. Why?

Attached you'll find file test-photo4x6.ps and log from CUPS as cups-print-photo4x6-on-phototray-fails.log

Revision history for this message
martin_jacobs (martin-jacobs) wrote :
Revision history for this message
martin_jacobs (martin-jacobs) wrote :

Here comes CUPS log ...

Revision history for this message
martin_jacobs (martin-jacobs) wrote :
Download full text (10.2 KiB)

Here is another approach to reproduce this issue, that avoids using ghostscript:

1. Use ImageMagicks convert to create a small sample image:

convert -size 100x20 label:"This is text" label.png

2. Use lpr to print:

lpr -P rembrandt-photo label.png

Result one A4 sheet pulled in and image printed to center of page (vertically).

3. CUPS log comes here:

D [23/Apr/2011:16:10:03 +0200] cupsdAcceptClient: 9 from localhost (Domain)
D [23/Apr/2011:16:10:03 +0200] Report: clients=1
D [23/Apr/2011:16:10:03 +0200] Report: jobs=249
D [23/Apr/2011:16:10:03 +0200] Report: jobs-active=0
D [23/Apr/2011:16:10:03 +0200] Report: printers=8
D [23/Apr/2011:16:10:03 +0200] Report: printers-implicit=0
D [23/Apr/2011:16:10:03 +0200] Report: stringpool-string-count=120475
D [23/Apr/2011:16:10:03 +0200] Report: stringpool-alloc-bytes=10864
D [23/Apr/2011:16:10:03 +0200] Report: stringpool-total-bytes=2228056
D [23/Apr/2011:16:10:03 +0200] cupsdReadClient: 9 POST / HTTP/1.1
D [23/Apr/2011:16:10:03 +0200] cupsdSetBusyState: Active clients
D [23/Apr/2011:16:10:03 +0200] cupsdAuthorize: No authentication data provided.
D [23/Apr/2011:16:10:03 +0200] cupsdReadClient: 9 1.1 Get-Printer-Attributes 1
D [23/Apr/2011:16:10:03 +0200] Get-Printer-Attributes ipp://localhost:631/printers/rembrandt-photo
D [23/Apr/2011:16:10:03 +0200] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost:631/printers/rembrandt-photo) from localhost
D [23/Apr/2011:16:10:03 +0200] cupsdSetBusyState: Not busy
D [23/Apr/2011:16:10:03 +0200] cupsdReadClient: 9 POST /printers/rembrandt-photo HTTP/1.1
D [23/Apr/2011:16:10:03 +0200] cupsdSetBusyState: Active clients
D [23/Apr/2011:16:10:03 +0200] cupsdAuthorize: No authentication data provided.
D [23/Apr/2011:16:10:03 +0200] cupsdReadClient: 9 1.1 Create-Job 1
D [23/Apr/2011:16:10:03 +0200] Create-Job ipp://localhost:631/printers/rembrandt-photo
D [23/Apr/2011:16:10:03 +0200] cupsdMarkDirty(----J-)
D [23/Apr/2011:16:10:03 +0200] cupsdSetBusyState: Active clients and dirty files
D [23/Apr/2011:16:10:03 +0200] add_job: requesting-user-name="user"
I [23/Apr/2011:16:10:03 +0200] [Job 2436] Adding start banner page "none".
D [23/Apr/2011:16:10:03 +0200] Discarding unused job-created event...
I [23/Apr/2011:16:10:03 +0200] [Job 2436] Queued on "rembrandt-photo" by "user".
D [23/Apr/2011:16:10:03 +0200] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/rembrandt-photo) from localhost
D [23/Apr/2011:16:10:03 +0200] cupsdSetBusyState: Dirty files
D [23/Apr/2011:16:10:03 +0200] cupsdReadClient: 9 POST /printers/rembrandt-photo HTTP/1.1
D [23/Apr/2011:16:10:03 +0200] cupsdSetBusyState: Active clients and dirty files
D [23/Apr/2011:16:10:03 +0200] cupsdAuthorize: No authentication data provided.
D [23/Apr/2011:16:10:03 +0200] cupsdReadClient: 9 1.1 Send-Document 1
D [23/Apr/2011:16:10:03 +0200] Send-Document ipp://localhost:631/printers/rembrandt-photo
D [23/Apr/2011:16:10:03 +0200] cupsdIsAuthorized: requesting-user-name="user"
D [23/Apr/2011:16:10:03 +0200] [Job 2436] Auto-typing file...
D [23/Apr/2011:16:10:03 +0200] [Job 2436] Request file type is image/png.
D [23/Apr/2011:16:10:03 +0200] cupsdMarkDirty(----J-)
I [23/Ap...

Revision history for this message
martin_jacobs (martin-jacobs) wrote :

Using some PCL commands and CUPS raw printing, I was able to verify that my PhotoSmart C7280 is able to pull paper from photo tray. I had to use slot number 6, then printer pulled sheet from photo tray.

Revision history for this message
martin_jacobs (martin-jacobs) wrote :

Seems to be a CUPS issue:

a) CUPS ignores default settings of printer queue.

b) CUPS lpr seems to have an issue with parsing option media, using name from ppd file instead works a workaround:

lpr -P rembrandt-photo -o InputSlot=PhotoTray test-photo4x6.ps

is successful. This job uses filters pstops, pstoraster (from ghostscript 8.71), hpcups and as backend hp.

c) CUPS fails to print label.png.

lpr -P rembrandt-photo -o InputSlot=PhotoTray label.png

pulls paper from photo tray but does not print anything. Sheet is ejected immediately. Involved filters are imagetoraster (from CUPS) and hpcups, backend is hp.

Bug my be closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.