Saturday, October 1, 2011

Installing Common Unix Printing System (CUPS)

AIM

To install the Common Unix Printing system into the local system.

INTRODUCTION

CUPS is the standards-based, open source printing system developed by Apple Inc. for Mac OS® X and other UNIX®-like operating systems. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer.

CUPS consists of a print spooler and scheduler, a filter system that converts the print data to a format that the printer will understand, and a backend system that sends this data to the print device. CUPS uses the Internet Printing Protocol (IPP) as the basis for managing print jobs and queues.

CUPS can be downloaded from the internet link http://www.cups.org/software.php

(In this post an example for adding HP printer is given) 

PROCEDURE

1.    Open the terminal window in linux and check whether the CUPS installed or not.
$rpm –qa|grep cups
to display the list of CUPS packages installed in your system.

2.    Check whether the CUPS services is enabled or not, we need root permission.
$su

3.    Give the password as admin123
#service cups status
4.    Goto browser and type
http://localhost:631/ displays the CUPS 1.4.4 HOMEPAGE

5.    Under CUPS for admin click adding printer and classes link.

6.    Under printer click and printer type username and password.
Username: root       password: your_password

7.    Select the local printer option button and select ‘Hp printer(HPLIP)’ and click continue.

8.    To display connection urls and click continue.
In connection type http://localhost:631/

9.    Now type name, description, location of the printer.
Eg: Hp1010           des:Hp1010laserjet printer                  location:lab1   and click contine.

10.    Next select Make from the list as ‘HP’. Click continue.

11.    Select model as list Hp1010  select Hplaserjet 1010,hpcups 3010.6(en) click add printer.

12.    Now it displays set default options of Hp1010 window.

13.    In the general listing you can change the print mode, media size etc. Click set default options.

14.    It displays printer Hp1010 default option have been set successfully, now click the Hp10101 link and maintenance is sample paper print. 


(Sample Screenshot)

1 comment:

faizal sharn said...
This comment has been removed by the author.