faxlpr
Cornelius Creedon (neil@box1.staller.sunysb.edu)
Tue, 4 Jan 2000 19:16:33 -0500
On Sun, 2 Jan 2000, R.Slagter wrote:
> I have the windows client from mgetty
> i have copied the faxlpr script to the linuxmachine
> i have addes the things in the printcap file
>
> but I do:
> lpr
> and he say lp wrong printer ??
> what is the problem ??
you are not supplying the necessary command line options to lpr.
read "man lpr" you really want to test it with something like
"lpr -Pfax -J1234567 <filetofax>"
i had some problems since the faxlpr script is not exactly robust, lpr was
doing its job as far as it knew, and the faxlpr script was being called,
but failed silently when faxspool was called because faxspool was
being run with uid/gid "lp" and did not have permission to actually
write the job to /var/spool/fax/outgoing
so you need to get your groups/permissions set up as well.
which brings up:
i looked at least at "man faxspool" trying to find a way to get it to
write its messages to a file for me, but couldnt find a way. any
suggestions on that?
good luck
-cc
> i have
>
> fax:\
> :sd=/var/spool/fax:\ or
> (/var/spool/fax/outgoing)
> :mx#0:\
> :lp=/dev/null:\
> :if=/usr/bin/faxlpr:\
> :sh:
>
> rslagter@pchoffice.nl