Cognitive Solutions A776 All in One Printer User Manual


 
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 denition ash memory page when it lls with multiple denitions. A
new application using multiple logos, writing a user-dened character set into ash memory, or both, is responsible
for erasing the logo and user-dened character set ash memory page when the logo area is full or before a new
character set is dened.
Exception
This command is only valid for the receipt station, However, it will processed correctly, regardless of whether the
receipt station is currently selected.
Dene downloaded bit image
ASCII GS * n1 n2 d1 ... dn]
Hexadecimal 1D 2A n1 n2 d1 ... dn]
Decimal 29 42 n1 n2 d1 ... dn]
Value of n1: See the following table
Value of n2: See the following table
Value of d: See the following table
Value of n1 Value of n2 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 ash with the number of dots specied by n1 and n2.
If in RAM, the downloaded bit image is available until power is turned o, another bit image is dened, 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 identied 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
0 Normal 203 203
1 Double-wide 203 101
2 Double-high 101 203
3 Quadruple 101 101
The indexed downloaded bit image from RAM or ash will be printed on the receipt station at a size specied 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 justication. This command is ignored if
the index refers to an undened logo/ bit image.