Unitech MP200 Printer User Manual


 
Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.
26
Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.
27
6.2 Black Mark Printer Commands
Black Mark Command Command String Description
Reverse Dot Feed <ESC> <‘Q’> <‘J’> <n> Perform <n> reverse dot line
feeds, 0.125mm each.
Out of Paper Sensitivity <ESC> <’Q’> <’Q’> <n> On paper detect fail, postpone
the paper out error response
for <n> 0.125mm dot lines
before agging a paper out
error.
Forward Black Mark Seek <ESC> <‘Q’> <‘F’> <m> Seek black mark using
forward feed until <m>
dot line feeds have been
processed, each dot line feed
0.250mm.
Reverse Black Mark Seek <ESC> <‘Q’> <‘B’> <m> Seek black mark using
backward feed until <m>
dot line feeds have been
processed, each dot line feed
0.250mm.
Printer Black Mark Response:
Paper Found
<ESC> <‘Q’> <0x3F> <0x3F>
<n1> <n2>
n1 and n2 are the high and
the low nibble, respectively,
describing how many
(0.25mm) dot lines were
required to nd black mark
Printer Black Mark Response:
Paper Not Found
<ESC> <‘Q’> <0x30> <0x30>
<n1> <n2>
n1 and n2 are the high and
the low nibble, respectively,
describing how many
(0.25mm) dot lines were
processed before reporting
black mark status.
Notes:
<n> Total number of 0.125mm dot lines, 0x00 through 0xFF.
<m> Total number of 0.250mm dot lines, 0x00 through 0XFF.
n1 and n2 The total number of 0.125mm dot lines processed, while seeking the black mark.
n1 holds the high four bits (0x30 + 4 high bits).
n2 holds the low four bits (0x30 + 4 low bits).
n1 and n2 can have values 0x30 through 0x3f.
Table 6.0 – Black Mark Printer Commands
Chapter 7.0
Appendix A
Flash Based Font and Graphic Logo Download Commands and Print Option
A.1.0 Flash Based Font Commands
The Unitech Instruments MP200 printer features 128KB of ash memory reserved
for fonts. This allows the MP200 to be exible enough to t many specic application
character sets. To protect the fonts from accidental corruption these features are
currently only possible through an RS-232C serial connection and must be the rst
commands received by the printer when it is powered on. Following the instructions
below and using the commands from table A.0 you will be able to download fonts to
the printer.
A.1.1 Flash Based Font Download Commands
1) Enter Flash Font Program mode by typing the Flash Font Mode Command. This
command must be the rst <ESC> command received upon activating the
printer. It also indicates which Bank is the one you want to modify.
2) The printer will deactivate the CTS line and copy the requested Flash bank to
SRAM.
3) When the copying process is complete the CTS will become active and the
printer will transmit a ‘?’ (0x3F)
4) Invalid Characters will be echoed back to the Terminal Device.
5) Load Flash Font Character Using the command from the table A.0.
6) When you are nished Send Quit Command, which will make the printer, copy
the data from the SRAM to the FLASH. When it is done it will send D!X .
7) Recycle power and the new Font should be in the Flash memory at the specied
location.