home *** CD-ROM | disk | FTP | other *** search
- %dplot.ccc
- * 27/10/91 - Rachel - a new option to print
- * produce file for plotting from DSG module
- :j
- ascii c100 r13
- if r13 eq 32 :i
- mess illegal command, use \GEOM first !
- getwe
- goto :j
- :i
- ascii c66 r13
- if r13 eq 112 :I
- mess illegal command, use \DSG first !
- getw
- goto :z
- :I
- *check if plot area set
- r1=0
- r2=0
- ovl dsgsiz
- if r2 ge 0 :a
- :J
- mess Error, no plotting area defined here! (use \dpsiz to reset)
- getwe
- :a
- mess options: y-plot, n-print, <ENTER>-create a file
- getyn+ r1
- if r93 ne 0 :n
- if r1 eq 1 :p
- mess Please make sure that the printer is connected and ONLINE!!
- getw
- c1 8 = 'D$TEMP '
- ovl zplot
- c11 8 = '@lzr.pss'
- c1 8 = 'plotf '
- ovl exec1
- goto :z
- :p
- c1 8 = 'D$TEMP '
- ovl zplot
- c11 8 = '@plt.pss'
- c1 8 = 'plotf ' ; ovl exec1
- goto :z
- :n
- mess file name for plotter (1-6 char. [D$xxxxxx])
- :b
- getc c3 6
- c1 2 = 'd$'
- c80=' '
- c81 3 ='met'
- c85 =' '
- r80=1
- r83=0
- r88=1
- command chkfil
- if r83 eq 0 :g
- mess Error, invalid file name, enter name again :
- goto :b
- :g
- if r80 eq 0 :e
- if r89 eq 1 :e
- r1 = 0
- mess file " #c1 8 .met " already exists, want to overwrite ? <n>
- def 'n'
- getyn r1
- if r1 eq 0 :a
- :e
- ovl zplot
- :z