From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2smp i686) Description of problem: when a postscript printer is set up using the printtool-gui, it will not print a plain text file. The file mf.cfg created by printtool-gui contains an incorrect line for the TEXTfilter. Replacing this line with: define(TEXTfilter, `filter enscript -G --header=|%m:%n| ' )dnl solves the problem nicely, but it gets overwritten next time printtool-gui is used. How do I fix this in printtool-gui? How reproducible: Always Steps to Reproduce: 1. Configure postscript printer using printtoo-gui 2. cat /proc/cpuinfo | lpr -P mypsprinter 3. No output appears. Actual Results: Nothing. Expected Results: A single page on the printer with my CPU info. Additional info: The /var/spool/lpd/mypsprinter/mf.cfg file contains an incorrect line caused by printtool-gui.
Err, that shoud be "printconf-gui" or "printtool", obviously "printtool-gui" does not exist
I traced the error to /usr/share/printconf/util/make_mfomatic_cfg.pl line: 141 If I replace: $text_filter = $foodata->{'ascii'} ? ($chardata->{'cmd'} || 'text "" \r\n\14 ') : "pipe/postscript/ $enscript_cmd"; with: $text_filter = "pipe/postscript/ $enscript_cmd"; everything works.
got it.