beautypg.com

Esc d n1 n2 … nk nul – Star Micronics Line Thermal/Dot Printer User Manual

Page 51

background image

Rev. 0.00

3-39

STAR Line Mode Command Specifications

HT

[Name] Move horizontal tab
[Code]

ASCII

HT

Hexadecimal

09

Decimal

9

[Defined Area]

Thermal

: -

Slip

: -

Validation

: -

[Initial Value]

Thermal

: -

Slip

: -

Validation

: -

[Function]

Move print position to next horizontal tab position.

The current position moves to the next tab position when at the horizontal tab position.

This command is ignored with under the following conditions.

• When there is no horizontal tab set.

• When the current position is the same as the furthest right horizontal tab position or to the right of it.

There is no initial value for the horizontal tab.

In the underline/upperline modes, underlines and upperlines are not printed in the spaces created by

a horizontal tab.

ESC D n1 n2 … nk NUL

[Name] Set horizontal tab
[Code]

ASCII

ESC

D

n1

n2

..

nk NUL

Hexadecimal

1B

44

n1

n2

..

nk

00

Decimal

27

68

n1

n2

..

nk

0

[Defined Area]

Thermal

: 1 ≤ n ≤ 255, 0 ≤ n ≤ 32

Slip

: 1 ≤ n ≤ 255, 0 ≤ n ≤ 32

Validation

: 1 ≤ n ≤ 255, 0 ≤ n ≤ 32

[Initial Value]

Thermal

: -

Slip

: -

Validation

: -

[Function]

Uses the left edge as a standard to set the horizontal tab to the position of (current ANK character

pitch x n).

The horizontal tab reference point is the right edge of the paper, regardless of the left margin.

ANK character pitches, including right spaces, are unaffected by expansion settings.

The right edge is also the reference for upside-down printing.

All other horizontal tabs set before setting the horizontal tab using this command are cancelled

A maximum of 32 horizontal tabs can be set.

However, the tab position must satisfy the following conditions.

If the following conditions are not met, data up to the NUL code is discarded.

Normal tabs that meet the conditions below are set and tabs after errors occur are not set.

• 1 < n1 < n2 … < nk

The horizontal tab set using this command is unaffected by changing the character pitch.

Horizontal tabs set using the ESC D NUL command are cleared.

There is no initial value for the horizontal tab.

(Note) The settings using this command are valid for all stations and modes.