Interface for mp-20 mini printer – Triner Scale MP-20 User Manual

Page 10

Advertising
background image

6. Interface for MP-20 Mini Printer

6.1 Working Modes


Name Description
Character Mode (default):

Prints one line of characters whenever a “carriage
return” is received from serial port.


Barcode Mode:

Prints one line of barcodes whenever “carriage return” is
received from serial port.


Command-Line Mode:

Accepts predefined command lines from serial port.


Test Page Mode:

Operates a batch of pre-input command lines to print a
featured label.


Configuration

Mode:

Restores system default settings including header
contents.

1


6.2 Accepted Commands in Command-Line Mode: (See Appendix B for

examples)


Ax,y,rotate,font,reverse,”string”

Print one line of characters

Bx,y,rotate,height,withAscii,”string”

Print one barcode of characters

Dden

Set default density

Ffont

Set default font

N

Clear image buffer

Qheight,width

Set default label size

Lx,y,width,height

Print a rectangular bar

Xx,y,x1,y1,linewidth

Print a rectangular box

Pncp

Print copies of image buffer


Arguments:
x

start position on x axle

y

start position on y axle

rotate line

orientation

font font

used

reverse

if reverse printed. 0: No; 1: Yes.

string characters

printed

height

size on y direction

withAscii

if readable characters printed.

0: No; 1: Yes.

den

number of density. 0 – 500.

width

size on x direction

x1

end position on x axle

y1

end position on y axle

linewidth

width of line used

ncp

number of copies printed

1

Version 1.07 or higher only.

6-1

Advertising