Samsung SRP-500 User Manual

Page 28

Advertising
background image

47

ESC ? n

[Name]

Cancel user-defined characters

[Format]

ASCII

ESC

?

n

Hex

1B

3F

n

Decimal 27

63

n

[Range]

32 ≤ n ≤ 255

[Description]

Cancels user-defined characters.

[Notes]
• This command cancels the pattern defined for the character code specified

by n. After the user-defined characters is cancelled, the corresponding
pattern for the internal character is printed.

• This command deletes the defined pattern for the specified code in the

character font selected by the "ESC !" command.

• If a user-defined character has not been defined for the specified character

code, the printer ignores this command.

[Reference]

ESC &, ESC %


ESC @

[Name]

Initialize printer

[Format]

ASCII

ESC

@

Hex

1B

40

Decimal 27

64

[Description]

Clears the data in the print buffer and resets the printer
mode to the mode that was in effect when the power was
turned on.

[Notes]
• The DIP switch settings are not checked again.
• The data in the receive buffer is not cleared.

48

ESC D n1... nk NUL

[Name]

Set horizontal tab positions

[Format]

ASCII

ESC

D

n1...nk NUL

Hex

1B

44

n1...nk 00

Decimal 27

68

n1...nk 0

[Range]

1 ≤ d ≤ 255
0 ≤ k ≤ 32

[Description]

Sets horizontal tab positions.

• n specifies the column number (counted from the beginning of the line) for

setting a horizontal tab position.

• k indicates the total number of horizontal tab positions to be set.
[Notes]
• The tab position is set at [character width x n] from the beginning of the

line. The character width includes the right-side space of the character,
and is twice the normal value when double-width is specified.

• This command deletes horizontal tab positions that have already been set.
• When "n = 8" has been set for the horizontal tab position, the printing

position moves to the ninth digit when HT is executed.

• Up to 32 tab positions can be set. Data exceeding 32 tab positions is

processed as normal data. Input <n>k in ascending order and place a NUL
code <00>H at the end when <n>k is less than or equal to the preceding
value <n>k-1, tab setting is finished and the following data is processed as
normal data.

• ESC D NUL cancels all horizontal tab positions.
• The previously specified horizontal tab positions do not change, even if the

character width changes.

[Default]

The default tab positions are at intervals of 8 characters
(columns 9, 17, 25, ...) for the font B (12 x 14).

[Reference]

HT




Advertising