How to write applescript to print TextEdit document
Hi!
I'm trying to set up automator workflow to print a plain text document created in TextEdit as quickly as possible. (this is to be used in a live performance where I need to deliver printed scripts to performers just before they speak, so every second I can shave off the time taken to send the data to the printer is crucial)
The work flow:
get finder item > print finder item
is very quick but I get strange results: the text goes right from one side of the paper to the other and words are broken across lines (no hyphens just broken). (If I print the same document from Textedit it comes out fine with margins and no broken words.)
Please does anybody know how I might write an applescript to print the document instead (that I could insert into my automator workflow which also contains other actions after the printing) so that I could control the printing settings and the words would not break? The margins don't matter so much but broken words are very hard to read.
I have to use plain text for other reasons - that part is non-negotiable.
Thanks in advance for any ideas!
MacBook Pro (Retina, 15-inch, Late 2013)