Bug 158748 - Direct print/ Silent print
Summary: Direct print/ Silent print
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 2.2.0 M6   Edit
Assignee: Jerry Cheng CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on: 169053
Blocks:
  Show dependency tree
 
Reported: 2006-09-26 09:59 EDT by Marten Nienhuis CLA
Modified: 2007-03-29 21:53 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marten Nienhuis CLA 2006-09-26 09:59:09 EDT
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.
Comment 1 Wenfeng Li CLA 2006-09-26 21:09:00 EDT
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.

Comment 2 Wei Yan CLA 2006-12-25 22:23:20 EST
1. engine should implement a postscript emitter.
2. viewer should call the printer setup and send the postscript files to the printer.
Comment 3 Ivy Li CLA 2006-12-27 13:57:27 EST
once engine done, please implement this for viewer side. 
Comment 4 Jerry Cheng CLA 2007-03-29 21:53:25 EDT
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.