Re: Printing from euphoria on OSX box
- Posted by dukester Nov 07, 2009
- 1086 views
Hi
I use enscript to format and print text files. ie
1. write out a temp text file. 2. enscript [options] text_file 3. delete the temp text file
enscript will print to the default printer using CUPS, but first converts a text file to an intermediate postscript file, but makes it a lot easier to do other stuff, like add borders, page numbers, orientation etc.
http://www.codento.com/people/mtr/genscript/enscript.man.html
If you want to print graphics then use the netpbm utilities to convert various types to output to a printer. I use this to convert and output fax images to a ps file for printing on a windows machine.
http://netpbm.sourceforge.net/
ppmdarw and ppmlabel would seem to have tha ability to add text to a graphic file, though I haven't used them myself.
Chris
Hey Chris...
Yeah! I use enscript from the Alpine MUA to print emails - works great! Never used the "netpbm" stuff.
Just to clarify - I don't have an OSX printing problem. I'm experiencing grief trying to coerce Euphoria to send output to a device - namely the printer, in OSX.
Thanks for the input! duke