![]() ![]() |
The
C# IDAutomation.cs class file combines 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 calling the print method of
the class.
Note: Use of this C# Class, requires a Developer License or above. This font encoder is supplied with Purchase of Developer's License or above of any Barcode Font Package.
using IDAutomation_FontEncoder;
clsBarCode IDAutomationBarcodeObject = new clsBarCode();where IDAutomationBarcodeObject is the name for the instance of this object. When finished using the object, it is recommended to destroy it to free memory. Example:
IDAutomationBarcodeObject = null;
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. |
©Copyright 2019
IDAutomation.com, All Rights Reserved.
Legal
Notices. Barcode Fonts | Components | Scanners | Support | Contact Us |
|
![]() ![]() ![]() ![]() ![]() Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses. |