[Samba] Printing via smbprint to a WinPrinter
Joel at HammersHome.com
Mon Sep 9 08:36:00 GMT 2002
Below is what I see when I do what your are doing. (Note: I am printing to a
samba server, not a windows server, but I think they will look the
[jlh at jhammer6 jlh]$ smbclient //hammer2/text
INFO: Debug class all level = 3 (pid 27419 from pid 27419)
added interface ip=192.168.0.6 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.1.6 bcast=192.168.1.255 nmask=255.255.255.0
Got a positive name query response from 127.0.0.1 ( 192.168.0.2 )
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.2]
smb: \> print junk
putting file junk as junk (41.2 kb/s) (average 41.2 kb/s)
Are you getting the message about putting the file ?
If so, then very likely this is a filtering problem. I would guess your
printer on the windows box cannot handle the file format you are sending
to it, and the file is just being dropped.
To fix this, if this is the problem, you have to get a linux/unix printer
driver for your printer.
However, from the information on the linux printing web site, you may be out
of luck on this one.
There are lots of choices these days for linux printing. I am very pleased
with my Lexmark z53. Lexmark supports linux, and has linux drivers which allow you
to have most if not all the functionality that a windows user has, including
fancy printer configuration GUI's.
Or, you can get just about any postscript printer.
Or, you can buy one of the printers listed as working well at
On Mon, Sep 09, 2002 at 09:01:47AM +0200, Marco Bizzarri wrote:
> Thank you for your answer. I did not explain myself:
> once I'm inside the smb> prompt, and therefore I'm connected to the
> printer, I try something like
> print /etc/hosts
> but nothing comes out.
> Is there any other troubleshooting which I can do?
> On Sun, Sep 08, 2002 at 12:52:27PM -0400, Joel Hammer wrote:
> > I assume you got a messages saying the job was sent on your screen.
> > You will have to figure out how to filter your print jobs before they
> > go to the printer attached to your windows box.
> > Their web site appears to be down right now, but, if you can't get a driver,
> > I think you are stuck.
> > Joel
> > On Sun, Sep 08, 2002 at 06:30:13PM +0200, Marco Bizzarri wrote:
> > > Hi all.
> > >
> > > I would like to print from a Linux Server to a printer connected to a Windows ME machine. I'm able to connect via smbclient, with
> > >
> > > smbclient //windowsme/printer -U '' -N
> > >
> > > and I receive the smb> prompt
> > >
> > > Now, when I try to print any file, nothing comes out from the printer. The printer is a Canon LBP-810 which, according to
> > > www.linuxprinting.org site, is a WinPrinter. My question is: is it possible to have that printer running in the configuration I
> > > mentioned or not?
> > >
> > > Thank you all in advance.
> > >
> > > Marco
> > > --
> > > Marco Bizzarri - Amministratore Delegato - Icube S.r.l.
> > > Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia
> > > E-mail: m.bizzarri at icube.it WWW: www.icube.it
> > > Tel: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588
> Marco Bizzarri - Amministratore Delegato - Icube S.r.l.
> Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia
> E-mail: m.bizzarri at icube.it WWW: www.icube.it
> Tel: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588
More information about the samba