I have set a Samba server but I cant get windows clients to print through it. After a failed print job, if I try to print localy I get this error:
[EMAIL PROTECTED]:/tmp# lp -d Epson tmp.print lp: unable to print file: The requested resource is currently unavailable on this server. Though there seems to be no process on taking hold of lp. I have tryed to change my print command in smb.conf to : print command = cp %s /tmp/tmp.print tmp.print turns out to be a binary file, if I try to print it, lp will just stay there untill I stop it, the file won't get printed and from now on I will get the above error message when trying to print. This is my smb.conf print part: [EpsonStylus] printable=yes # print command = /usr/bin/lpr -r -P%p %s print command = cp %s /tmp/tmp.print lpq command = /usr/bin/lpq -P%p lprm command = /usr/bin/lprm -P%p %j printer = Epson printing = BSD read only = yes guest account = dadecal guest ok = yes And this is the log of a print try: [2001/03/18 10:46:44, 1] smbd/service.c:make_connection(550) cierzo (192.168.1.1) connect to service EpsonStylus as user dadecal (uid=1001, gid=100) (pid 394) [2001/03/18 10:46:44, 2] smbd/open.c:open_file(602) dadecal opened file DADECAL.ajEdU3 read=No write=Yes (numopen=1) [2001/03/18 10:46:44, 2] locking/locking_shm.c:shm_del_share_mode(355) del_share_modes Deleting share mode entry dev=341 ino=98385 [2001/03/18 10:46:44, 2] locking/locking_shm.c:shm_del_share_mode(376) del_share_modes num entries = 0, deleting share_mode dev=341 no=98385 [2001/03/18 10:46:44, 2] smbd/close.c:close_normal_file(159) dadecal closed file DADECAL.ajEdU3 (numopen=0) [2001/03/18 10:46:44, 2] smbd/open.c:open_file(602) dadecal opened file DADECAL.i22Hpc read=No write=Yes (numopen=1) [2001/03/18 10:46:47, 2] locking/locking_shm.c:shm_del_share_mode(355) del_share_modes Deleting share mode entry dev=341 ino=98445 [2001/03/18 10:46:47, 2] locking/locking_shm.c:shm_del_share_mode(376) del_share_modes num entries = 0, deleting share_mode dev=341 ino=98445 [2001/03/18 10:46:47, 2] smbd/close.c:close_normal_file(159) dadecal closed file Pginadeprueba (numopen=0) [2001/03/18 10:56:50, 1] smbd/service.c:close_cnum(583) cierzo (192.168.1.1) closed connection to service EpsonStylus [2001/03/18 10:56:50, 2] smbd/connection.c:utmp_yield(531) utmp_yield: lp_utmp() NULL -- ______________________________ Daniel de los Reyes S2-Selling Soluciones Valencia Spain e-mail: [EMAIL PROTECTED] Powered by Debian GNU-Linux 2.2r2 ______________________________