Cognitive Solutions A776 All in One Printer User Manual


 
Chapter 5: Programming commands64
A776 (B780) Programming Guide A776-PG00001 C 12/09
Save font ID number as default font at power up
ASCII GS 0xF0 0x03
Hexadecimal 1D F0 03
Decimal 29 240 3
Save current font ID number as default font at power up. All characters will be printed from the downloaded font.
Download font
ASCII GS 0xF0 0x80 followed by le
Hexadecimal 1D F0 80
Decimal 29 240 128
This command is the sequence introducer for downloading existing les.
The downloaded font is always stored in the permanent font area of ash. If there is not enough memory in the
permanent font area to store the le the printer returns NACK.
When the le is downloaded the printer returns ACK.
If the le contents are incorrect the printer returns NACK. File format to be described in appendix.
So the full sequence for downloading les as font ID 90 would be:
1D F0 01 CB
1D F0 80 followed by map le shftjis.chr
1D F0 02 01
1B 20 n for horizontal character spacing
1B 33 n for vertical character spacing
1D F0 80 followed by character denition le shftj16.chr
1D F0 02 02
1B 20 n for horizontal character spacing
1B 33 n for vertical character spacing
1D F0 80 followed by character denition le shftj24.chr
Download font list
ASCII GS 0xF0 0xC0 0x02
Hexadecimal 1D F0 C0 02
Decimal 29 240 192 2
Print downloaded font information.
Select superscript or subscript modes
ASCII US ENQ n
Hexadecimal 1F 05 n
Decimal 31 05 n
Value of n: 0 = Normal character size
1 = Select subscript size
2 = Select superscript size
Default: 0 (normal size)
Turns superscript or subscript modes on or o. This attribute may be combined with other characters size settings
commands (12, 13, 1B 21 n, 1D 21 n,…)
This command is available only on the receipt station.
Exceptions
This command is ignored if n is out of the specied range.