Igot some problem like that with lm 6.1 and Ican resolve it changin in smbprint (neare
the end)
/*cat | /usr/bin/smbclient "$share" "$password" -E ${hostip:+-I} \
$hostip -N -P $usercmd "$user" $workgroupcmd "$workgroup" \
-c \"$command\" 2>/dev/null
*/
cat | /usr/bin/smbclient "$share" "$password" -E ${hostip:+-I} \
$hostip -N -P $usercmd "$user" $workgroupcmd "$workgroup" \
-c "print -" 2>/dev/null
it look like \"$command\" sustitution dont go fine
El vie, 21 ene 2000, escribiste:
> I've experience a number of weird things installing Mandrake 7.0 and
> have gone through the install 3 times and have managed to get past all but
> one problem. I can't get an SMB printer to work. I've tried the Mandrake
> configuration as well as Printtool. The printer is an HP600C that has
> worked fine with ever flavor of linux I've tried until now.
> The lpd daemon initalizes <OK> at boot. I've get the following
> response with lpc:
>
> [root@localhost /root]# lpc status
> lp:
> queuing is enabled
> printing is enabled
> no entries
> no daemon present
>
> I type lpd at the command line followed by ls > /dev/lp0 and it just sits
> there. I've checked the lpd, lpc,lpr and lpq permissions. The printcap
> file is identical to a functional version on a backup. Samba is definately
> running and I can smbumount shared drives. Any help or direction is
> appreciated.
>
> Thanx Darrin