Stacey Roberts on Sat, 16 Nov 2002 13:18:21 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


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

Re: Your problem with apsfilter


Hi James,
   Thanks for taking the time to reply.

On Sat, 2002-11-16 at 00:52, James B. Hiller wrote:
> Hi.
> 
> I had a very similar behavior going on, and the issue was that
> apsfilter was building a command for ghostscript that used options
> that wouldn't quite fly with the printer driver for my printer.  I don't
> know if that precise situation could be going on with you, but it could
> be a very similar situation.

Not sure if you're aware of this, but the test page *does* print fine
when run from the SETUP stage during apsfilter installation. Unless you
know something that I'm not aware of here, I can't see how the test page
prints okay, but after installing apsfilter, a problem with the GS
driver prevents print requests from even leaving the box.

Unless of course, printing the test page doesn't actually *test* GS,
interaction with desktop apps, and the underlying samba print transport
(smbprint & smbclient).

> 
> I recommend going to the actual installed apsfilter script (something
> like /usr/local/lib/apsfilter/base/apsfilter) and inserting the line
> 
> set +x
> 
> somewhere early in the script.  This will turn on some nice verbosity
> and give you a log file that will show you exactly what apsfilter is
> doing, as well as any sneezes from ghostscript (which it looks like
> you're already getting in that one error log, but without knowing
> what about apsfilter is causing them).

Err.., could you let me in on where I should place that line, please?

> 
> If you do this this way, look real carefully at the gs_cmd that is
> built and used to invoke ghostscript, and look at what kind of returns
> may be coming from it.  I'll bet it's a bad option or options for your
> driver, and if you fix that, the whole thing you're seeing will go
> away (including that fd=6 thing, and the many repeated lines).
> 
> Let me know if this helped.

No probs., I just don't know where that line is supposed to go.

Stacey
> 
> jbh
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com