Skip Headers
Oracle® Fusion Middleware Publishing Reports to the Web with Oracle Reports Services
11g Release 1 (11.1.1)

Part Number B32121-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

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\
      frcommon\guicommon\tk\admin

    Example

    [ PDF:Embed ]
    SAdHC39a = "SAdHC39a.pfm SAdHC39a.pfb"
    
  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\
      frcommon\guicommon\tk\admin

    Example

    [ PDF:Subset ]
    SAdHC39a = "SAdHC39a.ttf"
    
  3. Create a report having barcode data and set it to the font specified in the example.

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