11) Underline set/reset

: <<ESC - n>>

 

Code

: [1B] h + [2D] h + n

* [00n 02 ]h

Sets and resets the underline

 

*Underline is valid for all characters except for the area skipped by horizontal tab.

*Also Underline is not valid for 90° rotated character.

*Underline is verified with n value as shown bellow.

n(hex)

Type of underlines

00

Reset underline

01Set one dot underline

02Set two dot underline Default value is “n” = [00]h

12)

1/6th of an inch line feed pitch

: << ESC

2>>

 

Code

: [1B

] h + [32] h

 

 

 

Sets one line feed to 1/6th of an inch.

 

13)

Sets smallest pitch line feed : << ESC 3 n

>>

 

Code

: [1B

] h + [33 ] h + n

* [00n FF] h

Sets a line feed pitch to n/203rd of an inch.

*Despite of height set by value, the same space with character height is sent by line feed.

*The default value of n is [22]h

*If n=[00]h is set, printer will not feed by pressing FEED button.

14) Printer initialization

: << ESC @ >>

Code

: [1B ] h + [ 40 ] h

Clears the data stored in the print buffer and resets each setting to default values.

*It does not clear the data stored in the internal receive buffer.

*Rewrites the DIP switchs.

*It is stored in the internal receive buffer and activated in sequential.

15) Horizontal tab position set : << ESC D n1

n2 --- NUL >>

Code

: [1B ] h + [44] h + n1+ n2+

--- + [00 ] h

*[00n FF ] h

Sets the horizontal tab position

 

 

1.“n” indicates the digits number from the left. In this case, n = tab position - 1.

2.Tab position is set at the location of character width x n from the beginning of a line. The character width in this case includes character right space. When double width function is set, then the width becomes double of ordinary character.

3.Maximum number of tab positions is 32. If setting exceeds 32, then

the exceeded values are neglected.

4. < ESC D NUL > clears all tab positions being set. After the tab is cleared, horizontal tab will be ignored.

5.Default value is set at every 8 characters of font A (at 9 th, 17th, 25th and 33rd digit).

26

Page 29
Image 29
Star Micronics NP-215, NP-415W, NP-225, NP-325 specifications Underline set/reset ESC n Code 1B h + 2D h + n