mminer Posted July 22, 2005 Posted July 22, 2005 OS Tiger & FMP 7 I'm looking for the best way to print to PDF but automatically rename each file as it's saved. Instead of printing a hard copy of an invoice for our records, we want the invoices to be saved as PDF's with the invoice number as the name. Then we'll see if we can link to the PDF from the customer's account but that's another issue. Should I be using Automator or Apple Script (I'm less comfortable with this one)? How do I capture the invoice number? Sorry if this is a repeat of previous posts but I suspect that they might not apply to my platform and I've had trouble navigating this site (e.g. finding topic 141081 which might have my solution). Thanks in advance for as much or as little help you can affort to give me.
stefanshotton Posted July 24, 2005 Posted July 24, 2005 (edited) You can use a plugin from afeina soft called afiller, you can generate the file name using a calc and it will print the doc as a pdf to that filename. www.afeina.com Edited July 24, 2005 by Guest
Fenton Posted July 25, 2005 Posted July 25, 2005 It is fairly easy to do this with AppleScript. See this thread: http://fmforums.com/forum/showtopic.php?tid/167420/post/168843/hl/AppleScript+PDFfenton/#168843
Newbies Loknar Posted July 25, 2005 Newbies Posted July 25, 2005 You can also save a temp pdf with a standard print dialog and use troi file plug-in to rename and copy the pdf to the desired location. This way, the script can have subsequent steps. www.troi.com
mminer Posted July 26, 2005 Author Posted July 26, 2005 Thanks guys! I created a FM script that first prints the PDF and then calls an Apple Script to rename the file just created. The Apple Sript was my first but pretty easy.
Recommended Posts
This topic is 7128 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now