Solved

How to share printer with samba

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
networking details on centos 6.6 4 63
mcrypt_create_iv() is deprecated 4 159
Can't ping New Linux Servers 40 66
CENTOS DHCP Server / PXE/TFTP 14 77
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

777 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