I'm putting together an installation using Processing, where users type and their text is printed on a receipt printer. I've got Processing saving out time-stamped text files to a folder, and a folder action in Automator watching that folder and sending to print. My problem is that these .txt files need some intervention...
- Format > Wrap to page
- Change margins
- Select 80mm receipt roll in Page Setup
I think I have the margins thing figured out by adding some code to the file header on the Processing side. With the rest, I'm drawing a complete blank. I've tried setting the receipt roll as the default page size in 'Print and scan' in system prefs, but the receipt page size doesn't show in the list in system prefs, only shows on the page size list from within Text Edit application. I suppose what I'm asking - is there a way of setting TextEdit's default to page wrap, certain page size, certain printer - then a folder action can just print away (I hope). The idea is that these text files spit out of the receipt printer automatically with no intervention. Does anyone have any ideas? Thanks in advance.