Oracle Reports Barcode Font Tutorial
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses. |
IDAutomation offers a wide variety of barcode fonts for various purposes. If in doubt about which to use, IDAutomation recommends using Universal Barcode Font with the Code 128 function. To install IDAutomation's barcode fonts on Windows for Oracle Reports, run the INSTALL.EXE file included in the font package or follow the font installation procedures. Because of the complexities and several different distributions of Unix and Linux systems, IDAutomation does not provide installation assistance for Unix and Linux systems. However, IDAutomation does provide two sets of installation instructions that may help as a guide:
IDAutomation recommends using the Java Solution if possible for Unix and Linux environments.
This PLL library is compatible with any version of Oracle Reports that supports attached libraries. The IDAutomation.pll was developed and tested against Reports 6i and the IDAutomation_Universal.pll is compatible with 10g and above. If used in the database itself, then the version of the database would be any version that supports PL/SQL. PL/SQL source code is also provided for advanced Oracle developers in the IDAutomation.pkg file. Watch the How to create a barcode in Oracle Reports video.







| Oracle Reports Barcode Font Functions | ||
| The methods listed below are only to be used with IDAutomation.pll and the appropriate barcode font. IDAutomation strongly recommends using the IDAutomation Universal Barcode Font with the appropriate Universal Function when generating Code 128 or Interleaved 2 of 5 barcodes. | ||
| Function | Font to use | Notes |
| Code128(DataToEncode,
ReturnType) |
IDAutomationC128 * | This is a "Code 128 Auto" function that will
automatically encode text data from ASCII 1 to ASCII 127. IDAutomation
recommends using the
IDAutomation
Universal Barcode Font with the
Universal Font Methods
in the following situations:
It may be necessary to use the optional ReturnType
for special purposes: |
| Code128a(DataToEncode) | IDAutomationC128 * | Formats output to the Code 128 barcode fonts, character set A. |
| Code128b(DataToEncode) | IDAutomationC128 * | Returns codes formatted to the Code 128 character set B. Formats output to the Code 128 bar code fonts. |
| Code128c(DataToEncode) | IDAutomationC128 * | This code128 function "interleaves" numbers into pairs for high density. |
| I2of5(DataToEncode) | IDAutomationI25 * or IDAutomationHI25 * |
This function "interleaves" numbers into pairs for high density without check digits and formats the return string to the Interleaved 2 of 5 fonts. |
| I2of5Mod10(DataToEncode, ReturnType) |
IDAutomationI25 * or IDAutomationHI25 * |
(DataToEncode, 0) performs the mod10 checksum
calculation for increased accuracy and formats the return string
to the
Interleaved
2 of 5 fonts. (DataToEncode, 1) returns the human readable data with the MOD10 check digit included. (DataToEncode, 2) returns the MOD10 check digit. |
| * When using the IDAutomationC128 or IDAutomationI25 fonts outside of the USA or for GS1-128, IDAutomation recommends using the IDAutomation Universal Barcode Font with the appropriate Universal Function to avoid language and locale incompatibilities. | ||
| Code39(DataToEncode) | IDAutomationC39 or IDAutomationHC39 |
Formats the output to print using Code 39 fonts. |
| Code39Mod43(DataToEncode, ReturnType) |
IDAutomationC39 or IDAutomationHC39 |
(DataToEncode, 0) performs the mod43 checksum
calculation for increased accuracy and then formats the output to
print using
Code 39 fonts. The mod43 checksum is usually required for LOGMARS
and HIBC applications. (DataToEncode, 1) returns the human readable data with the check digit included. (DataToEncode, 2) returns only the check digit. |
| Code93(DataToEncode) | IDAutomationC93 | Formats the output to print with the 2 required check digits using Code 93 fonts. |
| Codabar(DataToEncode) | IDAutomationCB | Formats the output to print using Codabar fonts. |
| EAN13(DataToEncode) | IDAutomationUPCEAN | DataToEncode is a number string of 12, 13, 14, 15, 17 or 18 digits with or without a check digit, add-ons are supported. Formats output to the UPC/EAN barcode font. |
| EAN8(DataToEncode) | IDAutomationUPCEAN | DataToEncode is a number string of 7 or 8 characters (EAN-8 without the check digit). Formats output to the UPC/EAN barcode font. Entering incorrect data will create a barcode containing all zeros. |
| Postnet(DataToEncode, ReturnType) |
IDAutomationPOSTNET or IDAutomationPLANET |
Enter a single string of Zip, Zip + 4 or Zip
+ 4 + Delivery Point or any number of digits for the planet code.
The DataToEncode must be a number and can include dashes and spaces. (DataToEncode, 0) formats output to the POSTNET barcode fonts. (DataToEncode, 1) returns the human readable data with the check digit included. (DataToEncode, 2) returns only the check digit. |
| UPCa(DataToEncode) | IDAutomationUPCEAN | DataToEncode is a UPC-A number string of 11, 12, 13, 14, 16 or 17 digits with or without a check digit, add-ons are supported. Formats output to the UPC/EAN barcode font. |
| Oracle Reports Universal Barcode Font Functions | ||
| The methods listed below are only to be used with IDAutomation_Universal.pll and the IDAutomation Universal Barcode Font Advantage™. | ||
| Function | Font to use | Notes |
| Code128(DataToEncode, ApplyTilde) | IDAutomation_Uni | The recommended and primary Code 128 function that automatically encodes all text from ASCII 1 to ASCII 127. This method contains many options for encoding GS1-128 and includes tilde options to encode functions such as tabs and returns. |
| Code128A(DataToEncode) | IDAutomation_Uni | Formats output to set A of Code-128. Use caution with this option because any lowercase character creates a function. Use the letter "i" for a tab and "m" for a return. For most purposes, it is better to use the C128() function instead of this one. |
| Code128B(DataToEncode) | IDAutomation_Uni | Formats output to Code-128, character set B. For most purposes, it is better to use the C128() function instead of this one. |
| Code128C(DataToEncode) | IDAutomation_Uni | This code128 function "interleaves" even numbers into pairs for high density. An even number of digits is required. For most purposes, it is better to use the C128() function instead of this one. |
| Code39(DataToEncode, N_Dimension, IncludeCheckDigit) | IDAutomation_Uni | Formats the output for bar-coding in Code 3 of 9 with the universal font. A MOD 43 checksum will be calculated if IncludeCheckDigit is true. |
| Codabar(DataToEncode, N_Dimension, StartChar, StopChar) | IDAutomation_Uni | Creates Codabar (aka NW7) with the universal font. StartChar and StopChar are also required as the start and stop characters. Valid start and stop characters are A, B, C and D. |
| I2of5(DataToEncode, N_Dimension, IncludeCheckDigit) | IDAutomation_Uni | This function "interleaves" numbers into pairs for high density without check digits and formats the return string to the universal font. An even number of digits is required. A MOD 10 checksum will be calculated if IncludeCheckDigit is true. |
| Planet(DataToEncode, IncludeCheckDigit) | IDAutomation_Uni | NOTE: Because this bar-code type has a specific height requirement, this function only works with the XS, S or M size of the Universal Font. XS is the normal version, S has the bars narrow by 10% and the M font has the bars narrow by 20%. DataToEncode is a single string of Zip, Zip + 4 or Zip + 4 + Delivery Point. A MOD 10 checksum will be calculated if IncludeCheckDigit is true. |
| Postnet(DataToEncode, IncludeCheckDigit) | IDAutomation_Uni | NOTE: Because this bar-code type has a specific height requirement, this function only works with the XS, S or M size of the Universal Font. XS is the normal version, S has the bars narrow by 10% and the M font has the bars narrow by 20%. DataToEncode is a single string of Zip, Zip + 4 or Zip + 4 + Delivery Point. A MOD 10 checksum will be calculated if IncludeCheckDigit is true. |
Description of the Parts of the Functions:
|
|
|
Product Quick Links: [Barcode Fonts | Font Tools | Components | Label Software | Scanners | Printers | RFID | Product Index] |
© Copyright 2002-2009 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.
|
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses. |