In my version of samba, smbprint is a shell script, which just calls
smbclient with the appropriate parameters.
The script is convoluted, but essentially the command that smbprint sends
is something like this:
cat thefile | /usr/bin/smbclient "//$server/$service" $password -U
$server -N -P >> $logfile 2>&1
You can also use smbclient to log onto the printer share and then put
the local file to the printer share.
Just make sure you have the file properly filtered!
Now, I do believe there is an options for --with-smbclient or some such when
you build samba.
Joel
On Sat, Nov 22, 2003 at 04:37:12PM -0800, Joe Cipale
wrote:> While trying to configure my *nix box to print to windows, I discovered
> my samba build does not have the smbprint utility. I saw no option in
> the configure/make script to build with the smprint utility.
>
> Is there an option that will build this tool?
>
>
> Thanks!
>
> Joe Cipale
> --
> #----------------------------------------------------------#
> # "Don't fear the penguin!" #
> #----------------------------------------------------------#
> # Registered Linux user: #309247 http://counter.li.org #
> #----------------------------------------------------------#
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
--