Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-24-2010, 03:17 PM   #1
Registered: May 2007
Posts: 62

Rep: Reputation: 15
How to introduce a network printer?


We have a network printer in the my network. This printer ip adress is

and I have a RedHat EL 5,2. And I have been using text mode this linux system. This linux ip adress

Now, I want to use this printer on the this RHEL 5.2. How can i introduce this network printer in the text mode?

Thanks for your helps.
Old 01-24-2010, 03:58 PM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
This page should help:
Old 01-24-2010, 05:36 PM   #3
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 47
Here's what I would do:
  • Install CUPS (I presume that this is done through YUM, but don't quote me, I'm not a Red Hat guy).
  • Start cupsd, however that works in Red Hat.
  • Install lynx
  • type 'lynx http://localhost:631'
  • in lynx, arrow down to 'Adding Printers and Classes', and press enter.
  • arrow down to 'add Printer'
  • enter user 'root' and root password.

You should see a page that looks like this:

Add Printer

     Home       Administration       Classes       Documentation/Help
     Jobs       Printers

Add New Printer

     Name:     ________________________________________
               (May contain any printable characters except "/", "#", and space)
   Location:   ________________________________________
               (Human-readable location such as "Lab 1")
  Description: ________________________________________
               (Human-readable description such as "HP LaserJet with Duplexer")

   The Common UNIX Printing System, CUPS, and the CUPS logo are trademarks
   of Apple Inc. CUPS is copyright 2007-2008 Apple Inc. All rights
Fill in Name, Location and Description fields, then press 'continue'

The next page looks like this, there's a drop down...

     Add Printer

       Home       Administration       Classes       Documentation/Help
       Jobs       Printers

     Device for test
             │ AppSocket/HP JetDirect             │
     Device: │ Backend Error Handler              │
             │ HP Fax (HPLIP)                     │
             │ HP Printer (HPLIP)                 │
     The Comm│ Internet Printing Protocol (http)  │ CUPS logo are trademarks
     of Apple│ Internet Printing Protocol (ipp)   │e Inc. All rights
     reserved│ Lexmark E330 USB #1 (Lexmark E330) │
             │ LPD/LPR Host or Printer            │
             │ LPT #1                             │
             │ SCSI Printer                       │
             │ Windows Printer via SAMBA          │
(Choice list) Hit return and use arrow keys and return to select option.
  Arrow keys: Up and Down to move.  Right to follow a link; Left to go back.
 H)elp O)ptions P)rint G)o M)ain screen Q)uit /=search [delete]=history list
Choose whichever option fits the print queue you're attaching to... based on IP address, I'm guessing that you'll choose 'AppSocket/HP JetDirect'. You will be prompted for a URI, which will probably look something like this: socket://address:9100

Cups has extensive on-line help pages (there are links in the management page localhost:631), which should guide you the rest of the way... this process will include installation of drivers and PPD files; these will be printer specific. CUPS supports a *lot* of printers, you shouldn't have much trouble finding the correct driver.

Make sure that there are no firewall rules blocking access to the remote printer.

once you have gone through this process, you will have access to 'lp' and 'lpr'. You may also want to install 'enscript' which generates pretty-printed PostScript output, and allows features such font selection and as N-up printing.

Last edited by bartonski; 01-24-2010 at 05:40 PM.


cups, printer

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Brother HL2070N network printer installed, print jobs stuck in printer que jgz Linux - Networking 0 02-14-2008 10:54 PM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM
Printer problems, can't find a printer that is attached to a windows network. ahalfapint Linux - Networking 2 04-12-2006 04:29 PM
CUPS Network Printer/ server indicator blinks no printer output wine Linux - Networking 8 03-18-2006 10:20 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration