Tags:
create new tag
, view all tags

Question

When printing a topic that contains a long portion of verbatim script, most of the text doesn't print.

The Printable view looks fine, but the printed copy breaks up into 3 sections, each on it's own page: 1 is the text before the start verbatim tag, 2 is the text after the start verbatim tag BUT only as much as will fit on that page (Mozilla's print preview shows the missing text running off the bottom of the page), 3 is everything after the end verbatim tag.

I've tried any number of things, that only thing that "works" is to encase every line of text in verbatim lines, that way no line of verbatim text is longer than the bottom of the printing page. This makes the page load VERY slowly.

I've found nothing about this problem in TWiki.org, so I'm hoping someone out there can help me get this printing correctly.

I'm using Dakar (TWiki version Wed, 08 Feb 2006 build 8740, Plugin API version 1.1 ) and see the problem on both IE6 and Mozilla 5.

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Red Hat Enterprise Linux ES release 3 (Taroon Update 8)
Web server: Apache/2.0.46
Perl version: v5.8.0
Client OS: Windows 2003, 5.2.3790 Build 3790
Web Browser: IE 6.0.3790.0 & Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060911 Red Hat/1.0.5-0.1.el3 SeaMonkey/1.0.5
Categories: Performance

-- DebbieCoyle - 23 Sep 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I've worked around the problem. The problem appears in view.print.pattern.tmpl but not in view.print.tmpl.

I've made a modified copy of view.pattern.tmpl that sets "Printable" to use view.print.tmpl instead of view.print.pattern.tmpl and life is good.

-- DebbieCoyle - 05 Oct 2006

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-10-05 - DebbieCoyle
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.