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 are commercial. 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. The next section shows a “real life” example installation we did with a PI5501/Di450 and SuSE Linux. Any information given in this section is tested on SuSE Linux 7.3, but it should be easy to do it with nearly any other Linux distribution. But in that case we will not use SuSE’s YaST2!
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
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
if you are working on a remote server. .
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.
Note: According to the IPP specifications, CUPS is not case sensitive. That means, you do not have to look for the use of capitalization or the use of small initial letters (di351test and DI351TEST specify the same printer!).
Additionally you have the opportunity to give more information about your printer and the location or any other description that might be useful (e.g. any special features or configurations or maybe restrictions)
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 queue name for your printer.
Please see the given examples on the screen for the correct syntax.
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.
You need to be logged in as root to do that (or use the “Sper user” command SU).
Now your printer is installed and ready to be configured.

No comments :

Post a Comment