Solved

How to share printer with samba

Posted on 2003-10-29
7
22,255 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 25 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

696 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