Genicom GEK 00031B Programmer's Manual page 218

Genicom printer user manual
Table of Contents

Advertisement

DECRVEC
Ps1
0
1
2
3
Chapter 8. PPL3 Plus Emulation
Draw Relative Vector: Draws a vector starting at the active position.
Source: Application
Format
CSI Ps1 Pn2 Pn3 SP
Description
The selective parameters for Ps1 are as follows:
Ps1
Action
0
Draws an X (horizontal) line to the right.
1
Draws a Y (vertical) line down.
2
Draws an X (horizontal) line to the left.
3
Draws a Y (vertical) line up.
Numeric parameters provide line length and width:
Pn
Meaning
Pn2
Line length n
Pn3
Line width n
The printer interprets the line length and width as pixels, decipoints
or centipoints. The unit is selected using the Select Size Unit (SSU)
command. The Positioning Unit Mode (PUM) setting does not affect
the unit selected.
The starting point of the line is the current position.
X lines are horizontal with respect to the intended reading page
orientation, and Y lines are vertical with respect to the intended
reading page orientation.
The DECRVEC command does not change the active position. It is
not affected by the First Character Flag.
Since a vector has length and width, it is considered a filled
rectangle. The rectangle is not centered on the endpoints. A vector
drawn from position (X,Y), with a length of L = (Pn2 - 1) and a width
of W = (Pn3 - 1), has the four corners listed in the following table.
Upper Left
Upper Right
X,Y
X,Y
X-L,Y
X,Y-L
Error Handling
Relative vectors may extend beyond the limit bounds (left right, top,
and bottom margins). If the vector extends beyond the printable area,
it is clipped at the edge of the printable area.
Destination: Level 3 Extension
Lower Left
X+L,Y
X,Y+W
X+W,Y
X,Y+L
X,Y
X-L,Y+W
X+W,Y-L
X,Y
218
Lower Right
X+L,Y+W
X+W,Y+L
X,Y+W
X+W,Y
GEK-00029B

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5000 series

Table of Contents

Save PDF