Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands106
A776 (B780) Programming Guide A776-PG00001 C 12/09
Each row has a left and right row indicator with a data region between. The left-most character in the top row of the
data region is the total number of characters in the data region, excluding error correction characters. Characters
within the data region are designed to be read from left to right, starting on the top row, immediately after the length-
dening character. The maximum characters in the data region are 928.
Related Information:
The “Set bar code width” command (1D 77 n) aects the
x dimension and row height for PDF 417. See chart below.
n value x dimension row height
2 2 7
3 3 10
4 4 13
5 5 17
6 6 20
Select bar code width
ASCII GS w n
Hexadecimal 1D 77 n
Decimal 29 119 n
Value of n: 2, 3, 4, 5, 6
Default: 3 for receipt; 2 for slip
Sets the bar code width to n dots.
Formulas
n/8 mm (n/203 inch) for receipt.
n/5.7 mm (n/144 inch) for slip.
Page mode
Page mode is one of two modes that the A776 printer uses to operate. Standard mode is typical
of how most printers operate by printing data as it is received and feeding paper as the various
paper feed commands are received. Page mode is dierent in that it processes or prepares the
data as a “page” in memory before it prints it. Think of this as a virtual page. The page can be any
area within certain parameters that you dene. Once the printer receives the (0 × 0C) command,
it prints the page and returns the printer to standard mode.
The select page mode command (1B 4C) puts the printer into page mode. Any commands that
are received are interpreted as page mode commands. Several commands react dierently
when in standard mode and page mode. The descriptions of these individual commands in this
chapter indicate the dierences in how they operate in the two modes.