Home: Barcode Fonts: Font Tools: OpenOffice & StarOffice Barcode Tutorial for Base, Calc and Writer |
This tutorial describes how to use our barcode fonts in OpenOffice.org and Sun's StarOffice. The solutions described here are compatible with Star Office 8 and Open Office 2.0 and should be compatible with later releases as well.
Index:
Technical Support Contact | Product Index
Prepare OpenOffice for the use of barcode fonts |
The following will prepare OpenOffice applications such as Calc, Base or Writer for use with our bar code fonts.
Creating barcodes in Calc |
Creating bar codes in Base |
This section is currently under construction. In the interim, you may wish to consider our easy to use Barcode Label Software or Barcode Image Generator products. If you have information that you feel would be beneficial to this section, please contact us.
This section is currently under construction. In the interim, you may wish to consider our easy to use Barcode Label Software or Barcode Image Generator products. If you have information that you feel would be beneficial to this section, please contact us.
The following barcode macros are available: |
The macros listed below are supplied in the file named "IDAutomationVB.bas" which is provided in the download package.
For all functions listed below, the DataToEncode is the string data type. Other data types, such as numbers or dates, may need to be converted to the string data type to be properly encoded. All parameters are required. For example, use Code128("123456"; 0; 0) instead of Code128("123456"). For all number symbologies, such as POSTNET and UPC, you may input dashes or spaces for easier readability and they will be filtered out by the function before the barcode is generated. For UPC-A, UPC-E & EAN-13, the +2 and +5 add-on codes may be created by adding the data to the end of the string.
Function | Font to use | Notes |
Code128(DataToEncode;
ReturnType; ApplyTilde) |
IDAutomationC128 | If you are not sure which Code 128 set is
for your application, then use this one. This is a "Code 128
Auto" function that will automatically encode any DataToEncode from ASCII 0
to ASCII 127. It will automatically switch to character set C for
numbers also. Data may be easily encoded without any options. For
example, the formula Code128("123456") will encode the numbers 123456. It may be necessary to use the ReturnType and ApplyTilde for special purposes.
|
Code128a(DataToEncode) | IDAutomationC128 | Caution: Entering a lower case character will create a function. Use the character values 64 through 95 from set A to print characters not on the keyboard; the scanner will recognize these functions as from set A. Formats output to the Code 128 barcode fonts. |
Code128b(DataToEncode) | IDAutomationC128 | Returns codes formatted to the Code 128 character set B. Formats output to the Code 128 bar code fonts. |
Code128c(DataToEncode; ReturnType) |
IDAutomationC128 | This code128 function "interleaves" numbers
into pairs for high density. (DataToEncode; 0) formats output to the Code 128 barcode fonts. (DataToEncode; 1) returns the human readable text with the check digit included. (DataToEncode; 2) returns only the check digit. |
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. |
Code11(DataToEncode) | IDAutomationC11 | Formats output to the Code11 barcode fonts. Only the "C" check digit is calculated which is the standard when encoding 10 digits or less. |
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. Entering incorrect data will create a barcode containing all zeros. |
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. |
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 font. |
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 font.
MOD 10 checksums are required by USPS for special services and for
SSC-14 when using Interleaved 2 of 5 for that purpose. (DataToEncode; 1) returns the human readable data with the MOD10 check digit included. (DataToEncode; 2) returns the MOD10 check digit. |
MOD10(DataToEncode) | not applicable | Returns the MOD 10 check digit for a given string of numbers according to the UCC/EAN method. |
MSI(DataToEncode; ReturnType) |
IDAutomationMSI or IDAutomationHMSI |
(DataToEncode; 0) formats output to the
MSI barcode
fonts. (DataToEncode; 1) returns the human readable data with the check digit included. (DataToEncode; 2) returns only the check digit. |
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. |
RM4SCC(DataToEncode) | IDAutomationRM | Formats the output to print using RM4SCC fonts. Checksum calculated according to the mailsort customer barcoding specification. |
SpliceText(DataToEncode; SpacingNumber; ApplyTilde) | Text font | Returns text with a space inserted every SpacingNumber of digits to improve readability. If ApplyTilde is set to True, the tilde will be processed as described here. |
UCC128(DataToEncode) | IDAutomationC128 | This symbology option calls the Code128() method with the Tilde option enabled and the FNC1 character in set C as required. It is often an easier method to use when encoding an even number of number digits. For example, to encode an SSCC-18 barcode, you would enter 00000123455555555558 as the data input. For more information, please visit here. Formats output to the Code 128 barcode fonts. |
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. Entering incorrect data will create a barcode containing all zeros. |
UPCe(DataToEncode) | IDAutomationUPCEAN | DataToEncode is a UPC-E number of 6, 7 or 8 digits or a UPC-A number string of 11, 12, 13, 14, 16 or 17 digits with or without a check digit, add-ons are supported only with 13, 14, 16 or 17 digits. Formats output to the UPC/EAN barcode font. Entering incorrect data will create a barcode containing "00005000000". UPC-E1 is supported when the first character is "1" instead of "0". |
* NOTE: You must use Interleaved 2 of 5 fonts dated May 1, 2001 or later for Interleaved 2 of 5 functions. You MUST use Code 128 fonts dated December 2000 or later for Code 128 functions.
About the free barcode font |
We offer a free, fully functional Code 39 bar code font. This product may be freely used by individuals and organizations that have gross annual revenue of less than $500,000 USD or are classified as nonprofit for tax purposes excluding government and military organizations. This product may also be freely used by educational organizations such as schools and universities. Any other use requires a purchase of our Code 39 Font Advantage Package to be properly licensed. We also offer fully functional demo versions of our products available for download.
|
Product Links: [Barcode Fonts | Barcode Components | Barcode Label Software | Barcode Scanners] |
Copyright
© 2000-2006 IDAutomation.com, Inc. IDAutomation and BizFonts are
registered trademarks of IDAutomation.com, Inc.. All
other trademarks
mentioned are the property of their respective owners.
Over 70% of Fortune 100 companies use our products to automate their businesses. |