Michael Loßin on Mon, 4 Feb 2002 10:10:18 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: 7.2.1 great local, bypassed (?) from remote


On 04-Feb-02 jon butchar wrote:
> Recently I had apsfilter 6.1.1 on my FreeBSD machine.  We've got 2 iMacs
> running OS X, and they printed fine to the BSD box through LP (not via
> appletalk), using the "LaserJet 4" entry and sending to the "lp" auto
> queue.
> 
> More recently, I updated to apsfilter 7.2.1 through the ports
> collection.  Local printing is still great, but jobs from the macs now
> produce "%!PS ...".  Looking at "top" while the remote jobs come through
> shows they're "cat"-ted to the printer.
> 
> What changed between 6.1.1 and 7.2.1, and how can I set 7.2.1 to filter
> the remote jobs?  I've tried LJ4, generic and LaserWriter printer
> entries on the macs, as well as raw, text and auto; they all yield the
> same result.  Things work again when I put 6.1.1 back on.

One non-trivial change between those releases was the file type
recognition routine. While 6.1.1 was rather forgiving, all later
versions use a more restricted set of file description strings
that the file(1) command is expected to deliver. (The former
approach could be fooled too easily.)

Please save the output from the Mac driver to a file and see what
your file(1) command on the BSD machine thinks about it.
If it doesn't start with "PostScript document" (case independent),
apsfilter doesn't recognize it correctly -- it's probably handled
like ordinary text. One reason for this could be sending a ^D
(= \004) character at the beginning (although file-3.37 handles
that correctly).

Otherwise we need a full apsfilter log. Add "set -x" at the top
of .../bin/apsfilter and send us the log or status file (whichever
your spooler uses).


HTH
Michael