simon steiner updated FOP-933:
    Summary: [PATCH] Allow Print Renderer to select Printer and Tray.  (was: 
Allow Print Renderer to select Printer and Tray.)

> [PATCH] Allow Print Renderer to select Printer and Tray.
> --------------------------------------------------------
>                 Key: FOP-933
>                 URL: https://issues.apache.org/jira/browse/FOP-933
>             Project: FOP
>          Issue Type: Improvement
>          Components: renderer/awt
>    Affects Versions: 0.20.5
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: Andres Galeano
>         Attachments: diff.txt
> Hello,
> I have added tested and deployed code that allows the Print Renderer to 
> select a
> Printer and a Tray.
> I'm going to try to attach my patch to this bug report. (although I don't see
> that attach option at the moment...)
> I added code to add a logger, and changed the margins a bit.  I really did not
> intend to include these changes in the patch, but I did not feel confident
> enough to rip them out with out re-testing everything.  I thought a savvy
> developer could weed though the mistake and grab the important Printer and 
> Tray
> code.
> I also added an option to not exit when the task is completed.  This made it
> easier for me to call the FOP Java classes from my Java code.
> Finally I ended up using environment variables for my options.  I really don't
> think this is a good idea, but I did not have the time to add real parameter
> options to the fop code.
> Any way, I realize this may be too sloppy to use, and I apologize.  I figured 
> I
> should offer it any way, since I may not be the only developer interested in
> selecting a printer and tray to print to. (I really hope to offer a cleaner
> version of this in the future, if it's something FOP is interested in.)
> Thanks alot,
> Andy.

This message was sent by Atlassian JIRA

Reply via email to