Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] problem for printing with smbclient

43 views
Skip to first unread message

Kevin Berkane

unread,
Feb 7, 2003, 4:10:07 AM2/7/03
to
Hello I'am french and I have a big problem with a great feature of smbclient, I can't print anymore postscript document directly to my network printer(postscript compatible)

We have recently change of server, we used a old linux distribution ( suse 5 or 6) with samba 1.9 and we had no problem with it
exemple :
[warrior:/]> cat /tmp/aaa.ps | smbclient '\\lasercouleur\direct' -U ANONYMOUS -P '' -N -c 'print -'
Added interface ip=172.16.57.55 bcast=172.16.57.255 nmask=255.255.255.0
Domain=[FLASH] OS=[VxWorks] Server=[EFISmbServer0.05]
security=share
printing file - as stdin

113 bytes printed
[warrior:/]>

it run correctly

But with our new server, we use a Mandrake 9.0 distribution with samba (2.2.6.pre2) and that don't works anymore

[rainbow:~]> cat /tmp/epilogue.ps | smbclient '\\lasercouleur\direct' -U ANONYM
OUS -P '' -N -c 'print -'
added interface ip=172.16.57.33 bcast=172.16.57.255 nmask=255.255.255.0
Domain=[FLASH] OS=[VxWorks] Server=[EFISmbServer0.05]
putting file - as stdin-26374 Error writing file: ERRSRV - 22
(0.0 kb/s) (average 0.0 kb/s)
[rainbow:~]>

I try to find a solution on the internet but i don't find any information about the ERRSRV - 22
I try to compil and install a other version of samba (2.2.7.). But i have the same errors
I try with the debug mode (-d3 ...) but that don't give me more information
i try with differents parameters in the smb.conf but it's don't work

[rainbow:/usr/local/samba/bin]> cat /aaa.ps | smbclient '\\lasercouleur\direct' -d3 -U ANONYMOUS -P '' -N -c 'print -'
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=172.16.57.33 bcast=172.16.57.255 nmask=255.255.255.0
Client started (version 2.2.6pre2).
resolve_lmhosts: Attempting lmhosts lookup for name lasercouleur<0x20>
resolve_hosts: Attempting host lookup for name lasercouleur<0x20>
Connecting to 172.16.57.99 at port 139
Domain=[FLASH] OS=[VxWorks] Server=[EFISmbServer0.05]
putting file - as stdin-27345 Error writing file: ERRSRV - 22
SUCCESS - 0 closing remote file stdin-27345
[rainbow:/usr/local/samba/bin]>


If someone can help me i will be very great
Kevin berkane


--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba

Joel Hammer

unread,
Feb 7, 2003, 5:20:11 PM2/7/03
to
What is the printing system on the new server?

The old caldera likely had lprng, and the new one may have cups, whatever
that is. cups has some extra things to configure for permissions, I think.

Does the smb.conf on your server specify the right printing system?
Joel

0 new messages