note
neilwatson
The enscript command does work from the command line and in the perl script. For some reason it seems that the <code> == 0 or die</code> section evaluates to the die. I do not know why considering that the other system calls work without dying. Also, I checked the <code>$!</code> variable after earlier system calls and the contents was already "Inappropriate ioctl for device" so it seems that this message may not be related.
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-104468">
<p>
Neil Watson<br>
<a href="http://watson-wilson.ca">watson-wilson.ca</a>
</div></div>
589305
589377