Specifications

6-17
System V Printer Configuration
users who are included in a deny list on a remote system are included in the corresponding
deny list on your local system. This ensures that whenever a user on your system requests
a form without authorization, the user is immediately informed that permission to use the
form is being denied. If the local print service does not know that a user is denied
permission to use a particular remote form, there will be a delay before the user receives a
permission denied message from the remote system.
Defining the Forms Access List
To add names to the allow list and remove them from the deny list, run the following:
lpforms –f form–name –u allow: user–list
To add names to the deny list and remove them from the allow list, run the following:
lpforms –f form–name –u deny: user–list
The user–list is a comma– or space–separated list of names of users. If you use spaces to
separate the names, enclose the entire list (including the allow: or deny: but not the –u) in
quotes. Each item in the list can include a system name.
Specifying allow:all allows all users. Specifying deny:all denies all users.
If you do not add user names to the allow or deny lists, the print service assumes that all
users may use the form.
Mounting a Form
Before the print service starts printing files that need a preprinted form, you must mount the
form on a printer. If alerting has been set on the form, you will be alerted when enough print
requests are queued waiting for the form to be mounted (see Alerting to Mount Forms and
Font Cartridges on page 6-41 for information on alerting). Mounting a form involves loading
it onto the printer and then informing the print service that it is mounted. It is sound practice
to disable the printer first.
Until you have mounted a form on a printer, only print requests that do not require the form
will be sent to the printer.
Use the following procedure to inform the print service that the form is mounted:
1. Disable the printer.
2. Load the new form onto the printer.
3. Run the following command to mount a form:
/usr/sbin/lpadmin –p printer–name –M –f form–name –a –o filebreak
4. Re–enable the printer.
If an alignment pattern has been registered with the form, you can ask that this be
repeatedly printed after you have mounted the form, until you have adjusted the printer so
that the alignment pattern looks correct.
The –o filebreak option tells the print service to add a form feed after each copy of the
alignment pattern, if there is one. You must press the return key before each copy of the
alignment pattern is printed.
The actual control sequence used for the form feed depends on the printer involved and is
obtained from the terminfo database. If the alignment pattern already includes a form feed,
omit the –o filebreak option.