Unitech MP200 manual Programming Information, ASCII Control Characters, Printer Font Commands

Models: MP200

1 18
Download 18 pages 10.51 Kb
Page 12
Image 12
Programming Information

Programming Information

This section lists the printer control command strings.

ASCII Control Characters

Character

Hex / Dec

Control Action

EOT

04/04

End of text

 

 

 

BS

08/08

Back space

HT

09/09

Horizontal tab

 

 

 

LF

0A/10

Line feed

VT

0B/11

Vertical tab

 

 

 

FF

0C/12

Form feed

CR

0D/13

Carriage return

SO

0E/14

Shift out

SI

0F/15

Shift in

XON

11/17

Transmitter on

 

 

 

AUXON

12/18

Printer on

XOFF

13/19

Printer receiver off

 

 

 

NORM

14/20

Return to default 42 column mode

AUXOFF

15/21

Printer to host : Printer is off

CANCEL

18/24

Cancel and reset printer buffer

ESC

1B/27

Escape

EXTEND

1C/28

Extended print

 

 

 

EXTEND OFF

1D/29

Extended print off / Normal print

Printer Font Commands - Courier Character Set

Font Name

Character Size ( W x H)

Command String

24 CPI Normal

8 x 23

ESC+’k’+’5’

21 CPI Normal

9 x 23

ESC+’k’+’4’

 

 

 

19 CPI Normal

10 x 23

ESC+’k’+’3’

16 CPI Normal

12 x 23

ESC+’k’+’2’

 

 

 

12 CPI Normal

16 x 23

ESC+’k’+’1’

 

 

 

13 CPI Rotated

14 x 16

ESC+’k’+’0’

Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.

22

Printer Font Commands

Command String

Printer Action

ESC - ‘F’ - 1

Selects International character set

 

 

ESC - ‘F’ - 2

Selects PC Line Draw character set

ESC

- ‘U’ - ‘1’

Enable emphasized print

 

 

 

ESC

- ‘U’ - ‘0’

Disable emphasized print

Below are the International and PC Line Character sets from 32 through 255:

International Character Set

PC Line Draw Character Set

Printer Graphic Commands

Command String

Printer Action

ESC - ‘A’ – n

Select dot line spacing between printed lines

ESC - ‘J’ – n

Graphic line feed command

 

 

ESC - ‘P’ - ‘#’

Select online mode, characters printed as received

ESC - ‘P’ - ‘$’

Select buffer mode, characters are printed on (^ D)

 

 

ESC - ‘V’ - n1 – n2

8-bit graphic command

 

 

ESC - ‘v’ - n1 – n2

RLE compressed graphic command

Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.

23

Page 12
Image 12
Unitech MP200 manual Programming Information, ASCII Control Characters, Printer Font Commands - Courier Character Set