LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-14-2013, 08:29 PM   #1
jxcarter
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
How to setup printer in Linux redhat v5.5 to point to windows printserver


I need to setup printers on Linux redhat server v5.5. I am coming from an openvms environment the process we use on openvms is as follows

1. Create lpd queue
2. Then create printer relay queue which formats the print job and send it off to the lpd queue which transfer it out to the print server.

I am assuming I have to do something similar on the Linux system. Please confirm and give the steps for me to do this. I read cups documentation and other articles still not clear to me any help will be greatly appreciated. If this is not the correct forum let me know.
 
Old 06-15-2013, 02:25 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,680

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
open up the cups web interface on the rhel machine and configure it from there
it is :
http://localhost:631/

The above link is to the machine you are sitting in front of .

and see the old rhel5 documentation
https://access.redhat.com/site/docum...erprise_Linux/

and search the Redhat Knowledge base
https://access.redhat.com/search/quick
( you will have to log in to the red hat site with the credentials you set up with the required support contract )

Last edited by John VV; 06-15-2013 at 02:29 PM.
 
Old 06-15-2013, 03:44 PM   #3
jxcarter
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
John,

Is there a whitepaper or forum discussion that gives me step by step using the CLI. I cannot URL connect to the system do to the network configuration. I have been trying over the last 2 weeks.
 
Old 06-15-2013, 04:23 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,680

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
have a look at the man page for "system-config-printer"
Code:
man system-config-printer
also the "foomatic" db of printers
Code:
su -
yum search foomatic
--- if listed then install ---
yum install foomatic
and search the redhat Knowledge base
 
Old 06-15-2013, 04:27 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,594

Rep: Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136
Quote:
Originally Posted by jxcarter View Post
John,
Is there a whitepaper or forum discussion that gives me step by step using the CLI. I cannot URL connect to the system do to the network configuration. I have been trying over the last 2 weeks.
There are many 'step-by-step' guides that can EASILY be found. I put "how to create lpd queues in linux with cli", and got:

http://sumitgoel.me/2013/01/14/netwo...-command-line/

...as one of the results. If you've been looking for two weeks now, wouldn't it be likely you'd have come across such things in Google by now? You will need SOME sort of access to the Linux system, and access to the root account to build system-wide queues. However, since you want to print to a Windows server, you will need information about that Windows print server, and you'll also need to do/make sure of a couple of things on it
  • The Windows print server will have to have the printer(s) shared to the network
  • You will need a valid user ID/password (if required) for the Windows system
  • You will need the workgroup name that the Windows system is in
  • The Windows print server will need to have Windows support for Unix printing enabled.
  • You will need the IP address of the Windows print server
  • You will need the name of the printer/queue ON the Windows print server
Lpadmin needs these things. When you set up the queue, they'll all be required. For example, to set up a printer named LASER1 on a Windows print server at address 10.11.12.13, workgroup GROUP using the user ID Bob with the password Alice, as a Linux printer name of NewLaser:
Code:
lpadmin -p NewLaser -v smb://GROUP/Bob:Alice@10.11.12.13/LASER1
 
1 members found this post helpful.
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto setup printer on linux with only Windows driver ? mhtrinh Linux - General 7 03-22-2010 10:16 AM
Setting up a Windows network with a Linux box as a printserver? sweetnsourbkr Linux - General 6 10-15-2006 10:56 PM
Syslog setup trouble with Wireless access point redhat bill78uk Linux - Wireless Networking 0 10-08-2004 11:45 AM
client Linux Redhat 8.0 cannot use Windows 2000 Printer Server tthai01 Linux - Networking 0 12-10-2002 03:49 AM
Can't print to Windows printer from Linux RedHat 7.2 LinuxJuanaBe Linux - Newbie 10 05-05-2002 10:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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
Open Source Consulting | Domain Registration