Commands

n2 are received successfully by the host, you can be reasonably assured that there is a LabelWriter printer attached connected and your program can communicate with the printer.

Expression

ASCII

ESC W n1 n2

Decimal

27 87 n1 n2

Hex

1B 57 n1 n2

Parameters

n1 first character to echo

n2 second character to echo

ESC X Set Horizontal Starting Position

Description

This command is used in landscape printing to set a new offset from the left margin from which to begin printing text and barcode objects. Distance is specified in dots (1 dot = 1/203 of an inch). The n1 and n2 parameters are evaluated to form a 16-bit word as follows: first, the n1 parameter’s decimal value is multiplied by 256, then the result is added to the decimal value of the n2 parameter.

Expression

ASCII

ESC X n1 n2

Decimal

27 88 n1 n2

Hex

1B 58 n1 n2

Parameters

n1 high-order byte of 16-bit word that specifies distance n2 low-order byte of 16-bit word that specifies distance

ESC Y Set Vertical Starting Position

Description

29

Page 35
Image 35
Epson SE450 manual ESC X Set Horizontal Starting Position, ESC Y Set Vertical Starting Position