LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-06-2003, 01:12 PM   #1
jweby
LQ Newbie
 
Registered: Mar 2003
Distribution: Red Hat 8
Posts: 17

Rep: Reputation: 0
Question 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
 
Old 06-06-2003, 03:55 PM   #2
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
In redhat 8 ther is a gui tool called redhat-config-printers or sommething close to that. That should be pretty easy to configure.
 
Old 06-06-2003, 07:30 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems sharing the printer on Linux via Samba to Windows computers melao SUSE / openSUSE 25 03-22-2005 09:37 AM
Sharing printer under linux to windows xp heathpitts Linux - Software 4 12-10-2003 11:39 AM
Sharing Printer between Windows and Linux trihai44100 Mandriva 8 11-17-2003 05:55 PM
Sharing Linux printer via Netatalk paranoia1980 Linux - Networking 3 08-05-2003 12:42 PM
Samba linux printer sharing santaman Linux - Networking 0 05-12-2002 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration