To delete an entry in the /etc/printcap file, you must use your favorite text editor. Be sure to delete the entire entry, which is continued over two lines. Also, you should delete the spool directory /usr/spool/lpd/printer_name and the file /usr/spool/lp/admins/lp/printers/printer_name/configuration associated with the deleted printer. Finally, if the deleted printer is the system default printer, you should modify the file /usr/spool/lp/default appropriately. See ``Setting up a client'' earlier in this chapter for more information.