System Administration Guide: Solaris Printing

ProcedureHow 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

    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 8–15 Deleting a Form

The following example shows how to delete the medical form.


# lpforms -f medical -x