RASTER To invoke: RUN $RAS [if not installed] RAS [if installed] RAS @filespec [for indirect command file] RAS PTX [one copy to Printonix] RAS IDS [one copy to PRISM printer] Commands are issued in response to the command prompt RAS>, and are at least 2 characters long, terminated by a space. Commands: LIst list the current settings OUtput_device ddn: change the output device COpies n change the number of copies to print RAster_file filespec change the output raster file name OPtions n bit pattern describing the options: 0 output the raster data directly 1 make a raster file 2 print a raster file 4 delete raster file when done 10 spool the raster file for output SCale n sets the global scale function OFfset x,y sets the global offsets VEctor_file filespec changes the input vector filespec V0 filespec same as above V1 filespec opens another vector file : : V9 filespec opens the tenth vector file S0 n sets the scale factor for the n'th : : vector file : : S9 n O0 x,y sets the offsets for the n'th vector : : file : : O9 x,y PTx set up for Printronix raster IDs set up for PRISM raster GO make/plot raster data GO n send vector data to vector device n G? list the known vector devices AG n=ddn: reassign physical vector device n Scaling and offsetting the vector data is all done in inches, in physical space. The formula is as follows: physical x,y = global_scale*(vector_scale*(x,y)+vector_offset)+global_offset More information can be found in the source file. Questions/comments/bugs/bug fixes should be sent to the author: Hugh Gregg Physiology Department Michigan State University East Lansing, MI 48824