Mark Devin on Tue, 6 Mar 2001 14:23:02 +0100 (CET)


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

Re: problem with apsfilter and abiword


Michael Loßin wrote:

>  "filter_stderr_to_status_file"
>
> You really should set this options in /etc/lpd.conf and restart lprng
> afterwards -- this strips the extraneous date/time and print job
> information from the log.
>
> Just enter "lpc reread" to let lpd know of the new option.

I read through the /etc/lpd.conf file which had a huge number of options.  One of them
was not this.  All of the options in the file were #'ed out.  Should I just add
"filter_stderr_to_status_file" without the quotes to the bottom of the /etc/lpd.conf
file.

> It seems that your apsfilter version is not really up-to-date...
> The mechanism to provide parameters that create the input data
> (here it's "print_data gs foobar ...") has been changed some time
> ago. Maybe you should get the latest CVS version.

It should be.  I use debian and I just did:
apt-get install lprng
With my /etc/sources.list pointing to the unstable distribution (the most recent and
constantly being updated)

>
>
> > IF filter 'apsfilter' filter msg - '+++ gs -q -dNOPAUSE -dSAFER -sDEVICE=bjc600
> > -sPAPERSIZE=a4 -sOutputFile=- -_' at 2001-03-05-21:52:20.850 ##
> > A=algemon@debian+840 number=840 process=842
>
> This is where I expected error messages from gs, but there aren't
> any... wierd.
>
> What happens if you just let gs display the file:
>
>         gs -sDEVICE=x11 -sPAPERSIZE=a4 test.abw.gs

Here is the output error messages:

AFPL Ghostscript 6.50 (2000-12-02)
Copyright (C) 2000 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /undefinedfilename in (./test.abw.gs)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2
%stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1
%stopped_push   --nostringval--   --nostringval--
Dictionary stack:
   --dict:986/1476(ro)(G)--   --dict:0/20(G)--   --dict:66/200(L)--
Current allocation mode is local
Last OS error: 2
AFPL Ghostscript 6.50: Unrecoverable error, exit code 1

I will try apt-get gs 5.10-11 (instead of what I had which was gs-aladdin 6.50-3)

Thanks for all your help.

I will let you know if it works.

Mark.