Brother HL-Series Technical Reference Manual page 340

Hide thumbs Also See for HL-Series:
Table of Contents

Advertisement

Revision C 16/01/96
PR - Relative Coordinate Pen Move
PR [X, Y [,...]] [;]
X ; X coordinate of the cursor movement destination
Y ; Y coordinate of the cursor movement destination
• Coordinates are relative to the current position in user units or graphics units.
• Plots a straight line only when the pen is down.
• When scaling has been performed, the cursor is moved by relative coordinates in user units.
• Also, when scaling has been performed, the values for X and Y are real numbers.
• When there is no scaling, the cursor is moved by relative coordinates in graphics units.
• When there is no scaling, the coordinate values for X and Y are integer numbers.
Y
Current position
10 ' *** prex 1 ***
20 LPRINT "IN;SP1;"
30 LPRINT "PA5000,4500,;PDPR-2000,0,2000,2000,0,-2000;PU500,0;"
40 LPRINT "PD2000,0,-2000,2000,0,-2000;PU;"
50 END
<Sample 64>
X1
Y2
Y3
Chapter 9 "HP-GL" 13
X3

Advertisement

Table of Contents
loading

Table of Contents