beautypg.com

Relative paper motion, Reverse form feed, Igp for dot matrix printers user guide – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual

Page 38

background image

IGP for Dot Matrix Printers

User Guide

38

Relative Paper Motion

The Relative Paper Motion (RPM) Command moves the paper forward or backward a requested
number of increments from its current print position. Movement distance is dictated by the print
mode (Character or Plot).

Exceptions:

Reverse paper motion stops at the Top-Of-Form (TOF) location on the current
form.

Forward motion into a Bottom-Of-Form (BOF) skip area advances the paper to
the next TOF, then forward motion continues the remaining number of
increments.

The relative paper motion escape sequence is:

ESC

[ c n n ! v

1B

5B

63 21

76

Where:

c = Paper movement direction.

0

=

forward

paper

motion

9

=

reverse

paper

motion

nn = Number of increments the paper moves.

Range = 1 to 99 ASCII or 31 to 3939 HEX.

Example 1:

Moving the paper forward 5 lines.

ESC

[ 0 0 5 ! v

1B 5B 30 30 35 21 76

Example 2:

Moving the paper backward 13 lines.

ESC

[ 9 1 3 ! v

1B 5B 39 31 33 21 76

Reverse Form Feed

The Reverse Form Feed Command moves the paper backward to the top-of-form (TOF) position
of the current form. If the paper is already positioned at the TOF when this command is received,
no movement will occur. The Reverse Form Feed escape sequence is:

ESC [ f

1B 5B 66