Print Symbol Data For Qr Code - CognitiveTPG A798 Programming Manual

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

Revision D 10/13

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.
Chapter 4: Programming Commands
A798-PG00001D
81

Advertisement

Table of Contents
loading

Table of Contents