James Burton created FOP-2309:

             Summary: [PATCH] Unfinished PCL Color printing patch
                 Key: FOP-2309
                 URL: https://issues.apache.org/jira/browse/FOP-2309
             Project: Fop
          Issue Type: Improvement
          Components: pcl, svg
    Affects Versions: 1.1
         Environment: I'm currently testing in windows only, but should apply 
to all
            Reporter: James Burton
             Fix For: 1.1

This patch adds the following:
  - Supports color printing
  - Replaces the run-length compression routine with one that will try 
run-length, tagged image file format, delta row and if need be unencoded, which 
ever is smallest.
  - Handles images set to the left of the printable area, it will clip the 
image by not sending down those bits.

The code currently has these issues (and would love suggestions on how to do 
  - Need a way to specify if the printer supports color.  You will get garbage 
if you send color commands to an old black and white printer (although most 
newer black and white printers will emulate color with greyscale).  It is 
currently controlled in the code with this line "final boolean 
  - Color images are currently not scaled.  This is because the application I'm 
writing only expects FOP files with SVG.  And SVG is always rendered to a 300 
dpi 24 bit color image before being sent to the PCL module.  This works for me.
  - Should have a attribute for setting speed vs size of PCL output.

This message was sent by Atlassian JIRA

Reply via email to