Outputting Multiple Plots to a Single Page Using a Printer

Refer to the “Plotting Multiple Measurements Per Page Using a Disk Drive, n located earlier in this chapter, for the naming conventions for plot files that you want printed on the same page. You can use the following batch file to automate the plot hle printing. This batch file must be saved as “do-plot.bat. n

rem

rem Name: do-plot rem

rem Description: rem

rem output HPGL initialization sequence to a flle:spooler rem append all the requested plot Illes to the spooler rem append the formfeed sequence to the spooler rem copy the hle to the printer

rem

rem (This routine uses COPY instead of PRINT because COPY rem will not return until the action is completed. PRINT rem will queue the file so the subsequent DEL will likely rem generate an error. COPY avoids this.)

rem

echo off

type hpglinit > spooler

for % %i in (% 1) do type % %i >> spooler type exithpgl >> spooler

copy spooler LPTl de1 spooler

echo on

For example, you have the following list of files to plot:

PI.XYlW.LL

PLuTOO.LU

PLOTOO.RL

PLUTOO.RU

You would invoke the batch print as follows:

C:> do,plotPLOTOO.*

Printing, Plotting, and Saving Measurement Results 4-25

Page 204
Image 204
HP 8753E manual Outputting Multiple Plots to a Single Page Using a Printer, Plotoo.Rl Plutoo.Ru