Since you are starting with XML, why not use FOP and generate PDFs for printing. Then you can control page breaks, page headers and footers etc.
Jim Urban - [EMAIL PROTECTED] Park City Solutions Inc. Clinical Connectivity Suite Product Manager Suite 295 500 Park Blvd. Itasca, IL 60143 Voice: (630) 250-3045 x106 Fax: (630) 250-3046 CONFIDENTIALITY NOTICE This message and any included attachments are from Park City Solutions Inc. and are intended only for the entity to which it is addressed. The contained information is confidential and privileged material. If you are not the intended recipient, you are hereby notified that any use, dissemination, or copying of this communication is strictly prohibited and may be unlawful. If you have received this communication in error please notify the sender of the delivery error by e-mail or call Park City Solutions Inc. corporate offices at (435) 654-0621 -----Original Message----- From: Paul Kofon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 12:46 PM To: [EMAIL PROTECTED] Subject: OT: Formatting web pages for printing. Hi all, I'm building a web app for my company that will help us create quotes. The quotes are stored as XML files and get translated/displayed in a frame with XSLT. Problem is when printing the quotes, there's no way to specify what the margins should be. I've tried setting the attributes of the body tag in the XSL style-sheet but I'm not getting satifactory results. I don't want the user to depend on the browser's Page Setup settings for determining what the page would look like finally. Is there a way to set the page margins using a style-sheet or something? If there is, I'd like to know, thanks. Regards, Paul _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>