Configuring of the printer HPleserjet/Zebra/cannon Etc.
step-1
/etc/hosts
Printername IP
step-2
cupsaccept printer-name——–for enabling
cupsenable printer-name
Step-3
configuration of RAW printer:
lpadmin -p printername -E -v socket://printername:9100 -m raw
To add an HP LeserJet printer that is connected to the parallel port, you would type the following command:
lpadmin -p LeserJet -E -v parallel:/dev/lp1 -m Leserjet.ppd
Step-4
Verify that the printer is correctly configured.
lpstat -p printer-name -l
Stop and start Service
cupsdisable printer-name——–stop
cupsenable printer-name———start
Verify the system’s default printer:
lpadmin -d
Delete the printer:
lpadmin -x printer-name
for graphical view Please visit http://computernetworkingnotes.com/network-administrations/printer-server.html
By: Bibhuti Bhusan
Leave a comment