Bug 743882 - Wrong page size
Summary: Wrong page size
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jan Horak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-06 11:32 UTC by Tim Waugh
Modified: 2015-12-02 16:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 02:36:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2011-10-06 11:32:14 UTC
Description of problem:
When trying to print to a queue, the wrong page size is set in the dialog.

Version-Release number of selected component (if applicable):
cups-1.5.0-13.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Plug in a printer
2.Page size gets set wrong by default (bug #743780), so correct it using system-config-printer
3.Now start firefox and press Ctrl-P
4.Select the printer, and go to the Page Setup tab
  
Actual results:
Paper size says US Letter.

Expected results:
Paper size says A4, as specified by both the printer's PPD and my locale

Additional info:

$ lpoptions -p Stylus-D78 -l | grep PageSize
PageSize/Media Size: Letter Legal Executive Postcard CD5Inch CD3Inch CDCustom w288h432 w288h432J Statement *A4 Custom.WIDTHxHEIGHT

$ locale
LANG=en_GB.utf8
LC_CTYPE="en_GB.utf8"
LC_NUMERIC="en_GB.utf8"
LC_TIME="en_GB.utf8"
LC_COLLATE="en_GB.utf8"
LC_MONETARY="en_GB.utf8"
LC_MESSAGES="en_GB.utf8"
LC_PAPER="en_GB.utf8"
LC_NAME="en_GB.utf8"
LC_ADDRESS="en_GB.utf8"
LC_TELEPHONE="en_GB.utf8"
LC_MEASUREMENT="en_GB.utf8"
LC_IDENTIFICATION="en_GB.utf8"
LC_ALL=

$ egrep -i 'stylus.*(letter|a4)' .mozilla/firefox/e6iygk83.default/prefs.js 
user_pref("print.printer_EPSON-Stylus-D78.print_paper_name", "iso_a4");
user_pref("print.tmp.printerfeatures.Stylus-D78.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.Stylus-D78.paper.3.name", "Letter");

Comment 1 Martin Stransky 2011-12-09 10:26:01 UTC
Yeah, it's broken.

Comment 2 David A. De Graaf 2012-01-01 22:17:16 UTC
Setting Page Size to US Legal in system-config-printer seems to have
no effect anymore.  It used to.

I have an annual groff print job that prints a lot of little pages,
2.625 x 4.25 in., in landscape mode on legal paper.  I get 5 little
pages to fit, side-by-side, along the 14 in. length of paper.  But this
year the first little page is shifted up to the place that Letter paper
would start at, and the fifth little page is off the top of the paper.

I've verified with gsview and gv that the Postscript output of groff
is correctly placed in the landscape/legal print space, so it's the cups
printer that's not working correctly.

My laser printer is an older Minolta PageWorks 12, which implements
PCL5e (HP LaserJet 4+ compatible), so I use the driver "Generic PCL 5e
Printer Foomatic/ljet4".  I have two printers defined - minolta, which
uses Letter paper from the default feeder; and legal, which uses Legal
paper from the manual feeder.  So to print on legal paper I send 
output to  lpr -P legal  and load legal paper in the manual hopper.
This scheme has always worked perfectly in the past, but now fails.

The corresponding files in /etc/cups/ppd - minolta.ppd and legal.ppd -
differ in apparently correct ways, but these differences have no 
effect.

This is with cups-1.4.8-5.fc15.x86_64.

Help, please!

Comment 3 Tim Waugh 2012-01-03 12:06:33 UTC
David: unless you are printing from Firefox, you are seeing a different bug.  Please file a separate bug report (choose the 'cups' component).

Comment 4 Fedora End Of Life 2013-01-16 17:38:50 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Fedora End Of Life 2013-04-03 17:43:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 6 markm 2013-07-20 16:28:06 UTC
This bug has been in Firefox for around 10 years now:
https://bugzilla.mozilla.org/show_bug.cgi?id=147419

Comment 7 Fedora End Of Life 2015-01-09 16:48:50 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 markm 2015-01-11 14:07:14 UTC
This issue is still not resolved, can someone bum the version to 21?

Comment 9 schaefi 2015-02-13 10:29:16 UTC
Hi,

I seem to have the bug in Fedora 21.


Bug desciption:
Going over the settings menue
-> Settings
-> Printer
(-> unlock to use the options)
-> Options
-> Page Setup
-> Change "Legal" to "A4". Then the value immediately switches back to "Legal". I am unable to fix the value to "A4"
-> Printing the test page shows a legal page

Installing system-config-printer gives a slightly different error:
-> system-config-printer
(-> unlock to set options)
-> select OfficeJet-6700
-> Printer Options
-> Change "Legal" to "A4". Then the value remains on A4
-> Accept with "ok"
-> Printing the test page shows a legal page


Background information:
uname -a
Linux hoelderlin 3.17.4-301.fc21.x86_64 #1 SMP Thu Nov 27 19:09:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

lpoptions -p Officejet-6700 -l | grep PageSize
PageSize/Media Size: Card3x5 Card4x6 L L.FB Photo4x6 Photo4x6.FB A6 A6.FB Hagaki Hagaki.FB Photo3x5 Photo5x7 Photo13x18 Photo5x7.FB Photo13x18.FB Card5x8 A5 A5.FB Ofuku Photo2L.FB 6x8 JB5 B5.FB Executive Statement *Letter Letter.FB CardLetter A4 A4.FB CardA4 Legal Photo10x15 Photo10x15.FB Photo2L Photo8x10 8x10.FB 8.5x13 EnvA2 EnvC6 EnvChou4 EnvCard EnvMonarch EnvDL Env10 EnvChou3 EnvC5 A4.Duplex Letter.Duplex CardA4.Duplex CardLetter.Duplex Custom.WIDTHxHEIGHT

Comment 10 schaefi 2015-02-13 14:41:16 UTC
Hi,

I am getting a bit confused about how to verify if I am printing A4 or legal.

Changing the default paper size from legal to A4 seems to be possible:

1. using lpoptions:
lpoptions -p Officejet-6700 -o media=A4.FB

lpoptions -p Officejet-6700 -l | grep PageSize
PageSize/Media Size: Card3x5 Card4x6 L L.FB Photo4x6 Photo4x6.FB A6 A6.FB Hagaki Hagaki.FB Photo3x5 Photo5x7 Photo13x18 Photo5x7.FB Photo13x18.FB Card5x8 A5 A5.FB Ofuku Photo2L.FB 6x8 JB5 B5.FB Executive Statement Letter Letter.FB CardLetter A4 *A4.FB CardA4 Legal Photo10x15 Photo10x15.FB Photo2L Photo8x10 8x10.FB 8.5x13 EnvA2 EnvC6 EnvChou4 EnvCard EnvMonarch EnvDL Env10 EnvChou3 EnvC5 A4.Duplex Letter.Duplex CardA4.Duplex CardLetter.Duplex Custom.WIDTHxHEIGHT

2. using the local cups interface:
http://localhost:631/
-> Adding Printers and Classes
-> Manage Printers
-> select: OfficeJet-6700
-> Set Default Options
-> select: A4 Broderless

After doing this I can also change the default paper size using the standard settings menu of Fedora
-> Settings
-> Printer
(-> unlock to use the options)
-> Options
-> Page Setup
-> Change "Legal" to "A4" or any other value

But printing the test page gives the same result for A4 and for legal.
Is there still a bug or does the test page look equally for legal and A4?
How can I verify if A4 is printed correctly?

Comment 11 schaefi 2015-02-13 16:04:45 UTC
Hi,

Here you get a workaround for the problem.

Install hplip-gui which then appears in the Fedora menu as "HP Device Manager".
-> Start the HP Device Manager
-> Device
-> Setup New Device
-> Connection: Network
-> Select: OfficeJet 6700 (or whatever printer you have)
-> Print Settings
-> General
-> Select: 4A Boderless
-> Printer Control
-> Set as default printer
-> Actions
-> Print Test Page

The A4 Borderless test page is printed perfectly (and tests with other pdf-files work perfectly too).

Verify the settings in the local cups interface: http://localhost:631
Check under (Administration -> Manage Printers) which printers and faxes are available now. Most probable your printer appears now two times:
- Printer that you have defined with the cups interface (and in my case using: HP OfficeJet 6700 hpijs, 3.14.10)
- Printer that you have defined with the HP Device Manager (and in my case using: HP Officejet 6700, hpcups 3.14.10)

I deleted the printer using hpijs because it is prints with the wrong paper size (this is the bug that I mentioned in comment 9+10).

I am using the printer with hpcups. But beware that the paper size of the printer using hpcups can only be changed in the "HP Device Manager" and not in the Fedora Standard Settings ("Settings -> Printers -> ..."). In the Fedora Standard Settings the paper size immediately changes back to initial value if changed (see bug described in comment 9).

I hope that helps for the users to continue. I also hope that this gives some hints how to solve the problem. Please let me know if the workaround worked for you too.

Comment 12 Tim Waugh 2015-02-16 10:24:02 UTC
schaefi: you are seeing some other problem, not related to Firefox. Please file a separate bug report.

Comment 13 schaefi 2015-02-16 12:24:42 UTC
(In reply to Tim Waugh from comment #12)
> schaefi: you are seeing some other problem, not related to Firefox. Please
> file a separate bug report.

ok, a new bug has been filed in:
https://bugzilla.redhat.com/show_bug.cgi?id=1193029

Comment 14 Fedora End Of Life 2015-11-04 13:36:12 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 15 Fedora End Of Life 2015-12-02 02:36:12 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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