Print Symbol Data For Qr Code - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

108
Chapter 4: Programming Commands
Sample Auto Mode Data:
1D 28 6B 03 00 31 44 31
1D 28 6B 0D 00 31 50 30
53 54 31 2D 35 36 37 38 39 30
Sample Manual Mode Data:
1D 28 6B 03 00 31 44 30
1D 28 6B 31 00 31 50 30
41
54 45 53 54 31 2D 2E 2F 3A
2C
4E
31 32 33 34 35 36 37 38 39 30
2C
4B
9B 97 82 71 9B 95 82 92
2C
42 30 30 30 38
54 2C 45 2C 53 2C 54 2C

Print symbol data for QR code

ASCII
GS ( k ETX NUL 1 Q 0
Hexadecimal
1D 28 6B 03 00 31 51 30
Decimal
29 40 107 03 00 49 81 48
This command encodes and prints the QR code symbol data in the symbol storage area, based on the settings in the previous four
commands.
In standard mode, use this function when printer is "at the beginning of a line," or "there is no data in the print buffer."
The symbol size that exceeds the print area cannot be printed.
If there is no data in storage, or if the data in the storage area is more than the data allowed by specified model and
data compaction mode, the QR code cannot be printed.
The following data are added automatically by the encode processing.
Position Detection Patterns
Separators for Position Detection Patterns
Timing Patterns
Format Information
Version Information
Error Correction code words (employs the Reed-Solomon Error Detection and Correction algorithm)
Pad codeword
Number of bits in Character Count Indicator
Mode Indicator
Terminator
Alignment Patterns (when model 2 is selected)
Extension Patterns (when model 1 is selected)
Printing of symbol is not affected by print mode (emphasized, double-strike, underline, white/black reverse printing, or 90°
clockwise-rotated), except for character size and upside-down print mode.
In standard mode, this command executes paper feeding for the amount needed for printing the symbol, regardless of the paper
feed amount set by the paper feed setting command, The print position returns to the left side of the printable area after printing
the symbol, and printer is in the status "beginning of the line," or "there is no data in the print buffer."
In page mode, the printer stores the symbol data in the print buffer without executing actual printing. The printer moves print
position to the next dot of the last data of the symbol.
A quiet zone of four times the size of one module is required on all sides of the QR code symbol, but it is not included in the
printing data. Be sure to add a quiet zone when using this function.
' Set auto parsing
' Set data size
' Data (letters, symbols, numbers)
' Set manual parsing
' Set data size
' Set alpha-numeric type
' Alpha-Numeric Data
' Delimiter
' Set numeric type
' Numeric Data
' Delimiter
' Set Kanji
' Kanji Data
' Delimiter
' Set binary and block length (0 0 0 8 = 0x00 0x08 = 8 bytes)
' Binary Data (0x2Cs are valid data, not delimiters)
A799-2PG0001B 4/2016

Advertisement

Table of Contents
loading

Table of Contents