Networking Forums

Networking Forums > Computer Networking > Linux Networking > Samba Printing Problem

Reply
Thread Tools Display Modes

Samba Printing Problem

 
 
TLann
Guest
Posts: n/a

 
      11-30-2003, 08:39 PM
I've worked on this problem for several days now. Even though, I've
seen similiar problems with a solution on the interweb it doesn't seem
to help. Is there anyone that could take a look and make some
suggestions?

Thx,
TLann
Paticulars
============
-Running Red Hat 9.0 on a PC
-The printer prints from this client using cups (Mother)
-I can surf the internet from Mother and ping the other stations
(Tabby[Win 98] and Leggz [Win XP])
-Tabby and Leggz can also browse to their home directories on Mother.

Symptoms
===========
-Tabby and Leggz cannot print.
-When Tabby prints, it seems to go through fine but nothing comes out
the printer. When I check the samba spool directory /var/spool/samba
, temp files show up their briefly after being spooled.
-When Leggz prints, several things can happen. Either I'm given the
pop up window Failed to call StartDocPrint or it goes through with
nothing happening including nothing ending up in the samba spool
directory.

Configuration
================
Smb.conf
------
[global]

workgroup = Technoeclectic
server string = Momma likes the Samba
netbios name = Mother
hosts allow = 192.168.0.
printcap name = cups
load printers = yes
printing = cups
use client driver = yes

# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log
max log size = 0
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd


unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*success fully*
pam password change = yes
obey pam restrictions = yes

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

local master = yes
os level = 33
domain master = yes
preferred master = yes
wins support = yes
guest ok = yes
guest account = adm
dns proxy = no


#============================ Share Definitions
[homes]
comment = Home Directories
browseable = yes
writeable = yes
valid users = %S
create mode = 0600
directory mode = 0700
map to guest = bad user


[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
public = yes
printer = Mothers_Mouth
writable = yes
printable = yes
guest ok = yes
create mode = 0700
available = yes
 
Reply With Quote
 
 
 
 
Kirk C Aune
Guest
Posts: n/a

 
      12-03-2003, 12:30 AM
TLann wrote:
> I've worked on this problem for several days now. Even though, I've
> seen similiar problems with a solution on the interweb it doesn't seem
> to help. Is there anyone that could take a look and make some
> suggestions?
>
> Thx,
> TLann
> Paticulars
> ============
> -Running Red Hat 9.0 on a PC
> -The printer prints from this client using cups (Mother)
> -I can surf the internet from Mother and ping the other stations
> (Tabby[Win 98] and Leggz [Win XP])
> -Tabby and Leggz can also browse to their home directories on Mother.
>
> Symptoms
> ===========
> -Tabby and Leggz cannot print.
> -When Tabby prints, it seems to go through fine but nothing comes out
> the printer. When I check the samba spool directory /var/spool/samba
> , temp files show up their briefly after being spooled.
> -When Leggz prints, several things can happen. Either I'm given the
> pop up window Failed to call StartDocPrint or it goes through with
> nothing happening including nothing ending up in the samba spool
> directory.
>
> Configuration
> ================
> Smb.conf
> ------
> [global]
>
> workgroup = Technoeclectic
> server string = Momma likes the Samba
> netbios name = Mother
> hosts allow = 192.168.0.
> printcap name = cups
> load printers = yes
> printing = cups
> use client driver = yes
>
> # this tells Samba to use a separate log file for each machine
> # that connects
> log file = /var/log/samba/%m.log
> max log size = 0
> security = user
> encrypt passwords = yes
> smb passwd file = /etc/samba/smbpasswd
>
>
> unix password sync = Yes
> passwd program = /usr/bin/passwd %u
> passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> *passwd:*all*authentication*tokens*updated*success fully*
> pam password change = yes
> obey pam restrictions = yes
>
> # Most people will find that this option gives better performance.
> # See speed.txt and the manual pages for details
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>
> local master = yes
> os level = 33
> domain master = yes
> preferred master = yes
> wins support = yes
> guest ok = yes
> guest account = adm
> dns proxy = no
>
>
> #============================ Share Definitions
> [homes]
> comment = Home Directories
> browseable = yes
> writeable = yes
> valid users = %S
> create mode = 0600
> directory mode = 0700
> map to guest = bad user
>
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = yes
> public = yes
> printer = Mothers_Mouth
> writable = yes
> printable = yes
> guest ok = yes
> create mode = 0700
> available = yes


Go to /etc/cups
edit mime.types and uncomment the octet-stream and msword lines
edit mime.convs and uncomment the octet-stream

Then when you get RH updates of the cups program, do it all over again,
and again, and again, etc.

Cheers

 
Reply With Quote
 
Brandon McCombs
Guest
Posts: n/a

 
      12-06-2003, 07:12 AM
what printer driver type are u using on the clients? I've found with an
HP LaserJet at work that if I use an MS version of the driver that the
print job goes into oblivion but using a PCL or unmarked driver works
fine. You may want to check that even if the temp files are being
generated. Check the logs as well if you haven't already.

TLann wrote:

> I've worked on this problem for several days now. Even though, I've
> seen similiar problems with a solution on the interweb it doesn't seem
> to help. Is there anyone that could take a look and make some
> suggestions?
>
> Thx,
> TLann
> Paticulars
> ============
> -Running Red Hat 9.0 on a PC
> -The printer prints from this client using cups (Mother)
> -I can surf the internet from Mother and ping the other stations
> (Tabby[Win 98] and Leggz [Win XP])
> -Tabby and Leggz can also browse to their home directories on Mother.
>
> Symptoms
> ===========
> -Tabby and Leggz cannot print.
> -When Tabby prints, it seems to go through fine but nothing comes out
> the printer. When I check the samba spool directory /var/spool/samba
> , temp files show up their briefly after being spooled.
> -When Leggz prints, several things can happen. Either I'm given the
> pop up window Failed to call StartDocPrint or it goes through with
> nothing happening including nothing ending up in the samba spool
> directory.
>
> Configuration
> ================
> Smb.conf
> ------
> [global]
>
> workgroup = Technoeclectic
> server string = Momma likes the Samba
> netbios name = Mother
> hosts allow = 192.168.0.
> printcap name = cups
> load printers = yes
> printing = cups
> use client driver = yes
>
> # this tells Samba to use a separate log file for each machine
> # that connects
> log file = /var/log/samba/%m.log
> max log size = 0
> security = user
> encrypt passwords = yes
> smb passwd file = /etc/samba/smbpasswd
>
> unix password sync = Yes
> passwd program = /usr/bin/passwd %u
> passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> *passwd:*all*authentication*tokens*updated*success fully*
> pam password change = yes
> obey pam restrictions = yes
>
> # Most people will find that this option gives better performance.
> # See speed.txt and the manual pages for details
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>
> local master = yes
> os level = 33
> domain master = yes
> preferred master = yes
> wins support = yes
> guest ok = yes
> guest account = adm
> dns proxy = no
>
> #============================ Share Definitions
> [homes]
> comment = Home Directories
> browseable = yes
> writeable = yes
> valid users = %S
> create mode = 0600
> directory mode = 0700
> map to guest = bad user
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = yes
> public = yes
> printer = Mothers_Mouth
> writable = yes
> printable = yes
> guest ok = yes
> create mode = 0700
> available = yes


 
Reply With Quote
 
TLann
Guest
Posts: n/a

 
      12-09-2003, 12:47 AM
Brandon McCombs <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> what printer driver type are u using on the clients? I've found with an
> HP LaserJet at work that if I use an MS version of the driver that the
> print job goes into oblivion but using a PCL or unmarked driver works
> fine. You may want to check that even if the temp files are being
> generated. Check the logs as well if you haven't already.
>

-------------------------------
I'm pretty new to Linux. So I don't quite understand what a PCL
driver is. I looked at a few pages and noticed that PCL driver is
usually referenced to linux drivers. Are you saying that PCL drivers
are created for MS also?

If I was to get a PCL driver for my HP DJ 5550 where would you
recommend me going too?

Thx,
TLann
 
Reply With Quote
 
TLann
Guest
Posts: n/a

 
      12-09-2003, 01:05 AM
Kirk C Aune <(E-Mail Removed)> wrote in message news:<X0bzb.13614$P%(E-Mail Removed) igy.com>...
>
> Go to /etc/cups
> edit mime.types and uncomment the octet-stream and msword lines
> edit mime.convs and uncomment the octet-stream
>
> Then when you get RH updates of the cups program, do it all over again,
> and again, and again, etc.
>

---------------------
Thx that helped !!! :-)
Thanks to everyone else that posted a reply!!!

Now if I can just fix the problem where nmb dies...
hmm
TLann
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing via Samba Doug Laidlaw Linux Networking 4 06-04-2008 11:27 PM
Printing from Samba Doug Laidlaw Linux Networking 2 01-09-2008 01:19 AM
Printing with Samba Doug Laidlaw Linux Networking 9 07-22-2007 04:52 PM
Printing over samba Mark Tilford Linux Networking 4 01-24-2007 05:21 PM
printing problem with samba and cups Sven Freihofer Linux Networking 3 04-22-2004 09:46 PM



1 2 3 4 5 6 7 8 9 10 11