Ulpt problems.
Warren Block
wblock at wonkity.com
Sun Jul 26 23:34:30 UTC 2015
On Sun, 26 Jul 2015, Bernt Hansson wrote:
>> Please start by testing without any filters. Use the printcap file shown
>> in
>>
>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-lpd.html#printing-lpd-setup
>>
>> and test with the small PostScript sample at the end of
>>
>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-lpd.html#printing-lpd-filters-ps2pcl
>>
>>
> That did work... Strange. But if I add a filter like this
>
> :if=/usr/local/libexec/enscript:\ from the handbook it stops working. Odd to
> say the least.
Not necessarily, it just means something is wrong with the filter. Is
print/enscript-letter or print/enscript-a4 installed?
The filters can be tested directly. Send some text to the filter:
lptest | /usr/local/libexec/enscript
It will produce a bunch of PostScript output, the last lines of which
are:
%%Trailer
%%Pages: 4
%%DocumentNeededResources: font Courier-Bold Courier
%%EOF
[ 4 pages * 1 copy ] left in -
If that does not work, check the contents of the
/usr/local/libexec/enscript file and the permissions set on it.
More information about the freebsd-questions
mailing list