System Administration Guide: Printing

ProcedureHow to Delete 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. Delete the form.


    # lpforms -f form-name -x
    
    -f

    Is the form to be deleted.

    -x

    Deletes the specified form

    The form is deleted from /etc/lp/forms/form-name file.

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

  3. Verify that the form was deleted.


    # lpforms -f form-name -l
    

    You should receive an error indicating that a form by the specified name does not exist.


Example 10–15 Deleting a Form

The following example shows how to delete the medical form.


# lpforms -f medical -x