Bug 745631

Summary: [hpcups] HP PSC 1610 - Canceled print continues to print
Product: [Fedora] Fedora Reporter: Cybertimber2011 <cybertimber2000>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: cybertimber2000, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-09 14:51:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Cybertimber2011 2011-10-12 21:12:52 UTC
Description of problem:
When I canceled a print via system-config-printer, the job continued to print even though it was gone from the queue.

Version-Release number of selected component (if applicable):
rpm -qi system-config-printer
Version: 1.3.7
Release 1.fc16

rpm -qi hplip-libs
Version 3.11.10
Release 2.fc16

rpm -qi hplip-common
Version 3.11.10
Release 2.fc16

How reproducible:
Always

Steps to Reproduce:
1. Connect printer
2. Let drivers install
3. Print something
4. Cancel the print from the Print Queue (Document Print Status)
  
Actual results:
Page finishes printing

Expected results:
Page stops printing where it's at, and releases the page.

Additional info:

Comment 1 Tim Waugh 2011-10-25 14:52:24 UTC
This is very particular to the driver and the backend.

The print job is not "force stopped" until a timeout is reached (default 5 minutes).  The reason for this is to avoid the printer getting stuck in a weird state.

The driver and the backend both know the job is to be cancelled; how they handle that is their business.

So: which driver, and which backend, are you using?

https://fedoraproject.org/wiki/Printing/Debugging

Comment 2 Cybertimber2011 2011-10-26 01:33:04 UTC
Same as found here: https://bugzilla.redhat.com/attachment.cgi?id=528116 

HPLIP
#rpm -qi hplip-libs
Version 3.11.10
Release 2.fc16

#rpm -qi hplip-common
Version 3.11.10
Release 2.fc16

#grep -H '^*NickName:' /etc/cups/ppd/*.ppd
/etc/cups/ppd/PSC-1600-series.ppd:*NickName: "HP PSC 1600 Series, hpcups
3.11.10"

Comment 3 Tim Waugh 2011-11-16 16:56:03 UTC
Hmm, hpcups seems to be behaving OK here.

Part of the reason there is no immediate reaction is that the printer has some amount of buffering.  However both the usb backend the pipe between it and hpcups are both buffering data as well.  Will investigate whether CUPS needs a side-channel command to discard output.

Comment 4 Tim Waugh 2011-12-09 14:51:53 UTC
Reported upstream:
  http://cups.org/str.php?L3992