Samba shared Printers

Joel Hammer Joel
Mon May 17 11:34:08 PDT 2004


Like Billy Joel says,
Advice is cheap because opinions are free.
Here are some opinions.

Have you walked through DIAGNOSIS.txt in the docs/textdocs directory?
TEST #8 reports some of these same types of errors.
There are odd errors that "use client driver = yes" seems to help.
Have these printers ever worked right with this server and clients?
Do the other shares really work, or only seem to work? Can you save and read
from them?
Can you set up a phony print queue on your linux server which just dumps
the print jobs to a file? Something like this:

test:\
        :sd=/var/spool/lpd/test:\
        mx#0:\
        :lp=/var/spool/lpd/test/textprint:\
        :if=/var/spool/lpd/test/filter:
	:sh:
      
and filter could be something like:

#!/bin/bash
cat

You could work through various issues with this queue.

Have you looked at the samba logs? 
Have you looked at tcpdump and watched the interaction?
Is there a firewall issue? 

Joel



On Sat, Jun 29, 2002 at 07:55:10PM -0700, stayler wrote:
> Hi Guys,
> 
> I figure this is a simple issue and someone will point out the
> ridiculously simple error I am committing here.
> 
> I am setting up a Samba server at a customers location.  I have got the
> simple share level file sharing working quite well.  My problem is with
> printing.  There are 2 printers, one connected via the parallel port to
> the server machine itself (a HP laserjet 4+), the other is a network
> printer (LPD, a HP LJ 4100N, factory internal server).   Both printers
> are spooled with LPRng and work fine off the system, even when logged
> in as the Samba default user, nobody.
> 
> When a Win9x box browses the server, the shared directories are all
> there and visible, and seem to work correctly.  The printer are
> browsable too, but when an attempt is made to print to one, the Win9x
> box reports a Network Name not found error.  
> 
> The system is a P3-500, 128M Ram, Slackware 8.1, stock bare.i kernel
> (for now), Samba 2.2.4 binary package that came with Slack 8.1.
> 
> Ideas, suggestions, requests for further information?  I don't have the
> smb.conf file in digital form but I do have the full report from
> testparm in hardcopy, it reports no errors BTW., so I can provide some
> answers to those sorts of inquiries.
> 
> stayler
> 
> _______________________________________________
> Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



More information about the Linux-users mailing list