7) Overall print mode setting: <<ESC !

n>>

 

 

Code

: [1B] h + [21] h + n

* [00nFF] h

Sets print mode. “n” has following meanings

 

 

 

Bit

Function

 

 

Values

 

 

0

 

1

 

 

 

 

 

 

0

Character font

 

Font A

 

Font B

 

1

Undefined

 

-

 

-

 

2

Undefined

 

-

 

-

 

3

Bold

 

Reset

 

Set

 

4

Double height

 

Reset

 

Set

 

5

Double width

 

Reset

 

Set

 

6

Undefined

 

-

 

-

 

7

Underline

 

Reset

 

Set

*If double height and double width are set at the same time quadruple character will be formed.

*All of the printed characters will be underlined except for the 90° rotated characters and spaces created by horizontal tab.

*Underline width is determined by the value set in [Underline set/reset] section.

The default value is “1”.

*Different sizes of character mixed such as double width and normal size can be printed.

*The default value of “n” is [00]h.

8)Down load characters set/reset: <<ESC % n>>

Code : [1B] h + [25] h + n* [00nFF]h

Setting or resetting the characters to be downloaded.

*Unable to use download character set & download bit image set at the same time.

*Only LSB (b0) is valid for “n” value. LSB (b0) has the following meanings.

b0 Function

0Resets download chraracter

1Sets download chraracter

Default value is “n” = [00]h

9) Definition of download character:<< ESC & s n m

a

Dn>>

Code

: [1B ] h + [26] h + s + n + m + a + Dn

 

 

 

* [s = 03 ] h

 

 

*

[20n7E ] h

 

 

*

[20m7E ] h

 

* font A [ 00a0C ] h

* font B [ 00a09] h

Definition of download character( such as alpha numeric).

1.“s” indicates a number of bytes in a vertical direction and “a” is a number of dots in horizontal direction.

2.“n” indicates the start character code, and “m” means the end character code. If only 1 character should be defined, then n = m.

3.Definable characters are from <20>h to <7E>h in ASCII code (95 characters).

4.“Dn” indicates the data to be defined. It indicates the “a” dots pattern from the left. Remaining area on the right of a character is filled with spaces.

5.Once a download character is defined, it remains valid until the download character is redefined, printer is initialized, reset signal is input, or the power is turned off.

6.Only area specified will be reset.

21

Page 24
Image 24
Star Micronics NP-415W, NP-215, NP-225, NP-325 specifications Font a Font B