To deallocate a printer that is named chestnut, type the following command:
# deallocate /dev/lp/chestnut