Community
Participate
Working Groups
I need a parameter in the URL so it is possible to sent documents directly to a printer without user interaction. For example an additional format : __format=print should make this happen. Example : http://server01:8080/birt-viewer/run?__report=Report/testreport.rptdesign&__format=print It is possible to have better alternative's. I'm open for better solutions. And of course, I'm available for testing this.
There is a project proposal in 2.2 to support postscript output format. Also need to enhance engine API to allow application to set printer and print setting for the selected printer.
1. engine should implement a postscript emitter. 2. viewer should call the printer setup and send the postscript files to the printer.
once engine done, please implement this for viewer side.
Add a new icon : "Print report on the server" in Web Viewer toolbar. Currently, we only support print postscript file. User should set up a printer which supports postscript stream. In print report dialog, user can select printer and other print settings. Of course, user also can specify these settins in URL. ============================================================================= __page : Numeric Specify which page will be output. It should be a number. __pagerange : String separated with comma. Specify the output page range. For example : 1-4 or 1, 3, 6.If blank, default to all pages. __printer : String Specify the selected printer name. __printer_copies : Numeric Specify copies attribute for printer __printer_collate : true of false (Default to false) Specify collate attribute for printer __printer_duplex : DUPLEX_SIMPLEX:0,DUPLEX_HORIZONTAL:1,DUPLEX_VERTICAL:2 Specify duplex attribute for printer __printer_mode : MODE_MONOCHROME:0,MODE_COLOR:1 Specify color mode attribute for printer __printer_pagesize: String Specify media size name attribute for printer __action : String Specify action name. Currently, use "print" to indicate printing report on the server =============================================================================== If disable print function, please set BIRT_VIEWER_PRINT_SERVERSIDE to OFF value in web.xml.Default value is ON, please check it.