Printer configuraion on Linux
========================
Printer configuration is very easy in Linux,
We need to configure a printer on a linux server and from other servers which are conneted to the printer server can able to give priouts, print jobs, etc.
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
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
lpstat -p printer-name -l
Stop and start Service
cupsdisable printer-name——–stop
cupsenable printer-name———start
cupsenable printer-name———start
Verify the system’s default printer:
lpadmin -d
lpadmin -d
Delete the printer:
lpadmin -x printer-name

Comments
Post a Comment