Cognitive Solutions B780 Manuale Utente

Pagina di 192
Chapter 5: Programming commands
106
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-
defining character. The maximum characters in the data region are 928.
Related Information:
The “Set bar code width” command (1D 77 n) affects the  
x dimension and row height for PDF 417. See chart below.
n value 
x dimension 
row height 
10 
13 
17 
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 different 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 define. 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 differently 
when in standard mode and page mode. The descriptions of these individual commands in this 
chapter indicate the differences in how they operate in the two modes.