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

Re: FW: Output formatting

Subject: Re: FW: Output formatting
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 18 Mar 2006 20:35:59 -0500
page setup orientation itext
At 2006-03-17 09:34 +0200, Linda Burgess wrote:
We use Apache FOP 0.20.5 generating PDF (on Linux).

I can't answer FOP-specific questions because I do not use it, but I can comment on your other questions.


I have a couple of problems:
1 - certain pages of the output should be printed from certain printer
trays (printing debtor invoices the first page for each debtor must be
printed on a letterhead).  How do I use printer escape codes in my
XSL-FO?

XSL-FO is an abstract expression of the intent of what needs to be formatted, it doesn't specify a direct control of output devices. There are no abstractions for selecting printer trays, but you might find some XSL-FO engines that offer extensions that would trigger behaviours that you need (though I'm not familiar enough with the extensions available to know if this might be there for you).


2 - we cannot figure out how to print to continuous stationery eg.
cheques.  If we set up the page-master the exact size of the cheque, it
prints landscape (height less than width?).

Are you going to PDF? If the page dimensions in the PDF reader are accurate, then it would be a printer facility for ensuring correct orientation and feeding of the paper ... again not an issue of XSL-FO.


We also tried to set the
page-master size very, very big, but this then just prints the detail
very, very small.

From that evidence it sounds like a "print to fit" function is somehow turned on in your reader.


Will it work if we use a A4 size page with no margins
- I am not very confident?

I think you should be using precise dimensions.


Should we change the output format to
something other than PDF?

Ah, so you are using PDF. I think your problem is between PDF and the printer, not between XSL-FO and PDF.


3 - what constraints are there on output file size, before it will run
out of memory?

That is tool dependent and I will leave it for people with FOP experience to comment.


Is there software that will string different PDF-files together?

When I need to do this, I use the http://itext.sf.net Java library, calling the functions from a Python program running in the Jython environment.


I hope this helps.

. . . . . . . . . . Ken

--
Upcoming XSLT/XSL-FO hands-on courses: Washington,DC 2006-06-12/16
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

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.