Overview

Barcode generation is supported in SEQUEL Software’s Client Report Option (CRO). Unfortunately, many users have found that applying a free barcode font to a data field may result in something that prints like a barcode, but does not scan like a barcode—if it scans at all. Generating accurate, scannable barcodes with CRO requires three items:

First, your data—the field (or fields) from your data file that you want to convert to a barcode. Along with this, the data must be formatted to the specifications required by the barcode you want to create as each type requires a specific format, length, checksum, and so on. Luckily, the next item will take care of this formatting for you.

Next, you need to acquire a third-party Barcode Font UFL (User Function Library). This UFL adds a set of Crystal functions to the formula editor for each barcode the vendor supports. Each function converts a string or data field to the proper format based on the desired barcode type. You use these functions with your data field like you would any other Crystal function. Without the function to first process the data, the barcode will not scan correctly.

Lastly, you need a font package for the barcode to be generated. The same UFL vendor will offer (always for a fee) corresponding fonts for any barcode you want to create. Once the CRO formula field is added to the report layout, it must be formatted to use the barcode font that corresponds to the function. So, if you use the UPC function, then you must format the new field with the UPC font.

In the section that follows we will detail the use of a UFL and font to generate a UPC type barcode. The UFL and font package used are a demo version offered by IDAutomation.com. A web search for ‘Crystal Barcode Fonts’ will yield many vendors for you to choose from.


Example

Once you have a font UFL and font set downloaded and installed on your PC, use the following steps to create and format a barcode in CRO.

  1. Either create a new Client Report, or open an existing report for design.
    Inside the designer, right-click Formula Fields in the left panel and select New.

    If you don’t see the Formula Fields node, make sure the Fields Explorer
    is displayed by selecting View\Field Explorer from the main
    menu.


  2. Give the new formula a name and press OK to continue.


  3. Starting with a blank Formula Editor, expand the Additional Functions in the center function section to locate the third-party barcode functions. Here we see the IDAutomation functions.

    Double-click the function that corresponds to the barcode you want to create. In this example the UPC-a barcode function is selected.


    To apply the function to a data field, place your cursor between the two parenthesis of the function and double-click the appropriate field from the CRTABLE field list.
    The field (PRDNO in the example) is placed inside the function. Press Save and Close to return to the report editor.
     
  4. Drag-and-drop the new formula field from the field list in the left panel of the designer to the detail section (in most cases) of the report. Now you need to format the field with the correct barcode font.

    Right-click the field, and select Format Field from the menu.


  5. In the Format Editor, open the Font tab and use the Font drop-down to choose a font. Remember you have to use a font that corresponds to the barcode type function selected for the field. In this example a UPC function was used, so a corresponding UPC font is selected.


    Typically a 12pt font is used. Many of the fonts have a small, medium, and large option that sets the overall size of the final barcode. You can experiment with this combination to create the size you prefer. Press OK to exit and save your changes.

  6. Back at the report editor, press the Preview tab to see how the barcode will look.

     
  7. Finally, just save the report and you are ready to print your barcodes.


ViewPoint Server Considerations

If you plan to use a ViewPoint server to process your barcode report with the Run Remote command (RUNRMTCMD), a registry key is required on the server PC.

  1. In the Widows Registry navigate to the following location:
    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\BUSINESS OBJECTS\SUITE 12.0\CRYSTAL REPORTS\EXPORT\PDF
     
  2. Add a new DWORD key - “ForceLargerFonts” - and set its value to: 00000001

This process is described in the SAP article located here:

http://search.sap.com/notes?id=0001969209&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F646
53D3939382669765F7361706E6F7465735F6E756D6265723D30303031393639323039

 

 

Still have questions? We can help. Submit a case to technical support

Last Modified On:
You don't have the appropriate permissions.
No, open a new Support Case