Tags:
create new tag
, view all tags

SID-00783: Only Two Pages Print

Status: Answered Answered TWiki version: 4.2.0 Perl version: 5.8.8
Category: CategoryBrowser Server OS: RHEL 5 Last update: 1 year ago

When I print a wiki page, or look at the page in print preview, only two pages will print. I use Firefox. I just tried with IE and all six pages of my test topic appear in the Print Preview. Any idea what's going on? Is this a localized Firefox issue?

Mike

-- MikeEggleston - 2010-03-16

Discussion and Answer

Or a skin or content issue? May be there are unpaired <div> or other tags?

-- PeterThoeny - 2010-03-16

I have the same experience. The problem started with upgrade to Firefox 3.6 and finished when I downgraded it to Firefox 3.5.8. Firefox 3.6 prints the other (non TWiki) sources without problems. I use the TWiki-4.3.2, Wed, 02 Sep 2009, build 18148, Plugin API version 1.2 Jaromir

-- JaromirHoudek - 2010-03-18

Still happens with FireFox 3.6.2. Any idea(s) on how to fix this other than use IE?

-- MikeEggleston - 2010-04-01

How about file a bug report with Firefox?

BTW, I briefly upgraded to FF 3.6 and had to downgrade since it was such a memory hog. I had to restart FF several times a day (I usually have 50+ tabs open).

-- PeterThoeny - 2010-04-01

I created TWikibug:Item6416 to track this on twiki.org.

Here is an untested updated print.css file, done with a bit of guess work. This is for TWiki 4.2.x and TWiki 4.3.x. Could you please test if this works? Make a backup and copy print.css to your twiki/pub/TWiki/PatternSkin/ directory.

--- pub/TWiki/PatternSkin/print.css   (revision 18394)
+++ pub/TWiki/PatternSkin/print.css   (working copy)
@@ -20,6 +20,9 @@
    #patternMain {
       padding-bottom:1em;
       width:100%;
+      float:none;
+      display:inline;
+      overflow:visible;
    }
    
    /* no left bar */

-- PeterThoeny - 2010-04-01

I have reported the issue to Mozilla (actually another on my team did). I was hoping someone had found a solution here.

-- MikeEggleston - 2010-04-01

Peter,

I tested the changed print.css and no joy. Still the same two page issue.

-- MikeEggleston - 2010-04-01

OK, we need to poke some more.

Could you report the FF bug number/URL?

-- PeterThoeny - 2010-04-01

Just to double check, your browser might cache the old print.css. Try from a virgin computer, or remove temporary files on your FF.

-- PeterThoeny - 2010-04-01

I did a refresh on my original test and no joy. On your recommendation I shut down my browser, which is configured to clear all files on shutdown, and the print preview now shows the right number of pages to print.

Thanks for finding a way to fix this.

-- MikeEggleston - 2010-04-01

-- RahulPandey - 2010-04-28

Thanks Peter. I tried the update to print.css and it works fine now with Firefox 3.6.3.

-- RahulPandey - 2010-04-28

Thank you Rahul for reporting back. I updated the skin in Subversion trunk SVN:PatternSkin and uploaded a new version to Plugins.PatternSkin.

-- PeterThoeny - 2010-04-29

Change status to:

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
SupportForm
Status Answered
Title Only Two Pages Print
SupportCategory CategoryBrowser
TWiki version 4.2.0
Server OS RHEL 5
Web server Apache 2.2.3
Perl version 5.8.8
Topic attachments
I Attachment Action Size Date Who Comment
Cascading Style Sheet filecss print.css manage 3.1 K 2010-04-01 - 19:12 PeterThoeny Untested updated print.css file
Topic revision: r11 - 2010-04-29 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.