Bug 672860 - Page ranges ignored when printing
Summary: Page ranges ignored when printing
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 14
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-26 15:53 UTC by Tim Waugh
Modified: 2018-04-11 18:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 14:18:48 UTC
Type: ---


Attachments (Terms of Use)
reproducer (139.47 KB, application/pdf)
2011-01-26 17:10 UTC, Matěj Cepl
no flags Details
cannot reproduce with the upstream binary (83.72 KB, application/pdf)
2011-01-26 17:26 UTC, Matěj Cepl
no flags Details

Description Tim Waugh 2011-01-26 15:53:24 UTC
Description of problem:
When trying to print the first and third pages of a web page, all three pages are printed out.

Version-Release number of selected component (if applicable):
firefox-3.6.13-1.fc14.x86_64
gtk2-2.22.0-1.fc14.1.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Visit a web page.
2.File->Page Setup... and choose Landscape
3.Print Preview and see that it would be three pages of output, and decide to print only the first and last.
4.File->Print..., select "Pages:" and enter "1,3" into the entry box.
(In my case I also selected "Short Edge (Flip)" in the One-Sided option in Page Setup.)
5.Click Print.
  
Actual results:
Extra page printed.  Wasted paper, ink, time.

Expected results:
Job printed as directed.

Additional info:
Printing the document to a file and then printing that file from the command line works fine:

lp -dBen -o Duplex=DuplexTumble -P 1,3 file.pdf

showing the the problem is not with CUPS.

Comment 1 Matěj Cepl 2011-01-26 17:10:32 UTC
Created attachment 475446 [details]
reproducer

Yes, can easily reproduce when printing to PDF

Comment 2 Matěj Cepl 2011-01-26 17:26:42 UTC
Created attachment 475450 [details]
cannot reproduce with the upstream binary

Comment 3 xeddvok7bd7464n2 2011-04-27 21:47:19 UTC
I can confirm this bug—I have exactly the same problem under F13 with Firefox 3.6.16-1.fc13.i686, but also with upstream Firefox 4.0 (under F13 too).

How to repoduce:

1. Visit a larger web page that fits on more than two pages when printing the entier page (for example http://distrowatch.com)
2. File → Print
3. Range → Pages, and enter for example “1-2, 5-6” (without quotation marks)
4. Click on “Print”
5. You’ll see that the output is all pages from 1 to 6

(I do not have to choose “landscape” to reproduce this bug as described in comment #1.)

Comment 4 xeddvok7bd7464n2 2011-04-27 21:48:42 UTC
(Sorry, comment #0, not comment #1.)

Comment 5 xeddvok7bd7464n2 2011-04-27 22:01:40 UTC
See also upstream bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=499640

Comment 6 Martin Stransky 2011-11-23 14:38:17 UTC
More likely it's a dupe of https://bugzilla.mozilla.org/show_bug.cgi?id=558742

Comment 7 Martin Stransky 2011-12-06 14:18:48 UTC
Moving upstream.


Note You need to log in before you can comment on or make changes to this bug.