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.setService( service );
		return printer;
	}
	/**
	 * Handle back slash issue for printer name
	 * 
	 * @param str
	 * @return
	 */
	public static String handleSlash( String str )
	{
		if ( str == null )
			return null;
		StringBuffer buf = new StringBuffer( );
		for ( int i = 0; i < str.length( ); i++ )
		{
			if ( str.charAt( i ) == '\\' )
			{
				buf.append( '\\' );
				buf.append( '\\' );
			}
			else
			{
				buf.append( str.charAt( i ) );
			}
		}
		return buf.toString( );
	}
}