New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions

How to encode functions from values using the ASCII table?



09-13-12     12.1 year(s) ago    

  Report Abuse

 

Ben

Best Answer

When encoding non-printable ASCII such as RS, GS, and EOT, IDAutomation recommends testing the result with the Barcode Decoder App because it reveals these characters in the result to verify proper encoding.

To encode functions such as a TAB, RETURN, RS (Record Separator), and GS (Group Separator) in IDAutomation Barcode products, a property/parameter named ApplyTilde or ProcessTilde must be enabled.

To determine the function to encode, use the ASCII Chart


HOW TO SET APPLY TILDE:

- Barcode Applications such as the Barcode Image Generator or Barcode Label Software , the Apply Tilde option must simply be checked.

Example of Apply Tilde in the Image Generator: image

Example of Apply Tilde in the Label Software: image


- Barcode Components such as the ASP.NET Server Control, .NET Forms Control, ActiveX Control, or Java Component can set Apply Tilde directly or through code or from the property of the control.

Example of Apply Tilde in the Linear ActiveX Control:
image

Example of Apply Tilde in the Data Matrix ActiveX Control:
image


- Barcode Fonts can set the Apply Tilde though the font encoder used.

Example of Apply Tilde in the VBA Font Encoder:
image


Once Apply Tilde is (set to True, enabled, checked, set to Yes, or set to 1) for Code 128, Data Matrix, Maxicode, Aztec, QR Code, PDF417, and Aztec, functions can be encoded.
____________________________________________________________

HOW TO ENCODE FUNCTIONS:

- Encode Functions for PDF417 or CODE128
Begin by using the ~ character followed by the Decimal value for the function (ASCII Chart) that you want to encode. For example, if you wanted to encode a Tab for PDF417 or Code 128, enable Apply Tilde, then enter ~009--because Decimal 9 is the Horizontal Tab.

image


Examples for PDF417 and Code 128:
GS (Group Separator) is a Decimal 29, it can be encoded using ~029.

CR (Carriage Return) is a Decimal 13, it can be encoded using ~013.

EOT (End of Transmission) is a Decimal 4, it can be encoded using ~004.



- Encode Functions for QR CODE, AZTEC, DATA MATRIX, or MAXICODE
Begin by using the ~d character followed by the Decimal value for the function (ASCII Chart) that you want to encode. For example, if you wanted to encode a Tab for the 2D barcode types, enable Apply Tilde, then enter ~d009--because Decimal 9 is the Horizontal Tab.

image

Examples of QR Code, Data Matrix, Aztec, and Maxicode:

GS (Group Separator) is a Decimal 29, it can be encoded using ~d029.

CR (Carriage Return) is a Decimal 13, it can be encoded using ~d013.

# symbol is Decimal 35, it can be encoded using ~d035.


NOTE: While it is possible to encode Alt+key, the function depends on a scanner that has the ability to interpret it. The SC5USB can interpret Alt-key characters when they are created with IDAutomation products.

Posted 12.1 year(s) ago

(0)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.

Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2021 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook