Barcodes
<BARCODE> |
<BARCODE[#n] [TYPE= 2_5_interleaved, 2_5_industrial 2_5_matrix 39 39Extended 128A 128B 128C 93 93Extended Codabar MSI PostNet EAN8 EAN13 EAN128A EAN128B EAN128C UPC_A UPC_E0 UPC_E1 UPC_Supp2 UPC_Supp5
PDF417 MAXICODE QRCODE DATAMATRIX |
43 alphanum 128 alphanum num and uppercase letters
0-9 A-Z -.$/+%[ ]{ } idem + lower case chars.
8 num. 13 num
|
Draws a barcode from the current point to : - the <FROM> point if # syntax is not used, - the bookmark pointed to by the #n
MAXICODE size 1 inch x 1 inch |
|
,VALUE=<barCode value> |
If the value contains '=' or ',', '\=' and '\,' syntax must be used. |
Mandatory |
|
[,CHECKSUM= TRUE,FALSE,NONE or MOD10 ] [,SHOW= NONE,CODE,TYPE of BOTH ] (debugging purpose) [,ANGLE=<0 to 359 degrees value> ] |
|
|
MAXICODE |
[MODE=<2 to 6 value>] (default=2) [COUNTRY=<country>] [ZIP=zip code] [SERVICECLASS=XXXXXXX] |
See MODE explanation below. |
|
QRCODE |
[ECLEVEL=<L,M,Q or H>] |
Allows recovery of up to L = 7% M = 15% Q = 25% H = 30% data loss. |
|
PDF417 |
[COL=2 to 30]
[ROWS=integer]
[BarHeightPixels=integer] [BarWidthpixels=integer] [MODE=TEXT, BIN or NUMERIC] [TRUNC] [ECLEVEL=<0 to 5>] |
number of columns (the barcode# has no effect on the real barcode size)
number of rows, automatic if not specified. |
|
Example :
<UNITS=MM><AT=50,60><#1><AT=+20,+40> /* sets the starting point */
<BARCODE#1,TYPE=EAN128A,CHECKSUM=TRUE,VALUE=12345>
<BARCODE#1,TYPE=93,CHECKSUM=FALSE,VALUE=12345>
<BARCODE#1,TYPE=EAN128A,CHECKSUM=FALSE,ANGLE=90,VALUE=12345>
<BARCODE#1,TYPE=QRCODE,ECLEVEL=H,VALUE=http://www.4gl.fr>
The same rules than the RECT or LINE are applicable (FROM point). So the following syntax is correct:
<UNITS=MM><AT=50,60><FROM><AT=+20,+40> /* sets the starting point */
<BARCODE,TYPE=EAN128A,CHECKSUM=TRUE,VALUE=12345>
Note : Barcodes are FGCOLOR-sensitive.
Barcodes are BGCOLOR sensitive.
PDF stands for "Portable Data File." A two-dimensional symbology (2D), a single PDF417 symbol carries up to 1.1 kilobytes of machine-readable data in a space no larger than a standard bar code. And, unlike one-dimensional bar codes (1D), which are just a key linked to a database, PDF417 symbols contain the database itself. That means, you don't have to store an article number in the barcode but you can also store the name , the size , the color, the name of the manufacturer etc...
ANGLE, CHECKSUM and SHOW do not apply. Instead ECLEVEL defines the error correction level.
The MaxiCode barcode encodes two messages; a primary message and a secondary message. The primary message usually encodes the postal code, country code and the class of service number. The secondary message usually encodes address data, but can encode other types of information as well.
MaxiCode barcodes have different modes of operation. IDAutomation MaxiCode products support the following modes:
•2 = US Carrier with postal codes up to 9 digits in length.
•3 = International Carrier with alpha-numeric postal codes up to 6 digits in length.
•4 = Standard Symbol - use this option to encode information for purposes other than the shipping industry. Up to about 90 characters can be encoded in this mode.
•5 = Secure Symbol - use this option to encode information with more error correction. Up to about 74 characters can be encoded in this mode.
•6 = Reader Program - this option allows scanner manufacturers to program their barcode readers.
Data encoding. If the postal code, service class and country are left empty in mode 2 and 3, they will be extracted from this string as follows:
If the string begins by [)>RS01GS the following format is expected:
[)>RS01GSPostalCodeGSCountryGSServiceGSdata.....
where RS is character number 30 and GS is character number 29
otherwise the format must be: PostalCodeGSCountryGSServiceGSdata.....
Encoding MaxiCode Barcodes for UPS
Structuring Maxicode barcode symbols for UPS labels can be a complicated task.
The information and code provided here are only examples and may not meet current UPS specifications. For more information about structuring messages to meet UPS specifications, please contact the local UPS office and ask for their Guide to Labeling. All IDAutomation Maxicode products encode data accurately according to the AIM USS MaxiCode specification. However, it is up the implementer to structure the symbol properly.
UPS has defined a unique process of encoding data in MaxiCode barcodes, which includes a postal code, service class, country code and delimiter characters.
When the data encoded begins with [)>RS01GS as required by UPS, the following format is expected: [)>RS01GSYearPostalCodeGSCountryGSServiceGSmessage...
For example, the source code below creates an acceptable string where: 96 is a two digit year that is placed before the zip code, 336260000 is the zip code, 840 is the country code, 001 is the service code, and the rest of the string is the data formatted for UPS specifications.
NOTE: The code supplied below is just an example and may not meet current specifications. For more information on structuring messages to meet UPS specifications, please contact your local UPS office. In the examples below, RS is ASCII 30, GS is ASCII 29 and EOT is ASCII 4.
Data Example:
"[)>"+RS+ "01"+GS+ "96336091062"+GS+ "840"+GS+ "002"+GS+"1Z14647438"+GS+"UPSN"+GS+"410E1W"
+GS+"195"+GS+GS+"1/1"+GS+GS+"Y"+GS+"135Lightner"+GS+"TAMPA"+GS+"FL"+RS+EOT
where GS = chr(29), RS= chr(30) and EOT= chr(4)
Tilde processing:
You can use the format ~ddd if you want to specify the ascii code of the character to be encoded. For example, if you enter the following text in the Data field:
~066AA
you will actually be encoding
BAA
because ~066 will be replaced with the character ascii character 66, which is B. You must use ~~ in order to encode the ~ character.
QRCODE:
QRCode barcodes need an internet connection to be built.
Supported parameters: ECLEVEL and VALUE.
If a mobile phone is equipped with the correct reader software it can scan the QR Code.
Dependant on the keyword found, the mobile phone determines which action to be taken.
For example:
If the keyword http:// is found, it will cause the phone's browser to launch and redirect to the programmed URL.
The keyword is always the first few charaters of the message.
QR Code is open in the sense that the specification of QR Code is disclosed and that the patent right owned by Denso Wave is not exercised.
More information about QR codes content can be found at: http://www.denso-wave.com/qrcode/index-e.html
Examples and syntax of the keywords can be found in different internet sites, like:
http://www.mobilefish.com/tutorials/qrcode/qrcode.html
http://code.google.com/p/zxing/wiki/BarcodeContents
Chr(9) are converted to chr(13) + chr(10).