Drawing Lines - Kyocera C8100DN - Color Laser Printer Technical Reference Manual

Prescribe commands
Hide thumbs Also See for C8100DN - Color Laser Printer:
Table of Contents

Advertisement

Chapter 2 Graphics Tutorial
Standard Graphics

Drawing Lines

Lines to Absolute Position
2-2
The standard graphics mode provides a number of operators for constructing a variety of
filled shapes and lines. Using standard mode graphics, you can:
Draw lines of any desired width
Draw circles and rectangles
Draw a variety of filled shapes, including boxes and arcs
Draw pie charts
This is referred to as the standard graphics mode because it is a standard feature of all
versions of PRESCRIBE.
PRESCRIBE provides a number of Draw to commands for drawing lines in both stan-
dard and path modes. These include:
DAP (draw to absolute
position)
DZP (draw to zero-relative
position)
DRP (draw to relative position) Draws a line to a position specified as a horizontal and ver-
DRPA (draw to relative
position specified by angle)
Begin with a simple task such as drawing a line between two arbitrary points on a page.
Use the MAP and DAP commands to specify positions relative to the top and left mar-
gins.
This task has several distinct steps: selecting a line width, determining the starting point
of the line, and determining the end point of the line. The following command sequence
demonstrates this process.
!R! RES;
STM 0.5;
SLM 0.5;
SPD 0.01;
MAP 0.5, 1;
DAP 2, 0.5;
PAGE;
EXIT;
Draws a line to an absolute position in a Cartesian coor-
dinate system whose origin (0,0) is at the intersection of
the left and top margins.
Draws a line to an absolute position in a Cartesian coor-
dinate system whose origin (0,0) is at the intersection of
the left and top edge limits of the paper.
tical displacement from the current cursor position.
Draws a line to a position that is specified as a distance and
angle from the current cursor position. Examples of these
commands are given in the sections that follow.

Advertisement

Table of Contents
loading

Table of Contents