Dymo 1761334 Technical Reference - Page 35

ESC X Set Horizontal Starting Position, ESC Y Set Vertical Starting Position

Page 35 highlights

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76

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