Wednesday, November 16, 2011

Linux Printer Installation


You can use a variety of tools to administer printers in CUPS. Some are special to your distribution, some are free and some arecommercial. We tested CUPS mostly on a PC running SuSE Linux.We cannot say much about the use of CUPS with any other Linux distribution like RedHat or Linux Mandrake, but it should be very similar on any other system.

Two ways on how to install a printer are shown in the following:

1. a GUI based installation (using the ESP web interface)



2. an installation with command line tools

GUI based installation example

AS mentioned before, the ESP web interface is included in any CUPS version. You can use it for printer administration and job management.To show this example, we used the web interface provided by CUPS. It is accessible via Port 631, the standard port for IPP and CUPS. It is no problem if you have CUPS and other servers on the same machine while using this port.

1. Just type the following URL:
http://localhost:631
if you are working locally on your server
http://[server-name]:631
This procedure will lead you to the starting page of the web interface.  Choose "Manage Printers" here to get to the printer overview.This screen shows you all printers installed on your system and their current status. Printers marked green are ready to print,printers marked red with an open tray are stopped. In that case you have to check whether there is a problem 

2. In order to install a new one, choose "Add Printer" here.

3. Then you have to give a name to your new printer.

4. In this step you have to choose the type of connection that you are using for the printer you like to install. Possible settings you can choose are:

• Disk File
• App Socket /HP Jet Direct
• Internet printing protocol
• LPR/LPD Host or printer
• Parallel or serial ports

5. Now you have to put in a valid IP-address and a remote queuename for your printer.

6. Now choose your manufacturer. All the manufacturer names offered in this list and the model names offered in the list in Step 7 are generated by CUPS while using the PPD files stored in 
/usr/share/cups/model/[name of manufacturer]

If your printer does not appear in this list, please make sure that there is a PPD file for it in this location. If it is not, get one and just copy it to this location.

7. Now you have to choose a printer. If your printer does not appear in the list you have to install a PPD file on your system. To install a PPD you have to copy it to
/usr/share/cups/model/[konicaminolta]
and restart your CUPS server with the commands
Linux: # /etc/init.d/cups restart
or
Linux: # rccups restart
The last one does not work on every system, but in SuSE Linux it does. You need to be logged in as root to do that (or use the “Speruser” command SU).
Now your printer is installed and ready to be configured.

0 comments:

Post a Comment