LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 01-24-2010, 04:17 PM   #1
epamuk
Member
 
Registered: May 2007
Posts: 62

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


Hi,

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

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

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, 04:58 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,305

Rep: Reputation: 205Reputation: 205Reputation: 205
This page should help: http://www.lockergnome.com/it/2005/0...ommand-line-2/
 
Old 01-24-2010, 06:36 PM   #3
bartonski
Member
 
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:

Code:
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")
               Continue

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

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

Code:
     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 06:40 PM.
 
  


Reply

Tags
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 11:54 PM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 02:23 PM
Printer problems, can't find a printer that is attached to a windows network. ahalfapint Linux - Networking 2 04-12-2006 05:29 PM
CUPS Network Printer/ server indicator blinks no printer output wine Linux - Networking 8 03-18-2006 11:20 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 06:37 PM


All times are GMT -5. The time now is 06:12 AM.

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