Products   Support   Download   Contact

DEFAULT SETTINGS NOT WORKING WITH THE PRINT COMMAND

revised: 12-Aug-2002

Contents | Index | About the Icons

The ability to specify the resolution with which a job is printed is dependent on the point at which resolution switching instructions are inserted into the print job. "Clean, portable" PostScript code will not contain resolution switching instructions, for instance the PostScript created by both of the ScriptServer® products does not contain this information; PostScript created by workstation printer drivers may contain this code depending on the PPD used.

This memo is concerned with setting an appropriate "default" resolution when no resolution is otherwise provided by the job stream. With the ScriptServer PAN Printing System product, the PostScript fragments shown in step two of the table below would be defined as resources and then associated with the appropriate forms.

 

The rest of this memo pertains specifically to the ScriptServer for OpenVMS product.

To specify the resolution with a print job on the QMS PS1700 with ScriptServer for OpenVMS, you must create two PostScript setup modules in the device control library (SSV$DEVCTL.TLB). These setup modules can then be associated with VMS FORMS, which allows you to print with the desired resolution simply by using the command PRINT/FORM:

PRINT/FORM=form-name/QUEUE=queue-name file-name

Where "form-name" is one of the two forms described below, depending on your need. These forms will also work with foreign queues.

1) Set your default directory to SYS$LIBRARY:
2)

 Using a text editor create the following two files:

HIRES.PSLOWRES.PS
%!PS-Adobe
statusdict begin
600 setresolution
end
%!PS-Adobe
statusdict begin
300 setresolution
end

3) Stop all ScriptServer Queues or create a new copy of the device controllibrary.
4)

 Insert the two modules into the SSV$DEVCTL.TLB with thelibrary commands:

    $ LIBRARY/REPLACE SSV$DEVCTL.TLB HIRES.PS    $ LIBRARY/REPLACE SSV$DEVCTL.TLB LOWRES.PS
5) Now you can start your ScriptServer queues.
6)

 Define two VMS FORMS like the following:

    $ DEFINE/FORM/STOCK=DEFAULT/SETUP=HIRES HIGHRES 88    $ DEFINE/FORM/STOCK=DEFAULT/SETUP=LOWRES LOWRES 99
7)

Now you can print a file on a selected resolution by using the command:

For 600dpi
$PRINT/FORM=HIGHRES/QUEUE=queue_name file_name
For 300dpi
$PRINT/FORM=LOWRES/QUEUE=queue_name file_name

© 2020 GrayMatter Software Corporation