Epson A794-D100 manual Set Absolute Starting Position, Formulas

Models: A794-D100

1 140
Download 140 pages 28.11 Kb
Page 67
Image 67

A794 Owner’s Guide

Chapter 6: Programming Information

Set Absolute Starting Position

Sets the print starting position to the specified number of dots (up to the right margin) from the beginning of the line. The print starting position is reset to the first column after each line.

If the Set Horizontal and Vertical Minimum Motion Units command (1D 50) is used to change the horizontal and vertical minimum motion unit, the parameters of this command (Set Absolute Print Position) will be interpreted accordingly and varies according to printer emulation.

ASCII

ESC $ n1 n2

Hexadecimal

1B 24 n1 n2

Decimal

27 36 n1 n2

Value of n n = Number of dots to be moved from the beginning of the line n1 = Remainder after dividing n by 256

n2 = Integer after dividing n by 256

The values for n1 and n2 are two bytes in low byte, high byte word orientation.

Formulas

The example shows how to calculate 280 dots as the absolute starting position.

280/256 = 1, remainder of 24 n1 = 24 n2 = 1

Related Information

This command is also used in graphics mode. See Graphics Commands in this document for more information.

For more information, see the description of the Set Horizontal and Vertical Minimum Motion Units command (1D 50) in this document.

March 1999

61

Page 67
Image 67
Epson A794-D100 manual Set Absolute Starting Position, Formulas