Closed
Bug 315611
Opened 19 years ago
Closed 13 years ago
JavaScript window.print() Doesn't Print Background (but works after opening PP or page setup)
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: chris.poirier, Unassigned)
References
()
Details
(Whiteboard: [closeme 2011-03-15])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 (ax) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 (ax) The page above has a div with a CSS background-color set to #ccc and a javascript window.print() link. When using the link to print, the background color of the div is not printed, even though the "Print Background" pref is on. Going to Print Preview or Page Setup and then using the link solves the problem until the next time Firefox is started. When investigating this error, I noticed that on a co-worker's machine (same specs and same FF version), the JS link caused the print options to be set weird (it would unset the "Print Background" every time, and one time it even printed landscape at 300dpi (not the default settings)). Reproducible: Always Steps to Reproduce: 1. Ensure that File->Page Setup...->Print Background (colors & images) is checked. 2. Start a fresh Firefox. 3. Go to http://swcconsulting.dreamhosters.com 4. Click the "Print Me!" button, click OK, go to the printer, wait for it to print and it doesn't print the background color. 5. Go to either Print Preview or Page Setup. (Don't have to do anything here, just close the window.) 6. Click the "Print Me!" button, click OK, go to the printer, wait for it to print and it prints the background color properly. Actual Results: Step 4 -> No background color printed. Step 6 -> Background printed properly. Expected Results: Step 4 -> Background prints properly. Step 5&6 shouldn't be needed.
Comment 1•19 years ago
|
||
BTW: When you get a chance, can you test if this is still a problem with FF 1.5 (or a release candidate of it)?
Assignee: nobody → printing
Component: General → Printing
Product: Firefox → Core
QA Contact: general
Summary: JavaScript window.print() Doesn't Print Background (and other errors) → JavaScript window.print() Doesn't Print Background (but works after opening PP or page setup)
Version: unspecified → 1.0 Branch
Reporter | ||
Comment 2•19 years ago
|
||
I just got Firefox 1.5 installed, and this problem does not occur.
Updated•15 years ago
|
Assignee: printing → nobody
QA Contact: printing
Comment 3•13 years ago
|
||
do you see this issue still with version 3.6 or 4.0 beta?
Whiteboard: [closeme 2011-03-15]
Comment 4•13 years ago
|
||
WFM fx 1.5 according to reporters comments in 2005
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•