Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-06-2003, 09:17 PM   #1
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.

;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 ====

comment = Home Directories
browseable = no
writeable = yes

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

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

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

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

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, 10:30 PM   #2
Glock Shooter
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


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

All times are GMT -5. The time now is 10:11 PM.

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