| Home: Products: Microsoft® Visual C# .NET Barcode FAQ & Tutorial: |
IDAutomation.com provides several products and options for implementing
barcodes in Visual C# .NET with
flexible license agreements
to meet a variety of needs including single user licenses and royalty-free
developer licenses. The following chart may be used to determine the best
product needed: |
| Product(s): | Advantages and Disadvantages: |
| Code 39 Barcode Fonts |
|
| .NET Barcode Forms Controls |
|
| ASP.NET Barcode Web Server Controls |
|
| IDAutomation.cs C# Class File with Barcode Fonts |
|
| Native Windows Barcode DLL with Barcode Fonts or the Universal Barcode Font |
|
| PDF417 Font and Encoder or the Data Matrix Font and Encoder |
|
| Barcode ActiveX Controls |
|
| Crystal Reports Barcode Integration | When printing with Crystal Reports, refer to the Crystal Reports Barcode Integration Guide for the best implementation method. |
| IDAutomation.cs Class Barcode Font Integration Tutorial: |
The IDAutomation.cs class file for C# encapsulates the encoding and printing of barcodes into one object. This class may be used as a template for C# barcoding needs. The class encodes data into the appropriate symbology format and sends the barcoded string to the default printer. It is important that the appropriate IDAutomation fonts are installed before attempting to call the print method of the class.
| Method Name | Font to Use | Purpose |
| Code128(DataToEncode) | IDAutomationC128 | The recommended and primary Code 128 method that will automatically encode any data from ASCII 1 to ASCII 127. This method contains many options. |
| Code128a(DataToEncode) | IDAutomationC128 | Code 128 character set A. |
| Code128b(DataToEncode) | IDAutomationC128 | Code 128 character set B. |
| Code128c(DataToEncode) | IDAutomationC128 | Code 128 character set C. |
| Code128HR(DataToEncode) | Text Font | Returns the human readable version of the data used in the Code128(DataToEncode) method. |
| Interleaved2of5(DataToEncode) | IDAutomationI25 or IDAutomationHI25 |
Formats the return string to the Interleaved 2 of 5 font. |
| Interleaved2of5Mod10(DataToEncode) | IDAutomationI25 or IDAutomationHI25 |
Performs the mod10 checksum calculation for increased accuracy and formats the return string to the Interleaved 2 of 5 font. |
| Code39(DataToEncode) | IDAutomationC39 or IDAutomationHC39 |
Formats the output to print using Code 39 fonts. |
| Code39mod43(DataToEncode) | IDAutomationC39 or IDAutomationHC39 |
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. |
| Codabar(DataToEncode) | IDAutomationCB | Formats the output to print using Codabar fonts. |
| EAN13(DataToEncode) | IDAutomationUPCEAN | Enter EAN-13 with or without a check digit, add-ons are supported. If a check digit is passed in it is ignored, recalculated, and added to the encoded output. Formats output to the UPC/EAN barcode font. |
| EAN8(DataToEncode) | IDAutomationUPCEAN | Formats output to the UPC/EAN barcode font. Enter exactly 7 characters (EAN-8 without the check digit). |
| MSI(DataToEncode) | IDAutomationMSI | Formats data to the MSI font. |
| POSTNet(DataToEncode) | IDAutomationPOSTNET or IDAutomationPLANET |
Enter a single string of Zip, Zip + 4 or Zip + 4 + Delivery Point. The input for this method must be a number and may include dashes and spaces. |
| PrintBarCode(FontName, DataToEncode, FontSize) | na | A print routine that combines the encoded data, the name of the font, and the font size as input parameters then sends the barcode to the default printer. |
| UPCA(DataToEncode) | IDAutomationUPCEAN | Enter UPC-A with or without a check digit, add-ons are supported. Formats output to the UPC/EAN barcode font. |
| Using the Barcode ActiveX Control Within a C# Windows Application: |



When printing with Crystal Reports, refer to the Crystal Reports Barcode Integration Guide for the best implementation method.
|
|
|
roduct Quick Links: [Barcode Fonts | Font Tools | Components | Label Software | Scanners | Printers | RFID | Product Index] |
© Copyright 2003-2008 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.
|
Over 70% of Fortune 100 companies use our products to automate their businesses. |