Here I will show you how to use barcode fonts in Oracle Report builder 10g and Application Server 10g.
To use barcode font in Oracle Report builder 10g you have to simply install the barcode font on your development machine. But to apply barcode font in the Oracle Application server 10g (which will render your report) you have to install font as well as you have to do following steps:-
1. Get the genuine barcode font. It should be .ttf file. I am using IDAutomationHC39M.ttf barcode font. Install this font on your development as well as server machine where reports will run. You can install font by simply pasting the .ttf file in the C:\Windows\Fonts
2. Open C:\Oracle\FRHome_1\forms\server\default.env. Find CLASS_PATH located at the end of 'default.env'. Add 'C:\WINDOWS\Fonts' at the end of this variable. Their should be a semicolon (;) separating the paths except the end.
3. Open C:\Oracle\FRHome_1\tools\common\uifont.ali
In the [ PDF : Subset ] section add
IDAutomationHC39M = "IDAutomationHC39M.ttf"
4. Now you can use barcode font in the report builder by applying the barcode font to you text like you apply other fonts like Arial etc.
5. Restart the application server or the machine. Run the report and you will see you text in barcode.
Note: Remember the client (who is seeing the report) should also have the fonts installed on his/her machine.
To use barcode font in Oracle Report builder 10g you have to simply install the barcode font on your development machine. But to apply barcode font in the Oracle Application server 10g (which will render your report) you have to install font as well as you have to do following steps:-
1. Get the genuine barcode font. It should be .ttf file. I am using IDAutomationHC39M.ttf barcode font. Install this font on your development as well as server machine where reports will run. You can install font by simply pasting the .ttf file in the C:\Windows\Fonts
2. Open C:\Oracle\FRHome_1\forms\server\default.env. Find CLASS_PATH located at the end of 'default.env'. Add 'C:\WINDOWS\Fonts' at the end of this variable. Their should be a semicolon (;) separating the paths except the end.
3. Open C:\Oracle\FRHome_1\tools\common\uifont.ali
In the [ PDF : Subset ] section add
IDAutomationHC39M = "IDAutomationHC39M.ttf"
4. Now you can use barcode font in the report builder by applying the barcode font to you text like you apply other fonts like Arial etc.
5. Restart the application server or the machine. Run the report and you will see you text in barcode.
Note: Remember the client (who is seeing the report) should also have the fonts installed on his/her machine.
No comments:
Post a Comment