System Administration Guide: Advanced Administration

How to Delete a Form

  1. Log in as superuser, lp, or assume an equivalent role on the print server.

  2. 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).

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

  3. 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.

Example—Deleting a Form

The following example shows how to delete the medical form.


# lpforms -f medical -x