Log in as superuser, lp, or assume an equivalent role on the print server.
Delete the form.
# lpforms -f form-name -x |
-f form-name |
Form to be deleted. |
-x |
Deletes the specified form. |
For more information, see lpforms(1M).
Verify that 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 |