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

Page 29

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

Image 29
Contents Specifications for Read carefully Before Using the Printer Page NP 4 1 5 W Configuration Printer consists of the following components Codabar NW-7 CODE128 TOP Defects caused by dust or others This drawing is for NP-215P M3 screw holes to fix frame ground Frame ground wires Φ3.4 M3 screw holes to fix frame ground NP-325R This drawing is for NP-415WP Error ACK, BUSY, /STB, /ERROR, PE, SLCT, /INITSTB InitData STB Busy ACK PowerXON XoffGND PD1 PD0PD2 PD3CSW2 CSW1LED+ PNELED + ALMXON/XOFF DTR/DSR OFFESC/POS Power OFF , /INIT Processing error Error detection detailsCN6 Control commands Control command table Feed pitch Font a Font B LSB LSB MSB MSB67DPI Data Underline set/reset ESC n Code 1B h + 2D h + n Bold print set/reset ESC E Code 1B h + 45 h + n Platen open Code 1B h + 7B h + n Barcode print GS k n Dn NUL Code 1D h + 6B h + n + Dn + 00 h MSB LSB 00 ≤n3 ≤01 h Code 1B h + 61 h + n 00 ≤n ≤02 h Description HEX Code 154 489 3908 1167 707 486 299 368 2940 Reverse print set and reset GS B n Code 1D h + 42 h + n Partition drive select GS % n Code 1D h + 25 h + n Page Page International character code table JST Parts Name QTY Material Treatment