[
https://issues.apache.org/jira/browse/FOP-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Burton updated FOP-2309:
------------------------------
Attachment: ColorDuplexSVG.fop
FOP_1.1_colorPCL.patch
This is the patch for release 1.1. The fop file shows how I've been testing
duplex and color. The rectangles that are drawn should appear at 5 inches from
the top and left edge.
> [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
> Labels: patch
> Fix For: 1.1
>
> Attachments: ColorDuplexSVG.fop, FOP_1.1_colorPCL.patch
>
>
> 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
> it):
> - 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 printerSupportsColor=true;"
> - 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
(v6.1#6144)