Two subroutines have been provided to spawn a subprocess from a FORTRAN program (in a VAX\ VMS\ environment) to execute the raster scan converter programs.
SUBROUTINE PSUBPRO
CALL PSUBPRO(i,opt,ip) i (I): raster scan conversion program type = 0 printronix printer = 1 low res trilog printer = 2 hi res trilog printer opt (I): concurrent process option = 0 wait for completion = 1 no wait ip (I): print flag = 0 do not print = 1 printPSUBPRO\ creates a subprocess\ using SUBPROC\ to run the raster scan conversion program. PSUBPRO should be used with FOR003.dat file after the plot package has been closed. The output is OUT.LIS which can be printed to the system print que if desired. The command files used are located in LONGLOC:.
SUBROUTINE SUBPROC
CALL SUBPROC(in,out,i) in (C) : input command file name (CHARACTER variable) out (C) : output log file (CHARACTER variable) i (I) : concurrent processing option = 0 wait for completion = 1 no wait
SUBPROC\ creates a subprocess\ which executes the command file IN. The output is places in the file OUT (if OUT is NL: the output is discarded).