Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please can you help me. I have a Windows XP and a Linux machine in a workgroup network. Samba now works fine and I can view the Linux machine in Windows. I have a printer directly connected to the Windows machine and I have allowed the printer to be shared on the network. the printer.
Now I am trying to configure the smb.config file to allow me to print from the linux machine to the network printer. When I try tp print something nothing happens - i don not even get an error message.
I also tried to configure the smb.config file to use a pdfprinter and again nothing seems to happen when I print using the pdfprinter (although I can see it on my Windows machine.)
Also, wheras before I could see the files on my Linux machine from my Windows machi8ne once I uncommented the printer commands I can no longer see the Linux files from Windows and i cannot figure out why.
Any kind of advice would be great as I do not have a clue what to do next. Below is my smb.config file:
# Global parameters
[global]
workgroup = MSHOME
netbios name = LILY
server string = Samba Server
password server = None
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = No
wins server = w.x.y.z
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
comment = Root's Account on the Linux Machine
path = /
read only = No
hosts allow = 192.168.0., 255.255.255.
cups options = raw
[homes]
comment = Home Directories
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[tmp]
comment = Temporary file space
path = /tmp
guest ok = Yes
[hannadir]
comment = Hanna's Service
path = /usr/somewhere/private
valid users = hanna
printable = Yes
[public]
path = /usr/somewhere/else/public
guest only = Yes
guest ok = Yes
printable = Yes
What distro? You should be able to browse to the Windows machine and add the printer. You should not have to do anything to smb.conf as that would be setting up a printer on the Linux box to share. So on Ubuntu (for example), System, Administration, Printing, New printer, Network printer, Windows Printer (SMB), Enter Windows host, shared printer name, user & password, Forward, select print driver and viloa! A networked printer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.