Programmer's Guide

PcOS Series 150

Control Codes

 

 

 

 

 

Summary by Code

Control Codes Summary by Code

 

 

 

 

 

 

 

 

 

Normal

Second

Hex Code

IPCL equivalent

Description

 

Page

ASCII

ASCII

 

code

 

 

 

 

field

 

 

 

 

 

[NUL]

 

00

 

Null

 

 

[ENQ]

<n>

05H

 

Set inquire status.

 

62

 

 

 

 

(Refer to command descriptions.)

 

[BS]

 

08H

&%BS

Set back space.

 

16

[HT]

 

09H

&%HT

Set horizontal tabs.

 

16

[LF]

 

0AH

&%LF

Set line feed.

 

15

[VT]

 

0BH

&%VT

Set vertical tabs.

 

20

[FF]

 

0CH

&%FF

Set form feed.

 

20

[CR]

 

0DH

&%CR

Set carriage return.

 

15

[SO]

 

0EH

&%MW

Se one-line double-wide print.

33

[SI]

 

0FH

&%F1

Set 17 cpi.

 

31

[DC2]

 

12H

&%F3

Set 10 cpi.

 

31

[DC4]

 

14H

&%MN

Cancel one-line double-wide print.

33

[CAN]

 

18H

&%RP

Clear print buffer.

 

55

[ESC]

[SI]

1BH,0FH

&%F4

Set 24 cpi.

 

31

[ESC]

[DC1]

1BH,11H

&%VO

Open for validation.

 

52

[ESC]

[DC3]

1BH,13H

&%VC

Close for validation.

 

52

[ESC]

[DC4]

1BH,14H

&%VS

Select validation mode with

52

 

 

 

 

autoform sense.

 

 

[ESC]

[EM] B

1BH,19H,

&%BH <m1>

Set bar code height.

 

50

 

<n>

42H

 

n=0 Restore defaults

 

 

 

 

 

 

n=1-9 Number of passes

 

 

 

 

 

(0.11” per pass)

 

 

[ESC]

[EM] C

1BH,19H,

&%ZC <m1><m2>

Set validation clamp delay.

53

 

<n>

43H

 

 

 

 

[ESC]

[EM] J

1BH,19H,

&%BJ <m1><m2>

Set bar code justification.

50

 

<n>

4AH

 

 

 

 

[ESC]

[EM] V

1BH,19H,

&%ZV<m1><m2>

Set validation time-out.

 

53

 

<n>

56H

 

 

 

 

[ESC]

# <0>

1BH,23H,

&%QT

Begin HSD mode.

 

22

 

 

30H

 

 

 

 

[ESC]

$

1BH,24H

 

Copy ROM character set to RAM

28

 

 

 

 

character set.

 

 

[ESC]

% G

1BH,25H,

&%MI

Begin italics.

 

38

 

 

47H

 

 

 

 

[ESC]

% H

1BH,25H,

&%CI

End italics.

 

38

 

 

48H

 

 

 

 

[ESC]

*

1BH,2AH

 

Print graphics in mode <m>.

46

 

<m><n>

 

 

 

 

 

 

1 <n>2

 

 

 

 

 

[ESC]

! <n>

1BH,21H

&%CS<n>

Select the International Character

24

 

 

 

 

Set.

 

 

[ESC]

- <n>

1BH,2DH

&%CU {n=0}

Set underline.

 

36

 

 

 

&%MU {n=1}

n=0 end

 

 

 

 

 

 

n=1 begin

 

 

[ESC]

0

1BH,30H

&%ST

Set 1/8-inch line space.

 

18

[ESC]

1

1BH,31H

&%SG

Set 7/72-inch line space.

 

19

[ESC]

2

1BH,32H

 

Begin variable line spacing.

19

 

 

 

 

(This enables [ESC] A <n>).

 

[ESC]

3 <n>

1BH,33H

&%SV <m1><m2>

Set variable space n/216-inch.

18

 

 

 

<m3>

Where n=1..255 defines the feed

 

 

 

 

 

used by line feed.

 

 

12/14/99

Rev G

Page 81

Page 91
Image 91
Star Micronics 150 manual Control Codes Summary by Code, Normal Second Hex Code Ipcl equivalent Description, Code Field