Saturday, March 3, 2012

Configuring Network Printer in Linux (Fedora)

Well that's another tedious task we have while configuring our system ;)

Lets configure one

First and foremost thing is your firewall. Make sure the firewall is down else you will not be able to search your printer in the network.

Every command needs to be executed as "root". Here we will disable iptables.

Code:
systemctl stop iptables.service

In other/older versions the command may be something as follows.

Code:
/etc/init.d/iptables stop

Mine is Fedora 16

Next, you have to install cups.

Code:
yum install cups

And start the service. By default it will start but just in case.

Code:
systemctl start cups.service

Point your web browser to http://localhost:631 and make sure the cups service is running.

Now, we can configure the printer either through cups or the system default printer configuration.

System Tools > System Settings > Printers

or

Code:
system-config-printer

Click on Add


Select Network Printer and double click on Find Network Printer



After few seconds the printers on your network should get displayed.

Select your printer and it should display the IP address and Port


Click Forward

It will search for drivers and you should get the driver page.
Select the options as follows. Mine is HP, select whichever is yours and click Forward



 
If the drivers are not available, it may download and install. So make sure you have an active internet connection.
 And Apply.


If the Cups service is not running, when invoking the "Printer" gui, the Add button may not be enabled.





No comments:

Post a Comment