Closed
Bug 278941
Opened 20 years ago
Closed 20 years ago
Paper size defaults of system are incorrectly initialized in print dialog box launched from JavaScript.
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 118563
People
(Reporter: jeffe, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 Build Identifier: Mozilla/5.0 (windows; U; win98; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 When printing from a javascript call as the FIRST print upon launching FireFox, the print dialog properties paper-size show LETTER (and prints as letter), regardless of what is s in the printer's preferences. This results in the annoying problem of the printer complaining about the wrong paper type, etc.. Or forces you to change the properties to the correct value. Once you have set the correct value, it does seem to retain it for the life of the session. If you print from the menu, instead of the javascript call, all seems to be well, the correct size is set. Indeed, the simple act of invoking the dialog box from the menu seems to set the size correctly, even without view the properties, after doing this as the first action upon running FireFox, the javascript:print dialog worked correctly. Reproducible: Always Steps to Reproduce: Set your printer default paper size to A4 1. Start the FireFox browser 2. javascript:print(); 3. Click Properties in 9x, or Advanced under XP Actual Results: LETTER is the paper size. AAARRRRGGGHH!! Expected Results: Should be A4 I have reproduced this on 95, 98 and XP, with various versions of FireFox, even FireBird !! (Also latter versions of Mozilla) Different printers/dialogs make no difference. Same problem exists HP IID/Epson LX-800/HP 2100 whatever...
*** This bug has been marked as a duplicate of 118563 ***
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.
Description
•