DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31674>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31674 Allow Print Renderer to select Printer and Tray. Summary: Allow Print Renderer to select Printer and Tray. Product: Fop Version: 0.20.5 Platform: PC OS/Version: Linux Status: NEW Severity: Enhancement Priority: Other Component: awt renderer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] [PATCH] 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.