| Andreas Klemm on Tue, 11 Sep 2001 23:10:16 +0200 (CEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Invalid options for a2ps? |
On Tue, Sep 11, 2001 at 07:56:44AM -0400, Gary Moore wrote: > I've installed 6.1.1 on a FreeBSD4.4 lpd for a Canon BJC1000. The SETUP > test works Ok. I can also lpr postscript files, e.g. 'a2ps foo.txt | > lpr' but can't seem to get 'lpr foo.txt' to work. Thats an important difference ! If you type a2ps foo.txt then a2ps translates txt into Postscript internally and feeds this PS data stream to lpr. Then apsfilter gets an PS data stream and simply calls gs. When you type lpr foo.txt then apsfilter detects ASCII print data and calls a2ps with a standard set of a2ps commandline options, to translate txt into PS, to feed it afterwards to PS. AS I WROTE IN MY PREVIOUS MAIL, you certainly have the old a2ps 4.3 installed, which doesn't understand the commandline options of the newer a2ps 4.13, that is only supported by apsfilter. check your a2ps version, that is installed. cd /var/db/pkg ls -ld *a2ps* It SHOULD turn out, that you use the old a2ps 4.3 Delete/remove that old software using pkg_delete. After that install the newest a2ps 4.13. cd /usr/ports/print/a2ps-letter or cd /usr/ports/print/a2ps-a4 make install clean I think that's it, then printing of ASCII text will work. BTW, David O'Brian removed the FreeBSD port of the older a2ps software now, since its obvious now, that people don't it managed, to grok the version number differences ... I think that you are a victim of your own decision, to install the old a2ps software first and then apsfilter, since normally the port dependencies of the apsfilter port should have installed you the correct a2ps software automatically ... bad luck for you ;-) Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives