|
|
Shell Script with a slightly better file name
Here is a shell script I wrote to send the PDF via Mail.app with a less cryptic filename (attachment.pdf). The script creates a copy of the PDF file with the new name and uses osascript to tell Mail.app to create a new message with the attachment. I bet that there is a better way to do this, though. (Maybe someone will post it here!)
Shell Script with a slightly better file name
It looks like I forgot to remove a line that I commented testing out the script posted above. You can omit the following line in the script posted above.
Shell Script with a slightly better file name
Why not using the document title? The PDF Services provide you with
almost all the CUPS options, when working in the shell, so it's an easy one. I wrote a small CUPS backend to directly save into PS or PDF files and use the CUPS options to redefine them into environment variables. Maybe it's worth a look: http://user s.phg-online.de/tk/MOSXS/postscriptfile.gz Regards, Thomas |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.13 seconds |
|