Michael Loßin on Tue, 6 Mar 2001 10:30:47 +0100 (CET)


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

Re: problem with apsfilter and abiword


Mark Devin schrieb:
> I thank Michael Lobin for this (Michael Loßin <phallobst@web.de>):
> 
> LPRng greatly proftis from the "filter_stderr_to_status_file" setting in lpd.conf.

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.

> Here is the output from the file: /var/spool/lpd/bjc4200/status.bjc4200
> 
> IF filter 'apsfilter' filter msg - '++ '[' '' ']'' at 2001-03-05-21:52:20.839 ##
> A=algemon@debian+840 number=840 process=842
> IF filter 'apsfilter' filter msg - '++ eval cat '"$HEADER"' -' at
> 2001-03-05-21:52:20.839 ## A=algemon@debian+840 number=840 process=842
> IF filter 'apsfilter' filter msg - '+++ cat /tmp/apsfilter843/header1 -' at
> 2001-03-05-21:52:20.839 ## A=algemon@debian+840 number=840 process=842
> IF filter 'apsfilter' filter msg - '++ print_data gs -q -dNOPAUSE -dSAFER
> '-sDEVICE="$PRINTER"' '-sPAPERSIZE="$PAPERSIZE"' -sOutputFile=- '' '' -_' at
> 2001-03-05-21:52:20.844 ## A=algemon@debian+840 number=840 process=842

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.

> 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

Do you get the stripes as well? In this case, it's definitely a
ghostscript and/or abiword problem.

If the file displays correctly, it _may_ be a driver problem
(the bjc600 is rather general), or (hopefully) just an error
in the configuration. (Though I have no idea what might be wrong
if abiword really uses embedded fonts.)

If you are able to use a different driver, please do so.
The gimp-print package only has a driver for the BJC4300,
and the Omni stuff is only available for gs5.50... too bad.
But maybe the 4200 is compatible to other devices.


HTH
Michael