Linux to Linux Printer sharing with Samba
Hello,
I have a network with machines that dual boot wintendo 2k and Redhat linux 8. I am using samba so mount shares and printers. Currently it works for mounting shares from windows to linux and linux to linux. It is also working for printing from windows to linux. What I cannot seem to get to work is printing from linux to linux. I cannot seem to get the same printer share to work from a linux machine? Any Ideas, Here is the Smb.conf file from the host. I can browse the printers in windows network and print. But Printing from a linux machine to the same printer share on the linux host does not work. # Samba config file created using SWAT # from localhost.localdomain (127.0.0.1) # Date: 2003/06/06 12:36:10 # Global parameters [global] workgroup = MBS netbios name = DUALLIE server string = Samba Server encrypt passwords = Yes obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No hosts allow = 192.168. printing = lprng [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No [printers] comment = All Printers path = /var/spool/samba guest ok = Yes printable = Yes [public] path = /publicfolder read only = No guest ok = Yes [RedHatSysArch] path = /mnt/common/RedhatSysArch read only = No guest ok = Yes |
In redhat 8 ther is a gui tool called redhat-config-printers or sommething close to that. That should be pretty easy to configure.
|
yeah, you don't need samba if you are only sharing between two linux boxes, it's much easier than that!
the tool jstu is refering to is 'printtool' or 'printconf', one of those just set up a local printer on one using that tool, and then make sure the computers can talk to each other and have appropriate hostnames (in /etc/hosts on each computer) and then use printconf on the other and set 'remote lp queue' and put in the appropriate information including the hostname of the print server and the name of the print queue on the remote printer, and then start lpd on both machines and presto.... shared printer :) |
All times are GMT -5. The time now is 09:38 AM. |