Bug 144577 Print in Web Viewer doesn't work in Linux
Description: Print in Web Viewer doesn't work in Linux Steps to reproduce: 1. New a report 2. Preview in Web Viewer and click Print button Expected result: Page is printed Actual result: Nothing happened.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/BirtUtility.java
out.flush( );
		out.close( );
	}
	/**
	 * Handle print action
	 * 
	 * @param request
	 * @param response
	 * @throws Exception
	 */
	public static void doPrintAction( InputStream inputStream,
			HttpServletRequest request, HttpServletResponse response )
			throws ServletException, IOException, RemoteException
	{
		Printer printer = PrintUtility.getPrinter( request );
		response.setContentType( "text/html; charset=utf-8" ); 
		if ( printer != null )
		{
			PrintUtility.execPrint( inputStream, printer );
			writeMessage(
					response.getOutputStream( ),
					BirtResources
							.getMessage( "birt.viewer.dialog.print.complete" ), IBirtConstants.MSG_COMPLETE ); 
		}
		else
		{
			writeMessage(
					response.getOutputStream( ),
					BirtResources.getMessage( "birt.viewer.error.noprinter" ), IBirtConstants.MSG_ERROR ); 					
		}