Step 2. Store the exit HPGL mode and form feed sequence.
1. Create a test file by typing in each character as shown in the left hand
column
of
l%ble
4-7.
Do not insert spaces or linefeeds.
2. Name the file exithpgl.
‘lbble
4-7. HPGL ‘I&t File Commands
I
Command
Remark
I
Step 3. Send the HPGL initialization sequence to the printer.
Step 4. Send the plot llle to the printer.
Step 6. Send the exit HPGL mode and form feed sequence to the printer.
Outputting Single Page Plots Using a Printer
You can output plot
files
to an HPGL compatible printer using the DOS command line and the
files created in the previous steps. This example assumes that the escape sequence
flies
and the
plot
Bles
are in the current directory and the selected printer port is PRN.
Command
Remark
c:>
type
hpglinit
>
PRN
c:>
type PLOTOO.FP
>
PRN
c:>
type exithpgl
>
PRN
4-24
Printing, Plotting,
and
Saving Measurement Results