Cognitive Solutions A776 ユーザーズマニュアル

ページ / 192
Chapter 5: Programming commands
 69
A776-PG00001 C 12/09 
A776 (B780) Programming Guide
In the case of a new application using multiple logos, the select current logo (1D 23 n) command is used. After that, the 
printer no longer automatically erases the logo definition flash memory page when it fills with multiple definitions. A 
new application using multiple logos, writing a user-defined character set into flash memory, or both, is responsible 
for erasing the logo and user-defined character set flash memory page when the logo area is full or before a new 
character set is defined.
Exception
This command is only valid for the receipt station, However, it will processed correctly, regardless of whether the 
receipt station is currently selected.
Define downloaded bit image
ASCII 
GS * nnd1 ... dn] 
Hexadecimal  1D 2A nnd1 ... dn] 
Decimal 
29 42 nnd1 ... dn]
Value of n1: 
See the following table 
Value of n2: 
See the following table 
Value of d
See the following table
Value of n
Value of n
Value of d
1–56 (8 x n1 = number of  
1–64 (number of vertical bytes) 
Bytes of data  
horizontal dot columns) 
 
(printed down, then across)
*
The number of bytes sent is represented by the following formula: 
n = 8 x n1 x n2 (n1 x n2 must be less than or equal to 4608).
Enters a downloaded bit image (such as a logo) into RAM or flash with the number of dots specified by n1 and n2.  
If in RAM, the downloaded bit image is available until power is turned off, another bit image is defined, or initialize 
printer (1B 40) command is received. 
See the illustration below for a graphic representation of the downloaded bit image. 
Related Information
See 1D 22 n (select memory type to store logos and 1D 23 n (select the current logo.)
Print downloaded bit image
ASCII 
GS / m 
Hexadecimal  1D 2F m 
Decimal 
29 47 m
Value and range of m:
This command is used to print a previously stored monochrome or color logo from printer memory on the receipt 
station. The logo is identified as the one indicated by the most recent select current logo command or 0 if a select 
current logo command has not yet been given. Parameter m is interpreted as follows:
Value of m  Print mode 
Vertical DPI  Horizontal DPI
Normal 
203 
203
Double-wide  203 
101
Double-high  101 
203
Quadruple 
101 
101
The indexed downloaded bit image from RAM or flash will be printed on the receipt station at a size specified by m
If the bit image is a monochrome one, it is printed in the current color; otherwise it is printed as a two-color image. If 
doubling or quadrupling exceeds the print paper width maximums (576 or 640 with 82.5 mm paper) the left side of the 
image is printed and the bits to the right of the maximum column are discarded. If the available width is greater than 
the bit image, its printing will adhere to any currently set right, left, or center justification. This command is ignored if 
the index refers to an undefined logo/ bit image.