Products   Support   Download   Contact

ADDING TEXT TO STANDARD POSTSCRIPT FLAG PAGES

Contents | Index | About the Icons

Often an installation using ScriptServer® for OpenVMS needs certain text to be printed on the File Flag pages preceding the various print jobs. Although the techniques described may have some general utility, this memo describes specifically how to do that with our OpenVMS product. It is possible to customize the flag page which is supplied with the ScriptServer® PAN Printing System (for instance so that a form -dependent legend is printed); if you wish assistance with doing so, contact us.

The following assumes that the flag pages are not being inserted by a workstation printer driver, but are being added by the job processing queue.

1)

Extract the module SSV$FILE_FLAG from the ScriptServer Device Control Library:

$ LIBRARY/EXTRACT=SSV$FILE_FLAG/OUT=SSV$FILE_FLAG.TXT -
_$ SYS$LIBRARY:SSV$DEVCTL.TLB
2)

Using your favorite editor, you will want to edit the file as follows:

*

Make sure you have the correct file. Look for the following PostScript code at the top of the file:

%!PS-Adobe
%>>
%>> ScriptServer (r) Printing System
%>> © Copyright 1988-1994 GrayMatter Software Corp.
%>>
%>> This software is furnished under license, and may only be used and
%>> copied according to the provisions of that license. All Rights Reserved.
%>>
%>> NOTE: Modification of this or any other PostScript code that is part of the
%>>	ScriptServer software by the end-user is done at his or her own risk.
%>>	GrayMatter Software can not guarantee the performance of modified 
%>>	software.
%>>
%>> File Flag Page; code revision V3.2-0 of July 22, 1991
%>>
*

You will then want to search farther in the code that places the UserName on the page itself. The section of the code looks like:

/showUser % stack: username
  {  gsave ColorPrinter {0 1 0 setrgbcolor} if
     .5 setlinewidth
     BigFont setfont
     628 exch cf
     grestore
  }
  bdef
*

You will want to change the line:

628 exch cf

to:

556 exch cf

which moves the username down one inch on the page, leaving room for us to add text at the top of the page.

*

Adding the following new code at the end of the file will print : CLASSIFIED at the top of the Flag Page:

/Class % stack: (nothing)
  {  gsave ColorPrinter {1 0 0 setrgbcolor} if
     MedFont setfont
     3.06 in 9 in moveto (CLASSIFIED) show
     3.06 in 8.9 in moveto setlinewidth 5.44 in 8.9 in lineto stroke % underline
     grestore
  }
  bdef Class

3)

Finally, you will want to insert the module back into your ScriptServerDevice Control Library as follows:

*Make sure all ScriptServer Queues are stopped.
*

Insert the library as follows:

$ LIBRARY/REPLACE SYS$LIBRARY:SSV$DEVCTL.TLB SSV$FILE_FLAG

4) Now you can restart your ScriptServer queues. Flag Pages should now print with CLASSIFIED printed across the top of the page.

Note: This modification does not affect PCL flag pages.

© 2020 GrayMatter Software Corporation