System Administration Guide: Printing

ProcedureHow to Add a Form

  1. On the print server, become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Add a form that is based on a form definition.

    # lpforms -f form-name -F /etc/lp/forms/form

    Specifies the name you choose for the form

    -F /etc/lp/forms/ form

    Specifies the name of the form definition.

    For more information, see the lpforms(1M) man page.

    The form is added to the print server's /etc/lp/forms/form-name/describe file.

  3. Verify that the form was added by checking the output of the following command:

    # lpforms -f form-name -l

Example 10–14 Adding a Form

The following example shows how to add the medical form that uses the medical.fmd form definition.

# lpforms -f medical -F /etc/lp/forms/medical.fmd

See Also

Before the form can be used, one or more printers must be given access to the form. For more information, see How to Limit Printer Access to a Form.