Hello Torsten,

maybe you could use a xsl parameter for those settings which would be passed
during the invocation of FOP.


Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
Internet: http://www.t-systems.de

> -----Ursprüngliche Nachricht-----
> Von: Torsten Erler [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 18. April 2002 17:46
> An: Fop-Dev (E-mail)
> Betreff: Printing Page Setup
> Hi all
> I've a problem with setup the printed page sizes.
> In the Application the user (must have) has the possibility 
> to change the
> papar format of the printed documents. I'm using AWTRenderer 
> to preview some
> files on screen before printing.
> My xsl templates have an  Page Master like this:
> <fo:simple-page-master master-reference="A4" width="...
> If the user wants to print out the rendered page for example in letter
> format with defined margines I've to scale width and height 
> of the rendered
> page before sending graphic to printer. I cannot using 
> scalefactor because
> of the geometry of the page isn't compatible to the original. 
> Can anyone
> explain me what I've todo. Writing different templates for 
> each possible
> Paper-Size isn't acceptable.
> ThanX Torsten (German java-Developer)
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

Reply via email to