?
Solved

How to share printer with samba

Posted on 2003-10-29
7
Medium Priority
?
22,258 Views
Last Modified: 2013-12-15
I am using Redhat 8 with latest samba dowmloaded. I am having problem connecting to my colleagues printer who are using Win 98 & Me
Please advise me how to configure the samba so that i can share the files and printers
Is there any workable smb.conf examples?

Thank you
0
Comment
Question by:simon556
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 100 total points
ID: 9650364
smb.conf is only used if you want to share files and printers on your linux box with others. To use a printer on a windows box from your linux box use the program printconf-tui/printconf-gui or redhat-printer-config to set it up. The first 2 programs were on redhat 7.2 and the last is on redhat 9.0 - im not sure when they switched over. Choose windows printer as the printer type and type in the path to your colleages printer. To access shares on windows boxes you can either mount them like -
mount -t smbfs //windowsbox/sharename /mnt/yourmountpoint or download a program such as Lineighbourhood - http://www.bnro.de/~schmidjo/
0
 

Expert Comment

by:RayKlassen
ID: 11386108
there's also a bit of a jargon problem here. You don't really want to share their files/printers. you want to connect to their shared files/printers. If you put the question that way, you'll get generally better responses. Not to disagree too much with 'owensleftfoot' but some client (which are the functions you want) software do look to the smb.conf file. make sure the workgroup is the same as your co-workers.
you can access local cups print (I imaging RH9 uses cups) with a webbrowser pointed at http://localhost:631/admin where you can create or delete printers
your printer url will be
smb://user:password@workgroup/server/printer
If you have several printers
the lpadmin (run as root) will set the default printer for apps that don't access the cups system directly.
 
0
 

Expert Comment

by:RayKlassen
ID: 11386250
correction: to set the default printer use lpoptions not lpadmin

oops
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 11671811
I explained exactly how to set up a smb printer on redhat 8.0
0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month8 days, 20 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question