You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2003/06/19 19:10:00 UTC

DO NOT REPLY [Bug 20923] New: - Render PCL controls using XSL template

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20923>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20923

Render PCL controls using XSL template

           Summary: Render PCL controls using XSL template
           Product: Fop
           Version: all
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: sashi@saksoft.com


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>&lt;ESC&gt;&amp;l1HThis should print From Tray 2</fo:block>
      <fo:block break-before="page"></fo:block>
      <fo:block>&lt;ESC&gt;&amp;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?..

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org