Bug 1039671

Summary: Single page duplex job upsets printer
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-23 13:19:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
The PPD none

Description Tim Waugh 2013-12-09 18:13:45 UTC
Created attachment 834425 [details]
The PPD

Description of problem:
When printing a single page with "Duplex=DuplexNoTumble", an extra blank sheet is added to the end of the job in order to get the paper in the correct orientation on the output tray.

My HP PSC 2210 inkjet printer feeds in the first sheet, prints on one side, then drops it immediately into the output tray (I'd expect it to pull it back into the duplexer unit). Then it starts to feed the next sheet in, and stops with the sheet still ready to print. CUPS thinks the job is finished. I have to press the cancel button *and* turn off the printer, and when it turns on again it thinks there is a paper jam (there isn't).

Version-Release number of selected component (if applicable):
hpijs-3.13.11-4.fc20.x86_64

How reproducible:
Seems to happen every time. (Note to self: job 69).

Comment 1 Tim Waugh 2013-12-09 18:16:39 UTC
In fact, now that I look closer, there *is* no duplexer unit. :-)

So hpijs really ought to ignore this option in the normal way (i.e. load PPD options, set defaults, apply constraints, check for conflicts).

Not only that, but Firefox ought not to allow me to adjust that setting at all.

Comment 2 Tim Waugh 2014-05-09 16:07:41 UTC
I see now why that option is allowed to be changed: it's because hpcups.drv has the relevant lines that would stop it commented out:

   //UIConstraints "*Duplex *OptionDuplex False"

Note, this is unrelated to bug #541572 which deliberately removes duplex constraints -- it removes constraints relating to the page size, not whether a duplex unit is fitted.

Comment 3 Tim Waugh 2014-05-09 16:11:51 UTC
Reported upstream.