LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2005, 09:28 AM   #1
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Rep: Reputation: 30
add a printer through print server


How do i add a printer via a printer server? The printer type is lexmark Optra S 1650. I am using gnome, distro novell (suse 9.2).
 
Old 05-24-2005, 11:57 AM   #2
masterspud777
Member
 
Registered: Jul 2003
Location: California, US
Distribution: SuSE 9.3 (so slick!), WinXP
Posts: 34

Rep: Reputation: 15
Printing: Solaris client -> Mandrake server

I have a similar problem that I could use some help with. In fact, I'm betting that the answer to feetyouwell's question will also be the answer to mine, so I'll pose my question here.
I have a network of 8 Sun Blade machines running Solaris 10 connected to each other and a server running Mandrake 10.0 via a switch. In addition, I've got a printer hooked up to the Mandrake server via USB.
What I want to do is allow the 8 sun machines access to the printer that is installed on the Mandrake server. The problem is that when I log into one of the Sun machines, open the Solaris print manager, and try to select the naming service as NIS (in order to get a list of printers available to me, and then install it), I am unable to authenticate to the Mandrake server to retrieve a list of printers available. The message I get is "Required login failed."
On a side note, I've already got the network set up to allow logging into the sun machines with user accounts that are on the mandrake server only, so I'm fairly confident that allowing access to this printer will be a small leap from here.

I've tried Googling this problem for a number of hours, and tried several things, but nothing has worked. So, if someone could just treat me like a dummy and explain how to go about:
a) setting up Mandrake 10.0 as a print server for a printer connected via USB, and...
b) setting up Sun Blades running Solaris 10 to be able to install printers via the Mandrake print server. (similar to feetyouwell's question)


Thanks ahead of time for your help!
Let me know if there's any more information that you need.

-Spud
 
Old 05-24-2005, 02:46 PM   #3
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Original Poster
Rep: Reputation: 30
i solved my problem by using ip direct print, it's cheating since now i am directly connected to the printer and bypass the server. However, now i can print.

I have not worked with solaris for many printing cases, i'd imagine if you're gonna set up a printer server in mandrake, you will use cups server. if your solaris box also uses cups, then here is a printercap file from a BSD box you can read about it to see whether it helps:
Code:
lp|IS117|PS;r=300x300;q=medium;c=mono;p=letter;m=auto:\
    :lp=:\
    :rm=<your.printer.server.name.or.ip.here>:\
    :rp=<name.of.your.printer>:\
    :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/<name.of.your.printer>:\
    :lf=/var/spool/lpd/<name.of.your.printer>/log:\
    :af=/var/spool/lpd/<name.of.your.printer>/acct:\
    :mx#0:\
    :sh:

Last edited by feetyouwell; 05-24-2005 at 02:47 PM.
 
Old 05-24-2005, 04:45 PM   #4
masterspud777
Member
 
Registered: Jul 2003
Location: California, US
Distribution: SuSE 9.3 (so slick!), WinXP
Posts: 34

Rep: Reputation: 15
Interesting. Thanks for your info! Apparently neither the Sun machines nor the Mandrake server have a file /etc/printcap or /etc/printercap, so I'm not sure what to do. Would adding this file to the system be the key? Would the system even know what to do with the file if I added it?

I did find a link to some helpful instructions at this site under section 12.2.2 "Adding a Remote Printer", but the files that the instructions reference (namely /etc/printcap, and /etc/hosts.lpd, among others) simply do not exist on ether my Sun machines or on my Mandrake server. Should I create these files manually?

Thanks all. I appreciate your help.

-Spud
 
Old 05-26-2005, 03:44 PM   #5
feetyouwell
Member
 
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Original Poster
Rep: Reputation: 30
Missing of /etc/printercaps might indicate you don't have cups installed, make sure cups is installed on both systems. I know you can install it on Mandrake for sure. Have you used urpmi for Mandrake, if you have that set up correctly, all you need to do is to
Code:
 urpmi cups
and it will install everything you need.
 
  


Reply



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
add windows drivers to linux print server jhayes Linux - Networking 5 02-01-2007 09:42 AM
How to add a windows print server to Linux? jon_k Linux - General 3 12-01-2005 02:22 PM
start print server and printer by default caulfiek SUSE / openSUSE 2 10-23-2005 02:09 PM
print server - linux client can't see the printer DJOtaku Linux - General 8 10-07-2005 05:59 PM
cant print pdf to windows printer server fara Linux - General 9 05-13-2003 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:46 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
Open Source Consulting | Domain Registration