Closed Bug 307108 Opened 20 years ago Closed 20 years ago

print error after onload="window.print()" and any printer properties within the print dialog modified

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 272670

People

(Reporter: bugzilla.i.sekler, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050811 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050905 Firefox/1.6a1 If a web page opens the print dialogue with onload="window.print()", clicking on the "Properties..." button, changing any of the printer settings (f.e. the paper size from letterSize to a4Size) and clicking on "Print" results in an error message, the page won't be printed. This error message appears from now on on every attempt to print a page if printer properties are opened and modified. The only way to print is to leave printer properties as they are. In this case the paper size defaults to Letter (despite https://bugzilla.mozilla.org/show_bug.cgi?id=118563 !?). This behavior could be reproduced also with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050826 SeaMonkey/1.1a and Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050315. Windows builds are not affected. The workaround: restore your prefs.js from backup. Reproducible: Always Steps to Reproduce: 1. open http://www.berlinonline.de/.bin/print.php/berliner-zeitung/politik/480211.html 2. click on "Properties..." within the print dialogue, change the paper size or gaps, click "OK". 3. click on "Print". Actual Results: An error message "There was a problem printing because the paper size you specified is not supported by your printer" is displayed. Expected Results: The page should be printed. Fedora Core 3, kernel 2.6.12-1.1376_FC3.1 checkout start: Mo Sep 5 10:47:40 CEST 2005 about:buildconfig Build platform target i686-pc-linux-gnu Build tools Compiler Version Compiler flags gcc gcc version 3.4.4 20050721 (Red Hat 3.4.4-2) -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -pthread -pipe c++ gcc version 3.4.4 20050721 (Red Hat 3.4.4-2) -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -I/usr/X11R6/include Configure arguments --enable-application=browser --enable-official-branding --disable-accessibility --disable-debug '--enable-optimize=-Os -freorder-blocks -fno-reorder-functions -gstabs+' --enable-default-toolkit=gtk2 --enable-xft --disable-tests --disable-freetype2
Assignee: nobody → printing
Component: General → Printing
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.7 Branch
Sorry not having written it just at the beginning: the 1.7 Branch is not affected, but 1.8 and the Trunk are affected. Suggest changing the Version to "1.8 Branch" or "Trunk".
I see what you describe if I change paper size to legal even using file->print. but it sounds like you're seeing bug 272670
Version: 1.7 Branch → Trunk
Do you get this error message changing the paper size using file -> print -> properties before the browser has *ever* opened a page containing onload="window.print()" or only after the printer preferences in prefs.js has been demolished by the bug? I saw it appearing only after that. > but it sounds like you're seeing bug 272670 Yes, it is definitely a dupe of 272670. Thanks for finding the original.
*** This bug has been marked as a duplicate of 272670 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.