Esc d [ n ] k nul – CITIZEN CBM-270 User Manual

Page 58

Advertising
background image

CBM-270 User’s Manual

CITIZEN

58

ESC @

[Function]

Initializing the printer

[Code]

<1B> H <40> H

[Outline]

Clears data stored in the print buffer and brings various settings to the initial

state (Default state).

[Caution]

· Data inside the internal input buffer are not cleared.
· Dip switches setting are red once again.

[Sample Program]

[Print Results]

LPRINT CHR$ (&H1B) ; " ! " ; CHR$ (&H30) ;
LPRINT CHR$ (&H1B) ; "V" ; CHR$ (1) ;
LPRINT "AAA" ; CHR$ (&HA) ;
LPRINT CHR$ (&H1B) ; "@" ;
LPRINT "AAA" ; CHR$ (&HA) ;

ESC D [ n ] k NUL

[Function]

Setting horizontal tab position

[Code]

<1B> H <44> H [<n>] k <00> H

[Range]

1 £ n £ 255
0 £ k £ 32

[Outline]

Specifying a horizontal tab position.
· "n" indicates the no. of columns from the beginning to the horizontal tab

position. At this time, n= set position- 1 is to be specified. For example, to set

the position at 9th column, n=8 is to be specified.

· k denotes the number of horizontal tab positions you want to set.
· The tab position is set at position where it is "character width x n" from the line

beginning. The character width, at this time, includes the rightward space

amount. In double wide characters, it is made double of the ordinary case.

· Tab positions can be specified are maximum 32. Specifying exceeding this is

ignored.

· <n> k, which denotes a setting position, is input in the increasing order and

ends at <00> H.

· ESC D NUL clears all the set tab positions. Following clearing, horizontal

tab command is ignored.

[Caution]

When the data, <n> k, is equal to or smaller than its preceding data, <n> k-1, it is

assumed that tab setting is finished. If this is the case, the next data onward

will be processed as normal data.
When the data, <n> k, exceeds a 1-line print area, set the horizontal tab position,

assuming "Set digit position = Maximum print digits + 1." The horizontal tab

position does not change even if the character width is altered after setting the

horizontal tab position.

[Default]

· Initial value is specified for each eight characters(9th.17th.25th.33rd columns)

of Font A.

[See Also]

HT

[Sample Program]

[Print Results]

See Sample Program and Print Results for HT on Page 46.

Each setting has

been initialized by

the reset command.

Advertising