Open Bug 308127 Opened 19 years ago Updated 2 years ago

"Print background" not correct

Categories

(Core :: Printing: Output, defect)

1.7 Branch
defect

Tracking

()

People

(Reporter: brain, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050905 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050905 Firefox/1.0.6

If you try to print http://www.barix.com/ and "print background" option is
checked, print preview displays the page correctly, but print (to printer or
postscript) doesn't print the background at the top of the page.

Reproducible: Always

Steps to Reproduce:
for stupids, if above description is not enough:

1. go to http://www.barix.com/
2. click on file->page_setup
3. check "print background (colors&images)
4. click on file->print_preview - background color at the top of the page is
displayed
5. click on file->print
6. print to file - background color at the top of the page is not in the postscript

Actual Results:  
background color at the top of the page is not in the postscript

Expected Results:  
background color at the top of the page should be in postscript
Assignee: nobody → printing
Component: General → Printing
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.7 Branch
Hi guys, I have been confirmed that bug in this case using windows version 1.07:
Setup print background and print some pages direct to printer, leave option checked and close your browser. Open your browser again and check if "print background" is checked before print something, do not modify any option! Then try to print again. You will see that background will not be printed. Go to printer setup again and try uncheck and check option again, so backround will be printed in your paper!
Using Firefox1.5rc, the background image printed but it was very small. I'm using Win2k.

This looks like a dup of bug 161179.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 161179
Still messed up, despite bug 161179 patch -  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060306 Firefox/1.6a1
OS: Linux → All
Hardware: PC → All
Summary: "Print background" button in print setup doesn't work → "Print background" not correct
Attached image Background image
Attached file Simplified testcase
Attached is a simplified testcase from www.barix.com.
Patch for bug 161179 improved the printing a little. But the scaling of a background image is still wrong. Print Preview scales the image ok.

Other than that I did not see any more obvious problems with printing www.barix.com.

I was testing with ff 1501 and Bon Echo (ff 2.0Alpha1) on Win2k.

P.S. There may be a separate Print Preview bug seen in testcase. Background image should be displayed only once in a red square but it is displayed twice (once in a red square and then again beneath the red square stretching all the way to the bottom of the page).
Works for me in a Linux trunk build except that 1px of the image is visible
above the top border.  Probably just a rounding issue, the image overflow
is still 1px when increasing the border width.
Assignee: printing → nobody
QA Contact: printing
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: