On Fri, Aug 16, 2002 at 05:20:23PM -0700, Karl Kopper wrote:

> commands. The problem we are having is that an extra blank page is sent at 
> the end of each PCL job (text file jobs sent from lp commands are okay).
> 
> The offending part of the configuration appears to be the foomatic mf.cfg 
> file in the /var/spool/lpd/<printer> directory:
> 
> -------------
[...]
> define(DEFAULTfilter, text "" \r\n\14 )dnl
> -------------
> 
> If we modify the TEXTfilter and the DEFAULTfilter lines as follows:
> 
> define(DEFAULTfilter, text "" )
> 
> we stop wasting paper. But as the VOLATILE file states, when we restart lpd 
> (with PRINTCONF_FORCE_REBUILD=1) the mf.cfg file gets rebuilt. (Removing 
> the VOLATILE file doesn't help as the comments in the file seem to imply.)
> 
> Where do we tell printconf (or is it the LPRng system?) not to do this? Or 
> where should we be setting the define for the DEFAULTfilter/TEXTfilter?

One option would be to use printconf-gui to enable the 'convert text
to PostScript' setting.  The other option, I'm afraid, is to modify
/usr/share/printconf/util/printconf_backend.py at about line 397, to
change:

                $text_filter = 'text "" \r\n\14 ';

to

                $text_filter = 'text "" ';

Tim.
*/

Attachment: msg04610/pgp00000.pgp
Description: PGP signature

Reply via email to