This section outlines the steps involved in generating a PDF file with barcode information. Before using the font features covered in this section, refer to Table 10-4 to determine which feature best suits your application needs.
The steps involved in generating a barcode PDF file using the font embedding feature are as follows:
Set the REPORTS_PATH environment variable to the font directory containing the Type1 font.
Open the uifont.ali file and include the following under the font embed [PDF:Embed] section.
Note:
The uifont.ali file is located in the following directory on Windows and UNIX:
ORACLE_INSTANCE\config\FRComponent\
frcommon\guicommon\tk\admin
Example
[ PDF:Embed ] SAdHC39a = "SAdHC39a.pfm SAdHC39a.pfb"
Create a report having Barcode data and set its font to the one specified in the example.
Run a report with DESTYPE=FILE DESFORMAT=PDF.
The steps involved in generating a barcode PDF file using the font subsetting feature are as follows:
Set the REPORTS_PATH environment variable to the directory containing the TrueType font. For example, C:\WINNT\Fonts.
Open the uifont.ali file and edit the [PDF:Subset] section to specify the TrueType font name.
Note:
The uifont.ali file is located in the following directory on Windows and UNIX:
ORACLE_INSTANCE\config\FRComponent\
frcommon\guicommon\tk\admin
Example
[ PDF:Subset ] SAdHC39a = "SAdHC39a.ttf"
Create a report having barcode data and set it to the font specified in the example.
Run a report with DESTYPE=FILE DESFORMAT=PDF.