Closed Bug 315049 Opened 19 years ago Closed 10 years ago

print preview is displayed incorrectly

Categories

(Core :: Print Preview, defect)

1.0 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: imole, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051025 Firefox/1.5

html contains div tags with style attribute. Measurement for positioning is set to inches. On screen result is displayed correctly. In print preview some elements are not displayed and some elements are positioning incorrectly.

Sample I input in additional information

Reproducible: Always

Steps to Reproduce:
1. open html that I stored infrom additional information
2. open print preview
3.

Actual Results:  
on screen string "val='Automātisko maksājumu līgums';" is displayed
but in print preview not

Expected Results:  
results in print preview shold be like in screen

<html>
<head>
  <title>Izdruka</title>
</head>

<body>

<div style='visibility:visible;position:absolute;font-size:16.0pt;line-height:0.256in;width:7.4510000000000005in;height:0.23600000000000002in;left:0.1997in;top:0.298777776in;font-family:Arial Baltic;font-weight:400;text-align: center;'>
val='Autom&#257;tisko maks&#257;jumu l&#299;gums';
</div>

<div style='visibility:visible;position:absolute;font-size:14.0pt;line-height:0.224in;width:7.4430000000000005in;height:0.20400000000000001in;left:0.2107in;top:0.549555554in;font-family:Arial Baltic;font-weight:400;text-align: center;'>
test0002
</div>

<div style='visibility:visible;position:absolute;'>
</div>
<div style='visibility:visible;position:absolute;font-size:6.0pt;line-height:0.096in;width:0.135in;height:0.076in;left:0.1997in;top:0.748666666in;font-family:Courier New LT;font-weight:0;text-align: left;'>
TEST0003
</div>

<div style='visibility:visible;position:absolute;'>
</div>
<div style='visibility:visible;position:absolute;font-size:10.0pt;line-height:0.16in;width:2.439in;height:0.14in;left:4.4407in;top:0.85111111in;font-family:Arial Baltic;font-weight:400;text-align: left;'>
TEST0004
</div>

<div style='visibility:visible;position:absolute;'>
</div>
<div style='visibility:visible;position:absolute;font-size:10.0pt;line-height:0.16in;width:2.439in;height:0.14in;left:0.3967in;top:0.85111111in;font-family:Arial Baltic;font-weight:400;text-align: left;'>
TEST0005
</div>

<div style='visibility:visible;position:absolute;'>
</div>
<div style='visibility:visible;position:absolute;font-size:11.0pt;line-height:0.176in;width:2.426in;height:0.156in;left:4.4407in;top:1.020222221in;font-family:Arial Baltic;font-weight:700;text-align: left;'>
TEST0006
</div>
<div style='visibility:visible;position:absolute;'>
</div>
<div style='visibility:visible;position:absolute;font-size:11.0pt;line-height:0.176in;width:3.96in;height:0.156in;left:0.3967in;top:1.020222221in;font-family:Arial Baltic;font-weight:700;text-align: left;'>
TEST0007
</div>





</body>
</html>
Attached file html example
Severity: normal → major
Print preview is the same as the displayed page for me, using latest windows branch build.
screenshot of print preview window
I try it on four computer in my enterprise. And on all computers was this problem.
All these computers are in domain. OS is win 2000 and XP.

Then I try it on my home computer (win xp) - print preview display correct.
I found that problem is depending from printer. On HP ink printers (HP 2000C,HP 970Cxi) print always work, but on HP laserjet printers (HP 1200; 4100) works only if I not use domain (logon as local user)
I found that problem is depending from printer. On HP ink printers (HP 2000C,HP 970Cxi) print always work, but on HP laserjet printers (HP 1200; laserjet 5P) don't work.
WFM SeaMonkey/1.8-branch/2005111209
Related to other printer font specific issues in print preview like bug #127422 and bug #161569 ?
And possibly bug #238415
Similar problem: goto http://www.hs.le.ac.uk/postgrad/msc/medstats/
Then File > Print Preview. Only the header was displayed on page 1 of preview, 1/3 of the body of text in the actual web page was displayed on page 2 of preview,  and the footer was displayed on the top of page 3 of preview.
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Component: General → Print Preview
Product: Firefox → Core
QA Contact: general → printing
Version: unspecified → 1.0 Branch
WFM  on windows, using current nightly build
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: