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.
Delete the form.
# lpforms -f form-name -x |
Is the form to be deleted.
Deletes the specified form
The form is deleted from /etc/lp/forms/form-name file.
For more information, see the lpforms(1M) man page.
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.
The following example shows how to delete the medical form.
# lpforms -f medical -x |