Solved

How to share printer with samba

Posted on 2003-10-29
7
22,245 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
  • 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now