Sunday, December 5, 2010

Adding a printer in Linux

In Linux to add a Network printer we use CUPS which need to be installed to add a printer.

To add a printer from command line we use the command

lpadmin -p LaserJet -E -v socket://ip address


to make the above printer default we use d option with lpadmin

lpadmin -d printername

To add the printer using GUI

we type the command system-config-printer which opens a GUI for the user which is very easy to configure.

No comments:

Post a Comment