To add a printer in Red Hat Linux, you can enter a command from the # prompt. You will need the print server name and the IP address to assign to the printer. You will need to login as root.
Below is an example (jd01=print device, 192.168.1.101=printer IP address):
# lpadmin -p jd01 -E -v socket://192.168.1.101 -m raw -D “Printer Name/Model”
To delete a printer, you will need only the print device name. Example:
# lpadmin -x jd01