Convert .txt files to pdf files in AE 14

tommrz

Well-known member
Is there a ticket that anyone knows of that will convert a .txt file to a pdf automatically in Automation Engine? I want to be able to convert a .txt report to a pdf and combine it with another pdf in line...
 
Are you asking that you are wanting to not just render TXT into a PDF, but you want to control positioning, Fonts, and render it a specific size (like a press sheet) or you just want txt into a pdf file....
 
Steve-Nothing that complicated. Here's the deal... we have an in house QC policy that any job that has a bar code must beaccompanied by a verification report. We print a hard copy proof and scan it using a bar code reader for verification. The software the bar code scanner uses will allow us to save it as a text file but not a pdf. In a manual workflow we open the text file in text edit or text wrangler and save it as a pdf. We then open our pdf proof in acrobat and add the upc pdf as another page in the pdf. I am looking for a way to have AE convert the .txt file to a pdf so I can merge the 2 pdfs into one in a workflow and skip all the manual stuff.
 
The only way I could think of to do this would be with the run script task. You would need a script that would open the text file in a text editor and export it as PDF.
 
Yep, that's why i ended up here. I looked at almost every task ticket i could think of that might do it but it looks like they all require the file to be postscript or pdf in nature. I thought maybe I could use an ArtPro action list but I know absolutely nothing about them or how they work. I did a google search yesterday for an applescript that might do it. I found one but it errored out with a message stating "sh: /System/Library/Printers/Libraries/convert: No such file or directory". Problem is i am no programmer and that error means nothing to me! I will take a look at the run script task though.
 
Don't know anything about AE but here is a quick applescript that will convert one or more txt files to pdf. Just drop them on the script.
 

Attachments

  • txt2pdf.zip
    57 KB · Views: 270
wow that script works perfectly. I think i can use it in a workflow as stated above. I will let you know what we come up with. Thanks!
 

PressWise

A 30-day Fix for Managed Chaos

As any print professional knows, printing can be managed chaos. Software that solves multiple problems and provides measurable and monetizable value has a direct impact on the bottom-line.

“We reduced order entry costs by about 40%.” Significant savings in a shop that turns about 500 jobs a month.


Learn how…….

   
Back
Top