|
Our Bar Code Check Digit Calculator & Printing Application with Visual Basic source code works with POSTNET, Code 39, Codabar, Interleaved 2 of 5, Code 128 (sets A, B & C), UPC-A, EAN-13, EAN-8, EAN-128, UCC-128, MSI / Plessy, Code 11, RM4SCC, PLANET, 4-State, SSCC-18 and SCC-14 barcode specifications. This barcode application will do the following:
- Calculate check digit or checksum characters for barcodes that require them.
- Show you the characters to type in to reproduce a correctly formatted barcode.
- Copy the entire barcode printable string to the clipboard, making it easy to paste bar codes into any Windows application.
- Print bar code fonts to your printer.
- Provide Visual Basic and Visual FoxPro source code to allow programmers to easily integrate barcode printing into their applications.
You may use the application to calculate check characters for other implementations as well. The application is distributed as shareware and is compatible with Windows 95, 98, NT 3.51, NT 4.0, Windows 2000 and Windows XP.
The Visual Basic (VB) 6.0 and Visual FoxPro (VFP) source code for the application allows developers to print barcodes directly from their applications without the use of DLL or OCX files. Programmers that are coding in another programming language can also use the source code as guideline.
After the application is installed it can be accessed by an icon placed in Start - Programs - Group where group is the group you specified during installation. In this example we create a barcode encoding the data "Code 128 Test" in a MS Word document. NOTE: You MUST use Code 128 fonts version 2.0 and above for the Code 128 and UCC128 functions.Step 1: After the application Start s up, we enter "Code 128 Test" in the "data to encode in barcode" field. We choose the "Copy to Clipboard" option and press the "Code 128 Set B" button.Step 2: In our MS Word application, we place the cursor on the area we want the barcode, then we choose the ID-AutomationC128M font. NOTE: When selecting the font from the pull down menu, be sure not use the fonts that begin with the "@" Symbol. Instead, scroll down in the list and select the ones that begin with "ID-Automation".Step 3: Then we choose Edit - Paste to place the barcode into the application.
This application can also be used to print barcodes on other operating systems such as the Macintosh. For example, if we need to place a UPC-A barcode in a Macintosh document, this is what we do: Start the Bar Code Check Digit Calculator & Printing Application on a Windows PC. Enter the UPC-A number you need to encode in a barcode (in this case lets say it is "20348934382"). We then choose the UPC-A button. The "string to print the barcode" will display the characters you will need to type on the Macintosh to create the barcode, in this case it displays "W(c03489*NONSMm(W". In your application on the Macintosh, select the font "ID-AutomationUPCEANL" and then type the characters of the string into the document.
It is our intention to write our Visual Basic source code using as few functions as possible to allow for easy conversion to other programming languages. If you create source code in another language and would like to share it with others, please contact us. In some cases we can provided a discount for our products if you provide working source code that would be beneficial to others.
The following table is a list of common Visual Basic functions used in our source code and what they do:
VB Function | What it does |
Asc(charater) | Converts a character to the ASCII value |
Chr(n) | Returns the character represented by the number n in ASCII |
Len(string) | Returns the length of a string |
Mid(string, x, n) | Returns n number characters from a string Starting from location x |
(number Mod n) | Returns the remainder after number is divided by n |
Right$(string, n) | Returns n characters Starting from the right of the string |
RTrim(LTrim(string)) | Removes spaces before and after a string |
NOTE: You MUST use Code 128 fonts version 2.0 and above for the Code 128 and UCC128 functions.
For all functions below the input type is a single string. 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 you can enter the +2 and +5 add-on codes by just adding them to the end of the string.
Function | Notes |
Code128() | 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 data from ASCII 0 to ASCII 127. It will automatically switch
to character set C for numbers also. To encode alpha-numeric UCC/EAN-128, ASCII 202 or character � is entered as the FNC1 before each AI. For example, the UCC number of (8100)712345(21)12WH5678 should be entered as: �8100712345�2112WH5678. |
Code128a() | Use the characters from set B to print characters not on the keyboard; the scanner will scan characters from set A. |
Code128b() | |
Code128c() | This code128 function "interleaves" numbers into pairs for high density. |
Interleaved2of5() | This function also "interleaves" numbers into pairs for high density without check digits. |
Interleaved2of5Mod10() | Performs the mod10 checksum calculation for increased accuracy. Required by USPS for special services. |
Code39() | |
Code39Mod43() | Performs the mod43 checksum calculation for increased accuracy. |
Codabar() | |
UCC128() | Supports UCC-128, EAN-128, SCC-18 and SCC-14. FNC1 automatically included after Start digit, enter "FA" between even numbers for additional FNC1 Codes. |
Postnet() | Enter a single string of Zip, Zip + 4 or Zip + 4 + Delivery Point. |
RM4SCC() | Checksum calculated according to the mailsort customer barcoding specification. |
MSI() | Formats one MOD10 check character |
Code11() | Only the "C" check digit is calculated which is the standard when encoding 10 digits or less. |
UPCa() | Enter UPC-A with or without a check digit, add-ons are supported. |
UPCe() | Enter the full 11 or 12 digit UPC-A number. The purpose of this function is to print the UPC-E barcode from a UPC-A barcode that can be compressed. It will print a UPC-A if it cannot be compressed by zero suppression rules. |
EAN13() | Enter EAN-13 with or without a check digit, add-ons are supported. |
EAN8() | Enter exactly 7 characters (EAN-8 without the check digit). |
Special ! Free Choice of Complete Excel Training Course or Excel Add-ins Collection on all purchases totaling over $70.00. ALL purchases totaling over $150.00 gets you BOTH! Send payment proof to [email protected] 31 days after purchase date. All purchases can be made via Id-Automations site
See Also: Barcodes - Fonts, ActiveX, labels and DLL's Index. Barcode MICR CMC-7 || Codabar Barcode Font || Code 11 Barcode Font || Code 128 Barcode Font || Code 25 Barcode Font || Code 39 Barcode Font || Code 93 Barcode Font || Code39 Full ASCII Barcode Font || Data Matrix Encoder || Interleaved 25 Barcode Font || MICR E13B Font || MSI Barcode Font || OCR Font || PDF417 Encoder || Telepen Barcode Font || UPC EAN Barcode Font
Instant Download and Money Back Guarantee on Most Software
Excel Trader Package Technical Analysis in Excel With $139.00 of FREE software!
Microsoft � and Microsoft Excel � are registered trademarks of Microsoft Corporation. OzGrid is in no way associated with Microsoft
GIVE YOURSELF OR YOUR COMPANY 24/7 MICROSOFT EXCEL SUPPORT & QUESTIONS