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
printer.setDuplex( Printer.DUPLEX_VERTICAL );
			else
				printer.setDuplex( Printer.DUPLEX_HORIZONTAL );
		}
		
		boolean mediaSupported = service
				.isAttributeCategorySupported( Media.class );
		printer.setMediaSupported( mediaSupported );
		if ( mediaSupported )
		{
			Object obj = service.getSupportedAttributeValues( Media.class,
					null, null );
			if ( obj != null && obj instanceof Media[] )
			{
				Media[] medias = (Media[]) obj;
				for ( int j = 0; j < medias.length; j++ )
				{
					if ( medias[j] instanceof MediaSizeName )
						printer.addMediaSizeName( medias[j].toString( ),
								medias[j] );
				}
			}
			Media media = (Media) service
					.getDefaultAttributeValue( Media.class );
			if ( media != null )
			{
				if ( media instanceof MediaSizeName )
					printer.setMediaSize( media.toString( ) );
			}
		}