Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands68
A776 (B780) Programming Guide A776-PG00001 C 12/09
Select double-density graphics
ASCII ESC Y n1 n2 d1 ... dn
Hexadecimal 1B 59 n1 n2 d1 ... dn
Decimal 27 89 n1 n2 d1 ... dn
Equivalent to 1B 2A m=1 n1 n2 d1 ... dn
Print Flash Logo
ASCII FS p n m
Hexadecimal 1C 70 n m
Decimal 28 112 n m
Print ash logo ID n using mode m. See command 1D 2F m for description of mode m. See
command 1C 71 for description of n. The select slip command x/C must be disabled via
1F 03 38 00 to use this logo command.
Dene Flash Logos
ASCII FS q n [xL xH yL yH d1 …dk]1…[xL xH yL yH d1 …dk]n
Hexadecimal 1C 71 n [xL xH yL yH d1 …dk]1…[xL xH yL yH d1 …dk]n
Decimal 28 113 n [xL xH yL yH d1 …dk]1…[xL xH yL yH d1 …dk]n
Dene n ash logos specied by IDs 1 through n. Maximum size of logos is determined by
amount of ash allocated to logos. See command 1D 22 80… for ash allocation.The select slip
command x/C must be disabled via 1F 03 38 00 to use this logo command.
0 < xH:xL < 1024 max printable xH:xL = 72 = 576 dots wide
0 < yH:yL < 256
For each logo denition: xH:xL times 8 dots in the horizontal direction, yH:yL times 8 dots
in the vertical direction. Total data denition bytes k = xH:xL times yH:yL times 8 bytes. See
command 1D 2A x y … for description of data denition bytes arrangement.
During execution of this command printer turns o USM and Real Time status processing. The
printer goes busy when writing to ash. At the end of this command the printer resets.
Select the current logo (downloaded bit image)
ASCII GS # n
Hexadecimal 1D 23 n
Decimal 29 35 n
Range of n: 0 – 255
Default: 0
Selects a color or monochrome logo to be dened or printed. The active logo n remains in use until this command is
sent again with a dierent logo n.
When this command precedes a logo denition, that denition is stored in ash memory as logo n. If there is already
a dierent denition in ash memory for logo n, the rst is inactivated and the new denition is used. The inactive
denition is not erased from ash and continues to take up space in ash memory.
When this command precedes a logo print command and n is dierent from the previously active logo selected, the
printer retrieves the logo denition for n from ash memory and prints it. If there is no denition for logo n, then no
logo is printed.
In the case of a previously existing application that expects only one possible logo, the printer will not receive the
select current logo (1D 23 n) command. In this case, the printer assigns 0 as the active logo identier. It automatically
stores any new logo denition in ash memory as logo 0, inactivating any previous logo 0 denition. If the ash
memory space available for logos lls up with inactive logo 0 denitions, the rmware erases the old denitions at the
next power cycle. This is the only case in which the printer erases ash memory without an application command.
Continued . . .