we have updated from FOP 0.20.5 to 0.94 FOP and since this update we cannot print in duplex-mode because the fop-renderers send on every page a page-Size statement for example in PCL we get on each side a 'ESC &l1O' for landscapeA4 ! when we print this on HP-Printers (HP 4530, HP 4000, Brother Printers ... ) the printer disables the duplex-mode because it recognizes a new Page-size ) only xerox printers ignore the page-size command on every page !
the same problem is with postcript renderer ! you test this by creating a simplex job to a file and insert a few PJL -lines before the job for activating the duplex mode ! Here is our short xsl-code-snippet: maybe there is something wrong !?!? -------------------------------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="fo"> <xsl:template match="WorkTimeLog"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="landscapeA4" page-height="21cm" page-width="29.7cm" margin-top="0.5cm" margin-bottom="0.5cm" margin-left="0.8cm" margin-right="0.8cm"> <fo:region-body margin-top="2.2cm" margin-bottom="1.0cm"/> <fo:region-before extent="3cm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:declarations> <ps:ps-setup-code name="duplex" xmlns:ps="http://xmlgraphics.apache.org/fop/postscript"> << /Duplex true >> setpagedevice </ps:ps-setup-code> </fo:declarations> <fo:page-sequence master-reference="landscapeA4"> <fo:static-content flow-name="xsl-region-before"> <xsl:call-template name="Header"/> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block font-size="8pt"> <xsl:apply-templates select="Data"/> </fo:block> <fo:block> <xsl:value-of select="/WorkTimeLog/Label/EndOfPrint"/> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> ..... ---------------------------------------------------------------------- thanks for help --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
