apsfilter - exasperation - willing to pay

2003-03-17 Thread David Banning
I cannot for the life of me get aspfilter working.
It keeps putting out the error;

/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: `${PS_NUP:+psnup -q 
-$PS_NUP ${LANDSCAPE:+$PSNUP_ROTATE} |} \'
cat: /rc: No such file or directory
rm: No such file or directory
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: syntax error near 
unexpected token `|}'
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: `${PS_NUP:+psnup -q 
-$PS_NUP ${LANDSCAPE:+$PSNUP_ROTATE} |} \'
cat: /rc: No such file or directory
rm: No such file or directory
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: syntax error near 
unexpected token `|}'
/usr/local/etc/apsfilter/basedir/bin/apsfilter: line 1252: `${PS_NUP:+psnup -q 
-$PS_NUP ${LANDSCAPE:+$PSNUP_ROTATE} |} \'
cat: /rc: No such file or directory
rm: No such file or directory

in the /var/spool/lpd/raw error log.

which, if I understand the script, seems to be related to there
being no file to delete after the print attempt.

It started as a working system with a small bug in samba on FreeBSD 4.3S. 
I reinstalled samba. Then I reinstalled apsfilter.
Now I have upgraded to 4.8S. Then I reinstalled both samba and apsfilter.
I have posts both on FreeBSD and apsfilter lists.

One problem is the lack of information available available from the 
the logs. 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: apsfilter - exasperation - willing to pay

2003-03-17 Thread Mike Meyer
In [EMAIL PROTECTED], David Banning [EMAIL PROTECTED] typed:
 I cannot for the life of me get aspfilter working.

You might try magicfilter instead of apsfilter. It's not a shell
script, so is less likely to break when the environment changes around
it. However, it does require that you configure /etc/printcap
yourself. Here's a sample entry:

lj|lp|LaserJet 5MP:\
:lp=/dev/ulpt0:\
:sd=/var/spool/lpd/lj:\
:lf=/var/spool/lpd/lj/log:\
:af=/var/spool/lpd/lj/acct:\
:if=/usr/opt/libexec/magicfilter/ljet4m-filter:\
:mx#0:\
:sh:

If you can't find a magicfilter entry for your printer - which is
likely, as it's old - you'll have to take one for a similar - meaning
handles the same data formats - and modify it slightly. I'll be glad
to help with that as well.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message