http://qs321.pair.com?node_id=1074049


in reply to How to run pbmtextps from inside Perl script

I can't reproduce you error, it runs fine from the shell, from a script and with:

perl -e 'system("pbmtextps -fontsize 24 SampleText > out.pbm")'

and the 'out.pbm' file is valid.