LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2003, 10:17 PM   #1
bluedude2288
Member
 
Registered: Nov 2003
Location: Akron, Ohio
Distribution: -->Debian<--, RH, Android, Ubuntu
Posts: 62

Rep: Reputation: 15
Samba Printing


I have a problem printing with samba 3 from windows XP, here my config file, i am using Clark Connect 2.1 as my OS.



[global]
;basic server settings
workgroup = HOME
server string = SambaServer
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 wins support = yes

;PDC and master browser settings
os level = 64
preferred master = yes
local master = yes
domain master = yes
domain logons = yes

;security and logging settings
security = user
encrypt passwords = yes

;user profiles and home directory
logon path = \\%L\profiles\%U
logon script = netlogon.bat

# ==== shares ====

[homes]
comment = Home Directories
browseable = no
writeable = yes

[profiles]
path = /home/samba/profiles
profile acls = yes
writable = yes
browseable = no
guest ok = yes

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
writable = no
share modes = no

[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes

[samsung]
printable = yes
print command = /usr/bin/lpr -P%p -r %s
printer = samsung-laser
printing = BSD
path = /var/spool/cups/tmp

[tmp2]
comment = temp 2
path = /var/spool/cups/tmp
read only = no
public = yes

when i print something from the windows box, i see it in the completed documents when i look at the cups server, when i look at the temp file that samba transfers, all i see is a bunch of garbage, a 2kb file shows up as a 40kb file in the temp directory, printing from linux works fine, what could be wrong?
 
Old 12-06-2003, 11:30 PM   #2
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
I'm not real familiar with Samba but you may have to change this line to print to cups

print command = /usr/bin/lpr -P%p -r %s
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba Printing garr0323 Linux - Newbie 1 10-24-2003 07:38 AM
Samba printing leonardox Linux - Networking 1 08-31-2003 12:49 AM
samba printing haydn Linux - Networking 2 07-29-2003 10:18 AM
samba printing bmcneely0 Linux - Networking 14 07-20-2003 08:07 AM
printing + samba? aeshley Linux - Newbie 1 06-22-2002 11:52 PM


All times are GMT -5. The time now is 12:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration