Postscript is 'straight text'---it just happens to be text that the printer recognizes as its own printer control language. There are complications on printers that handle both text and postscript, but once you get the printer into postscript mode, things should work from there.
--hsm
"Never try to teach a pig to sing...it wastes your time and it annoys the pig." | [reply] |
| [reply] |
If you're using *nix, it'll work but not on Winblows. The Printer docs say this:
"...on Linux/UNIX the data passed to the print method can be anything which should be printable, i.e. groff/troff, PostScript, plain text, TeX dvi, but on windows the only data which can be handled by the printing system is plain text, GDI commands or flies [sic] written in your printer's interface language."
| [reply] [d/l] |
Perhaps GhostScript.PM will do what you want.
If it doesn't, your best bet may be just running ghostscript from your Perl script with system
| [reply] |