Unitech MP200 Printer User Manual


 
Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.
24
Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.
25
5.6 Supervisory commands
Single byte supervisory commands are designed to provide the user of the printer with
the current battery and print buffer status. The single byte supervisory commands and
serial RS232 response strings are summarized below.
Note: <4 ASCII hex digits> are read as hex nibbles ORed with 0x30.
Printer Command Command String Printer Response
Print Status
Request
<CTRL B> Print Buffer Status <Esc><‘B’>
<4 ASCII hex digits>
<CR><LF>
Magnetic Card Reader
Status
<Esc> <’M’>
<4 ASCII hex digits>
<CR><LF>
Battery Status
Request
<CTRL V> Print Buffer Status <Esc> <’M’>
<4 ASCII hex digits>
<CR><LF>
Battery Voltage Status <Esc><‘M’>
<4 ASCII hex digits>
<CR><LF>
Magnetic Card Reader
Status
<Esc> <’(‘>
<4 ASCII
characters><CR><LF>
Firmware Version
Query
<ESC><’P’><’(‘> Firmware Version <Esc> <’(‘>
<4 ASCII
characters><CR><LF>
Example v.100 <Esc ><’(‘>
<’1’ ‘0’ ‘0’ ‘’ >
<CR><LF>
Hardware Model
Query
<ESC><’P’><’)’> Hardware model <ESC><’)’>
<4 ASCII characters>
<CR><LF>
Table 5.6 – Supervisory Commands
Chapter 6.0
Label and Form Printing
with Black Mark Option
6.0 Label and Form Printing With Black Mark Option
The Unitech MP200 thermal printer can print on label and preprinted form stocks,
with black mark located on the right side of the paper stock. The printer paper out
sensor is used to sense the black mark position.
6.1 Black Mark Operation
Follow these steps to use the black mark option.
Set the paper out sensor sensitivity level by issuing <ESC> <‘Q’> <‘Q’> <n>
command string. The value selected for the sensitivity is dependant upon the height
of the pre-printed black mark located on the label or form stock. The default power
on value of <n> is 40d (0x28).
Issue <ESC> <‘Q’> <‘F’> <m> or <ESC> <‘Q’> <‘B’> <m> printer Command to
nd the black mark. The command position’s the label or the form for printing.
Wait for <ESC> <‘Q’> <0x3F> <0x3F> <n1> <n2> black mark found response
from the printer.
Send the data to be printed.