[Samba] printing problem

Oscar Lovera lovera at ucla.edu
Thu Jan 2 23:33:01 GMT 2003


I just update our server to solaris 8 and now have problem to print
there using samba.

Here are a few lines that of the log files that could help to understand 
the problem:

unix_clean_name [OSCARXLOVE.f5aGki]
01/02/03 15:14:53 guest opened file OSCARXLOVE.f5aGki read=No write=Yes 
(numopen=1 fnum=1)
01/02/03 15:14:53 openprint OSCARXLOVE.f5aGki fd=8 fnum=1 cnum=37
Discarding null print job OSCARXLOVE.f5aGki
01/02/03 15:14:53 guest closed file OSCARXLOVE.f5aGki (numopen=0)
unix_clean_name [OSCARXLOVE.g5aGki]
01/02/03 15:14:53 guest opened file OSCARXLOVE.g5aGki read=No write=Yes 
(numopen=1 fnum=1)
01/02/03 15:14:53 openprint OSCARXLOVE.g5aGki fd=8 fnum=1 cnum=37
smbrun - running /usr/local/samba-1.9.15p8/bin/smbrun "(/usr/bin/lp -c 
-dhplj5 /var/SMBtmp/OSCARXLOVE.g5aGki; rm /var/SMBtmp/OSCARXLOVE.g5aGki 
2>&1) > /dev/null" gave 0
Running the command `/usr/bin/lp -c -dhplj5 
/var/SMBtmp/OSCARXLOVE.g5aGki; rm /var/SMBtmp/OSCARXLOVE.g5aGki' gave 0
01/02/03 15:14:55 guest closed file OSCARXLOVE.g5aGki (numopen=0)


Any idea why the lp command gave 0?  It creates the OSCARXLOVE.g5aGki 
file just OK
but nothing is printing.  It is print just fine if I manually run the 
command '/usr/bin/lp -c -dhplj5 /var/SMBtmp/OSCARXLOVE.g5aGki'

Please Help.

-Oscar

-- 
Oscar Lovera
Department of Earth & Space Sciences
Geology Building
595 Circle Drive East
University of California, Los Angeles, 90095-1667
Office: Ph. and Fax: (310) 206-2657
Home: Ph. (562) 928-1849





More information about the samba mailing list