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
break;
				case Printer.DUPLEX_VERTICAL :
					pas.add( Sides.TUMBLE );
					break;
				default :
					pas.add( Sides.ONE_SIDED );
			}
		}
		
		if ( printer.isModeSupported( ) )
		{
			switch ( printer.getMode( ) )
			{
				case Printer.MODE_MONOCHROME :
					pas.add( Chromaticity.MONOCHROME );
					break;
				case Printer.MODE_COLOR :
					pas.add( Chromaticity.COLOR );
					break;
				default :
					pas.add( Chromaticity.MONOCHROME );
			}
		}
		
		if ( printer.isMediaSupported( ) && printer.getMediaSize( ) != null )
		{
			MediaSizeName mediaSizeName = (MediaSizeName) printer
					.getMediaSizeNames( ).get( printer.getMediaSize( ) );
			if ( mediaSizeName != null )
				pas.add( mediaSizeName );