Bug 185441 Possible Javascript error when a server printer has "media size" in inches
This bug concerns server-side printing. Among standard sheet sizes (a4, a3, ...), some entries like 10"x14" etc. might appear. In that case, an incorrect string might be generated by the PrintReportDialogFragment.jsp since double-quotes are not unescaped.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/PrintUtility.java
if ( collate != null )
				printer.setCollate( Boolean.valueOf( collate ).booleanValue( ) );
			String duplex = ParameterAccessor.getParameter( request,
					PARAM_PRINTER_DUPLEX );
			if ( duplex != null )
				printer.setDuplex( Integer.parseInt( duplex ) );
			String mode = ParameterAccessor.getParameter( request,
					PARAM_PRINTER_MODE );
			if ( mode != null )
				printer.setMode( Integer.parseInt( mode ) );
			String mediaSize = ParameterAccessor.getParameter( request,
					PARAM_PRINTER_MEDIASIZE );
			if ( mediaSize != null )
				printer.setMediaSize( mediaSize );
		}
		return printer;
	}
	/**
	 * Find all the printer resources on the server
	 * 
	 * @return
	 */
	public static List findPrinters( )
	{
		List printers = new ArrayList( );
		PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet( );
		DocFlavor flavor = DocFlavor.INPUT_STREAM.POSTSCRIPT;
		PrintService[] printServices = PrintServiceLookup.lookupPrintServices(
				flavor, pras );
		if ( printServices != null )