Vedran Vucic wrote: > Hello, > > When I applied what you suggested and compiled GhostPCL I got the > following error message when I started dosemu: > root:# dosemu > In file included from built-in global.conf:122 > from :122 > Error in /etc/dosemu/dosemu.conf: (line 363) syntax error > Error in /etc/dosemu/dosemu.conf: (line 363) unrecognized command 'sOutputFile' > Error in /etc/dosemu/dosemu.conf: (line 363) unrecognized command > '"|lpr -P Laserprinter"' > 3 error(s) detected while parsing the configuration-file > > My global.conf is here: > http://pastebin.ca/2003520 > > My dosemu.conf is here: > > http://pastebin.ca/2003522 Sorry, I yet noticed that You omit minus (-) sign at end of "$_lpt1=" command ("-" sign mean, for pcl6 command, it must read its input from stdin). All command line should be as: $_lpt1='pcl6 ... -sOutputFile="|lpr -P MyPrinter" -' (see attached full-length version) FH
Attachment:
dosemu_PCL-to-PS_defined_print.gz
Description: GNU Zip compressed data