Specifications
6-16
Guide to Printers and Printing
Page length: 66
Page width: 80
Number of pages: 2
Line pitch: 10
Character pitch: 16
Character set choice: any
Ribbon color: blue
Comment:
Check form
Alignment pattern:
XXXX XXXXXXXXXXXXX XXXXXXXXX
xxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx
The print service uses the alignment pattern to line up the forms before printing begins and
prompts you to perform an alignment before printing.
Depending on your printer, specify page length in lines, inches (i), or centimeters (c).
Specify page width in columns, inches (i), or centimeters (c). In the example above, page
length is specified as 66 lines. If the printer recognizes inches, specify the page length as
11i.
Adding a Form to the Print Service
After you have created a form, you must add it to the service. Choose a name that
describes the form, because you use this name when you mount the form. The following
command adds the form previously described:
lpforms –f check –F /tmp/check.desc
This command places the form in the /usr/spool/lp/admins/lp/forms file.
Removing a Form
The print service imposes no fixed limit on the number of forms you may define. It is a good
idea, however, to remove forms that are no longer appropriate. If you do not, users must
examine a long list of obsolete forms when choosing a form. In addition, because the print
service must occasionally look through all the forms listed before performing certain tasks,
the failure to remove obsolete forms may require unnecessary processing by the print
service.
To remove a form, enter the following command:
/usr/sbin/lpforms –f form–name –x
Restricting User Access to Forms
You can limit the availability of certain forms to selected users. For example, you may want
to limit access to checks to the people in the payroll department or accounts payable
department.
The print service restricts the availability of a form by using the lists (provided by you) of
users allowed or denied access to that form. If a user is not allowed to use a particular form,
the print service will reject the request to print a file with it.
The method used to allow or deny users access to a form is similar to the method used to
allow or deny users access to the cron and at facilities. See the crontab command for
more information.
If users on your system can access forms on a remote printer, all users included on the
allow list for the local system must be included on the allow list for the remote system as
well.
If, on the other hand, a local user is to be denied permission to use forms on a remote
printer, it is not necessary for the deny lists in both the local and remote print services to
include that user. By being included in only one of these deny lists, a user can be denied
access to remote forms. As a courtesy to your users, however, make sure that any local