# 11.6 Generating a Barcode PDF File

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 11-4 to determine which feature best suits your application needs.

## 11.6.1 Font Embedding

The steps involved in generating a barcode PDF file using the font embedding feature are as follows:

1. Set the REPORTS_PATH environment variable to the font directory containing the Type1 font.

2. 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\

Example

[ PDF:Embed ]

3. Create a report having Barcode data and set its font to the one specified in the example.

4. Run a report with DESTYPE=FILE DESFORMAT=PDF.

## 11.6.2 Font Subsetting

The steps involved in generating a barcode PDF file using the font subsetting feature are as follows:

1. Set the REPORTS_PATH environment variable to the directory containing the TrueType font. For example, C:\WINNT\Fonts.

2. 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\