I have to use PCL commands in my PDF and PS outputs to control printer trays. Last 2 pages of my output should print from Tray2 and rest of the doucment should print from Tray1. The following are my PCL Command suggested by my printer vendor. To select Tray1 - <ESC>&l8H To select Tray2 - <ESC>&l1H The above control sequence is working file from an ordinary text file. I am able to select print trays and print accordingly. I have the following sample xsl template where I have these escape sequences <!-- The below codings has to be tested for Tray Selection Bug --> <fo:block break-before="page"></fo:block> <fo:block><ESC>&l1HThis should print From Tray 2</fo:block> <fo:block break-before="page"></fo:block> <fo:block><ESC>&l8HThis should print From Tray 1</fo:block> <fo:block break-before="page"></fo:block> <!-- The above codings has to be modified for our Bug --> When I implement this, I am getting all my controls literally printing from the default tray. I am seriously thinking, whether the implementation of Escape sequence is correct or not. Any thoughts?..
Printer control commands cannot be passed through regular content in XSLFO, almost by definition. Apart from this, your understanding how printer controls look like is seriously wrong, as well as your understanding about printer tray selection mechanisms in PDF and PostScript. There are some possiblities to postprocess FOP output to achieve printer tray selection, but this is non-trivial stuff. Please don't use bugzilla to ask questions, there is a fop-user list for this purpose.
batch transition to closed remaining pre-FOP1.0 resolved bugs