Extension talk:Enscript

When I install and run this extension on Fedora 6, the Apache error log spits out:

sh: /enscript: No such file or directory

enscript is installed on the machine and is located at the default location:

/usr/bin/enscript

The version of Mediawiki is 1.8.5. Any idea why this is happening?

take-off on Enscript w/ Kate...
Did something very similar, but using the perl port of Kate. Very clearly ripping off Yedidia, the php looks like:

Enscript issues with MW 1.11.2 and Enscript 1.6.4
Had trouble getting things to work well with MediaWiki 1.11 and Enscript 1.6.4: The following hacked up version works OK but should probably be edited by someone who knows what she/he is doing. It would be really nice to have one footnote per page giving Enscript credit for generating the printout, but that's a bit beyond my skillset at this time...
 * Enscript made a full set of headers and put "credits" after every bit of code
 * Odd errors appeared on the rendered page

HTML code cleanings
Replace $output = str_replace("(stdin)","",$output); with $output=preg_replace("/^.* /si"," ", $output); $output=preg_replace("/<\/pre>.*$/si"," ", $output);

It will clear all unnecessary HTML tags from output (DOCTYPE, HTML, etc).