Products   Support   Download   Contact

SETUP MODULES WITH POSTSCRIPT FILES

Contents | Index | About the Icons

To make a setup module work with a PostScript file, the showpage command must be redefined so that the setup module containing a PostScript procedure is executed before (in this example) or after the "real" showpage. Because this feature is unsupported in ScriptServer for OpenVMS, GrayMatter Software does not guarantee this procedure will work on every PostScript file.

ssv$dict begin
/ssv$PageSetup
	{ /Helvetica-Bold findfont 18 scalefont setfont
	   .5 setgray	% gray it out
	   100 100 moveto
	   (CONFIDENTIAL) show
	}  bind def
end
/$showpage  /showpage  load  def
/showpage
  {  ssv$dict
    /ssv$PageSetup get exec $showpage
  }
def

To use a Setup Module with a PostScript file, you need to associate the module with a VMS form as follows:

1)Stop all ScriptServer Queues (or make a new copy of the library)
2)

Insert the module into the device control library as follows:

  $ LIBRARY/REPLACE SYS$LIBRARY:SSV$DEVCTL.TLB module-name
3)

Define a VMS form with the desired module as the setup module:

  $ DEFINE/FORM/STOCK=DEFAULT/SETUP=module-name form-name 99
© 2020 GrayMatter Software Corporation