[Samba] Print server on all linux network

Joel Hammer Joel at HammersHome.com
Fri Oct 4 22:48:00 GMT 2002


Well, this is progress.
This means that the file has been transferred to the samba server.
Now, I would look at the spool directory given in your smb.conf share
definition, and make sure the file got there.
It may have been removed via the printing command in your share.
(I blush to say I didn't save your smb.conf)
Now, once it is there, I would try to print it with the command given in your
smb.conf printer definition. 
This sounds like either a simple printer misconfiguration in smb.conf, or
you need a different print filter.
Can you print text files from the server with the same command you have in
your smb.conf?
Joel

On Fri, Oct 04, 2002 at 10:05:14AM -0700, Dan Sawyer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Well, I now got a positive response from the console, but nothing printed.  
> Here's the console dump:
> thedude at floyd:~> cat kittykey.txt | smbclient //bob/nec -c 'print -'
> added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
> Got a positive name query response from 192.168.1.101 ( 192.168.1.101 )
> Password:
> Domain=[AWP] OS=[Unix] Server=[Samba 2.2.1a]
> putting file - as stdin-8361 (1.7 kb/s) (average 1.7 kb/s)
> 
> - -Dan
> 
> On Thursday 03 October 2002 21:54, Joel Hammer wrote:
> > Try putting a space between print and -
> > Joel
> >
> > On Thu, Oct 03, 2002 at 09:32:49PM -0700, Dan Sawyer wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > thedude at floyd:~> cat kittykey.txt | smbclient //bob/nec -c 'print-'
> > > added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
> > > Got a positive name query response from 192.168.1.101 ( 192.168.1.101 )
> > > Password:
> > > Domain=[AWP] OS=[Unix] Server=[Samba 2.2.1a]
> > > print-: command not found
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE9ncpOaB8ur/y6V8gRAoSDAJ9362kOuDev9LG4JnJ+ZapLBm31EwCeOsFP
> hFK5IHwDMCilV8987pWzTx8=
> =ajN9
> -----END PGP SIGNATURE-----



More information about the samba mailing list