Steps to installation and configuration barcode fonts using oraclebarcode.jar on Oracle Application Server 10g.
1. Download barcodebeanpaper-133790.zip from www.oracle.com/technetwork/middleware/reports/barcodebeanpaper-133790.zip
2. Extract barcodebeanpaper-133790.zip to a folder.
3. On Client which installed Oracle Report Builder (Windows OS)
3.1 Open registry in windows: Start -> Run -> Regedit
3.2 Find key: HKEY_LOCAL_MACHINE -> SOFTWARE -> ORACLE -> HOME
3.3 In right window, find key: REPORTS_CLASSPATH, edit key and add line follow
C:\orant10g\reports\jlib\oraclebarcode.jar;
With C:\orant10g is folders which you installed Developer Suite 10g.
3.4 Copy file oraclebarcode.jar from unzip folder (scripts subfolder) in step 2 to C:\orant10g\reports\jlib\
3.5 Create report (rdf file) with barcode follow guide in doc subfolder (obr_barcode.pdf).
4. On Oracle Report Servers (Linux Server).
4.1 Copy file oraclebarcode.jar to $ORACLE_HOME\reports\jlib\ folder.
4.2 Edit configuration file in $ORACLE_HOME/reports/conf/rep_<server_name>.conf
<engine id=”rwEng” class=”oracle.reports.engine.EngineImpl” initEngine=”1″ maxEngine=”1″ minEngine=”0″ engLife=”50″ maxIdle=”30″ callbackTimeOut=”60000″classPath=”/u01/app/frs/reports/jlib/oraclebarcode.jar” jvmOptions=”-Dsun.java2d.pmoffscreen=false”>
4.3 Edit reports.sh file in $ORACLE_HOME/bin/reports.sh
Add 2 lines follow:
DISPLAY=servername:1.0; export DISPLAY
REPORTS_DEFAULT_DISPLAY=NO; export REPORTS_DEFAULT_DISPLAY
4.4 Add 3 lines in bottom of file: /etc/profile to add DISPLAY for every user when login