Solved

How to share printer with samba

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
is my large folder zipped corrupted 4 77
Remove Resilio directory from Netgear ReadyNAS 212 via SSH. 2 47
IP 10.0.1.2 / 255.0.0.0 61 56
Check for Linux process in script 7 49
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

828 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