Epson ActionPrinter 3250 Product Support Bulletin(s) - Page 12

ESC v m1 m2 n1 n2 Set Relative Vertical Position

Page 12 highlights

PSB No: P-0082 Page: 6 of 14 1 ESC ( v m1 m2 n1 n2 (Set Relative Vertical Position ESC (v m1 m2 n1 n2 is the command for advancing the print position vertically in units where m1, m2, n1 and n2 are variables. The "unit" is usually 1/360 of an inch unless defined otherwise by the "ESC ( U" command. Currently, the values for ml and m2 MUST be m1=2 and m2=0. To determine the values for n1 and n2 perform the following steps. 1. Determine the desired vertical motion distance in inches. 2 Multiply the distance by 360. 3. Divide the result by 256 using long division. 4. The remainder in the quotient from step 3 is the value for n1. 5. The whole number in the quotient from step 3 is the value for n2 EXAMPLE 1. The desired distance is 1 inch. 2 1x360=360 3. 360 divided by 256=1 with a remainder of 104. 4. n1=104 5. n2=1 In the Basic programming language, the command would look like this. This command, as listed in the line above, will feed the paper up 1 inch from the current line. The current print column (horizontal position) IS NOT changed. 'Reverse" paper feed less than 1/2 inch can be performed with this command. To accomplish "reverse" paper feeding requires the following steps. 1. Determine the desired vertical motion dice in inches. 2 Multiply the distance by 360. 3. Divide the result by 256 using long division. 4. Subtract the remainder in the quotient computed in step 3 from 256. 5. The result from step 4 is the value for n1. 6. The value for n2 will always be 255.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22

PSB No: P-0082
Page: 6 of 14
1
ESC ( v m1 m2 n1 n2 (Set Relative Vertical Position
ESC (v m1 m2 n1
n2 is the command for advancing the print position vertically in
units where m1, m2, n1 and n2 are variables. The "unit" is usually 1/360 of an inch
unless defined otherwise by the “ESC ( U" command. Currently, the values for ml
and m2 MUST be m1=2 and m2=0.
To determine the values for n1 and n2 perform the following steps.
1.
Determine the desired vertical motion distance in inches.
2
Multiply the distance by 360.
3.
Divide the result by 256 using long division.
4.
The remainder in the quotient from step 3 is the value for n1.
5.
The whole number in the quotient from step 3 is the value for n2
EXAMPLE
1.
The desired distance is 1 inch.
2
1x360=360
3.
360 divided by 256=1 with a remainder of 104.
4.
n1=104
5.
n2=1
In the Basic programming language, the command would look like this.
This command, as listed in the line above, will feed the paper up 1 inch from the
current line. The current print column (horizontal position) IS NOT changed.
‘Reverse” paper feed less than 1/2 inch can be performed with this command. To
accomplish "reverse" paper feeding requires the following steps.
1.
Determine the desired vertical motion dice in inches.
2
Multiply the distance by 360.
3.
Divide the result by 256 using long division.
4.
Subtract the remainder in the quotient computed in step 3 from 256.
5.
The result from step 4 is the value for n1.
6.
The value for n2 will always be 255.