[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Printing an XSL->HTML document

Subject: Re: Printing an XSL->HTML document
From: "Lyndall Scantlebury" <slyndall@xxxxxxxxxxx>
Date: Wed, 02 May 2001 09:41:49 +1000
xmlfo
I don't know if this will be any help, but i've been doing something similar. I've found that IE5.0 and above enables you to put in page breaks with a CSS style. As of now, IE on Macs and all of NS don't support this style, which means that if you want to put breaks in, the only way I've found is by putting in the right # of <p> tags. As a result, I'm only offering pagination for IE5.0 and above on PC. If you go to:
http://www.webreference.com/js/tips/000201.html - it shows you how to use this style. I've used it so that at a particular point, I add in the footer, a page break, and the header.


http://www.webreference.com/js/tips/991029.html - this will show you how to trigger the pop-up print dialog (if you need to)

Good luck. HTML printing really is a pain... you can't know what your user's settings (page setup etc) are going to be, which is another problem to add to the mix.

Let me know what you end up doing... I didn't use the XMLFO thing... We found that the pages just ignored the settings we used. Let me know if XMLFO makes things easier...

Lyndall


From: "Emerick Sanders" <esanders01@xxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Printing an XSL->HTML document
Date: Mon, 30 Apr 2001 18:17:40 -0400

What's the best way to format an XSL->HTML document for printing?  I'm only
interested in putting headers/footers and page numbers on output.  Is XMLFO
required for this, or is there a simpler way to do this?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.