beautypg.com

17) micr related command details, Esc fs m m n – Star Micronics Line Thermal/Dot Printer User Manual

Page 173

background image

Rev. 0.00

3-161

STAR Line Mode Command Specifications

3-17) MICR Related Command Details

The following commands control MICR functions.

The following commands are effective only on models equipped with MICR.

ESC FS M m n

[Name] MICR function
[Code]

ASCII

ESC FS

M

m

n

Hexadecimal

1B 1C 4D

m

n

Decimal

27

28

77

m

n

[Defined Area]

Thermal

: -

Slip

: 48 ≤ m ≤ 50 (“0” ≤ m ≤ “2”)

n = 48, 49

Validation

: -

[Initial Value]

Thermal

: -

Slip

: -

Validation

: -

[Function]

,

Five bytes ignored

Performs operations on inserted slip paper (cleaning paper).

Note that if slip paper has been inserted, and already is targeted for printing, that slip paper is dis-

charged to the back (the forward direction), and operations are performed on the newly inserted slip

paper (cleaning paper).

m

Function

48

Reads format specified by n, and returns read character string.

n=48 • • • E13B read format
n=49 • • • CMC7 read format

Reading successful • • • ESC FS M 0 n, read character string LF NUL
Reading failed • • • ESC FS M 0 n, LF NUL

49

Reads with format specified by n, and returns read character string.
If no slip paper has been inserted, an empty character is returned immediately that indicates

no insertion.

n=48 • • • E13B read format
n=49 • • • CMC7 read format

Reading successful • • • ESC FS M 1 n, read character string LF NUL
Reading failed • • • ESC FS M 1 n, LF NUL
Empty character string • • • ESC FS M 1 n LF NUL

50

Performs cleaning of the conveyance rollers and magnetic head by inserted cleaning paper.

n is 48 or 49.

In page mode, five bytes ignored.