Citizen CMP-10 manual Esc +, ESC n, Hex Type

Models: CMP-10

1 74
Download 74 pages 34.94 Kb
Page 19
Image 19

ESC +

[Function]

Switch OFF the printer

[Code]

<1B>H<2B>H

[Range]

None

[Outline]

This command is used for switching off the printer from the host.

 

Sending this command causes the same operation as that by setting the power switch

 

to off.

ESC – n

[Function]

Specifying/ Canceling Underline

[Code]

<1B>H<2D>H<n>

[Range]

{0 =< n =< 02(Hex)}

[Outline]

Specifying/canceling an underline.

 

Types of underlines by n value are shown below:

 

 

 

 

 

 

n (Hex)

Type

 

 

0

Canceling an underline.

 

 

1

Specifying an underline for 1-dot width.

 

 

 

 

 

 

2

Specifying an underline for 2-dots width.

[Caution]

An underline is attached to the full character width. It is, however, not attached to

 

 

the part having been skipped by horizontal tab command.

 

An underline is not attached to a 90°- right-turned characters.

[Default]

n = 0

 

[See Also]

ESC !

 

[Sample Program]

 

 

 

PRINT #1, CHR$ (&H1B) + “–” + CHR$ (0);

PRINT #1, “AAAAA” ;

PRINT #1, CHR$ (&H1B) + “–” + CHR$ (1);

PRINT #1, “AAAAA” + CHR$ (&HA);

[Print Results]

Underline Canceled

>

>

A A A A A A A A A A

>

>

Underline Specified

— 17 —

Page 19
Image 19
Citizen CMP-10 manual Esc +, ESC n, Hex Type