Technical data

8
Creating and Maintaining Form Definitions
You can create form definitions, which users can include in their PRINT
command to modify the appearance of a file. A form definition can specify
several attributes for a print job, including the type of paper stock on which
it is to be printed; the width, length, and margins associated with the paper;
whether long text lines are to be truncated or wrapped onto another line; and
setup modules to be implicitly sent to the printer.
When users specify an unknown form name in their PRINT command,
DECprint Supervisor informs them immediately. In contrast, if they specify an
unknown setup module in their PRINT command, DECprint Supervisor does
not inform them of the problem until it starts printing the job and needs to
access the setup module.
The commands for creating, maintaining, and deleting forms require that you
have operator privileges.
8.1 Associating Setup Modules with Forms
To associate a setup module with a form, use the DEFINE/FORM command
with the /SETUP qualifier.
Example 8–1 defines a form called CONFIDENTIAL that uses a setup module
called PRIVATE.
Example 8–1 Sample Form Definition, CONFIDENTIAL
$ DEFINE/FORM CONFIDENTIAL 101-
/DESCRIPTION="prints the word CONFIDENTIAL on each page"-
/STOCK=DEFAULT-
/SETUP=PRIVATE
When you define a form, you supply the following qualifiers and information:
Form Name: You select the name for the form you are defining. The name
can consist of up to 31 characters and must contain at least one alphabetic
character.
Creating and Maintaining Form Definitions 8–1