Status

()

Core
Printing: Output
VERIFIED DUPLICATE of bug 85768
16 years ago
3 years ago

People

(Reporter: GAThrawn, Assigned: Marc Attinasi)

Tracking

({verifyme})

Trunk
mozilla1.1alpha
x86
Windows NT
verifyme
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
Using build 2001100503 on Windows NT4SP6 printing the page at
http://www.alistapart.com/stories/journey/5.html only prints out one page.

Steps to reproduce:
1. Visit http://www.alistapart.com/stories/journey/5.html
2. Select File -> Print...
3. Ensure that "Print Range" is set to "All" to print all pages
4. Click "OK"

Expected results:
All four pages print out.

Actual Result:
Only the first page prints.


The page layout is done entirely in CSS and it has a separate Print stylesheet
which removes nearly all CSS styling and hides the menu, the actual content is
inside a DIV named "content" (the page itself actually explains how the layout
is done and the page is arranged).

Comment 1

16 years ago
I can reproduce this problem....only one page gets printed out....

cc: rods and kmcclusk.

Updated

16 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 2

16 years ago
I can reproduce this problem. (Found it on a different ALA article though,
http://www.alistapart.com/stories/infoexperience/)

Using build 2001101117 on Win2K Pro, printing to a network printer.
Reassigning to Marc. I think this bug is a dup onf one of yours.
Assignee: dcone → attinasi
Whiteboard: DUP?
I can reproduce with todays cvs trunk build on WINNT, using print-preview.
Target Milestone: --- → mozilla0.9.9
(Assignee)

Comment 5

16 years ago
Floated blocks do not continue onto the next page - that is the problem here I
think.
Status: NEW → ASSIGNED
(Reporter)

Comment 6

16 years ago
ALA appear to be aware of this problem and make a mention of it on their bugs
page, at http://www.alistapart.com/bugs.html

Quote from that page:


NETSCAPE 6 PRINTING BUG
An unfortunate printing bug afflicts Netscape 6.2 . Here are the symptoms: You
hit “Print.” The browser prints one page. Then it stops printing. The problem
has been reported to Netscape’s standards evangelist.
Marking nsbeta1+
Keywords: nsbeta1+
Whiteboard: DUP?
nsbeta1-. Moving to Moz1.1. Engineers are overloaded with higher priority bugs.
Keywords: nsbeta1+ → nsbeta1-
Target Milestone: mozilla0.9.9 → mozilla1.1

Updated

16 years ago
Keywords: mozilla1.0
(Reporter)

Comment 9

16 years ago
Just retested printing the page using 2002031005, Win 2000 Pro (from the 0.9.9
branch) succesfully printed all 4 pages from the first URL above
(http://www.alistapart.com/stories/journey/5.html) and all 3 pages from the
second URL (http://www.alistapart.com/stories/infoexperience/).

Using a networked HP Laserjet 8000.

No appears to work for me.
Keywords: verifyme
(Reporter)

Comment 10

16 years ago
s/No appears to work for me./All now appear to work for me/

Comment 11

16 years ago
marking WFM per comments.
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME

Comment 12

16 years ago
verified.
Status: RESOLVED → VERIFIED
The test URLs appear to work because the site's stylesheets have been changed to
un-float the content DIV when printing, and thus avoid this particular bug.  If
the bug has been fixed, you won't be able to prove it using alistapart.com any
more.  See http://www.alistapart.com/bugs.html for more information.

I'm reopening this bug because I see no evidence of a patch that fixed it, and
the pages used to test it are no longer relevant to this report.  I will create
a testcase based on the old ALA styles and attach it to this bug.
Status: VERIFIED → REOPENED
Resolution: WORKSFORME → ---
Created attachment 74329 [details]
Testcase derived from alistapart.com's old styles

This testcase is a version of "To Hell With Bad Browsers" with the old
print-media stylesheet embedded instead of linked.  The all-media stylesheet,
which is the one that floats the #content DIV, is also embedded to prevent
future "silent" changes on alistapart.com creating the appearance of a fix.

In 2002031106/Mac, this testcase resulted in only a single page being printed.

Comment 15

16 years ago
confirming for NT

2002031503/NT  using test attachment 74329 [details] only one page prints - in print
preview it only shows "page 1"
Duplicate of "[FLOAT] [PRINT]Floated elements that do not fit on a page are not
continued to the next page when printed." (per comment 5 and comment 13)

*** This bug has been marked as a duplicate of 85768 ***
Status: REOPENED → RESOLVED
Last Resolved: 16 years ago16 years ago
Resolution: --- → DUPLICATE

Comment 17

16 years ago
v
Status: RESOLVED → VERIFIED

Comment 18

15 years ago
This bug appears to have been fixed (attachment print previews OK in 200209608,
and  also using a test case of mine), but I've just discovered a page design on
our site that exhibits the same behavior (only first page prints), but it
doesn't use any floats--it's an old table-based layout that prints OK in IE.

http://www.cadenceweb.com/newsletter/aec/0802_1.html

Both printing and print preview show only the first page of this and all similar
documents on our site that I have tested. I can verify this behavior on
200209608 on WinXP and on 2002090908 on MacOS 9.1.

Shall I open this as a new bug? All of the other "one page prints" bugs seem to
be specific to properties that are not present in this design (frameset,
left-aligned table, floated div), and some of those have been marked fixed/resolved.
Yes, open a new bug please.

Comment 20

9 years ago
(In reply to comment #0)
> Using build 2001100503 on Windows NT4SP6 printing the page at
> http://www.alistapart.com/stories/journey/5.html only prints out one page.
> 
> Steps to reproduce:
> 1. Visit http://www.alistapart.com/stories/journey/5.html
> 2. Select File -> Print...
> 3. Ensure that "Print Range" is set to "All" to print all pages
> 4. Click "OK"
> 
> Expected results:
> All four pages print out.
> 
> Actual Result:
> Only the first page prints.
> 
> 
> The page layout is done entirely in CSS and it has a separate Print stylesheet
> which removes nearly all CSS styling and hides the menu, the actual content is
> inside a DIV named "content" (the page itself actually explains how the layout
> is done and the page is arranged).

I could solve for myself, byadding position: relative in the div tag. It was working fine for me.

Comment 21

7 years ago
This is still a problem for me. 

Firefox (Mac OSX) still prints only the first page of floated elements.

Is there any new information or better practices surrounding this other than

float: none !important

?

Thanks
Johnny, try Firefox 4 beta 4 once that comes out?  Float printing was just rewritten recently (see bug 563584).

Comment 23

7 years ago
A more recent version of this bug is documented at the following link:

https://bugzilla.mozilla.org/show_bug.cgi?id=258397
You need to log in before you can comment on or make changes to this bug.