Internosis - knowledge management,ecommerce and project consulting
*Home>>>Application Development

Has anyone successfully saved an RTF file as a PDF?


I am working on an application in MS Access, and the LOB has asked me to help them change the process from saving the Access report as an rtf file to saving it as a pdf file. I downloaded the SDK from Adobe, and have been trying to get it done, but the only thing being generated is a log file saying "Warning: Empty job. No PDF file produced." The log file is being placed in the directory where I want the pdf to go, so I know I am on the right track. Here is my code so far :

path = "N:\Docs\development\test_file.rtf"

Set pdfDist = New ACRODISTXLib.PdfDistiller

pdfDist.bSpoolJobs = True

optionsFile = "C:\ProgramFiles\Adobe\Distillr\Settings...

pdfDist.FileToPDF path, "C:\myTest.pdf", optionsFile


Any assistance or tips would be greatly appreciated...

Looks like you are going about this wrong.

You can't distill RTF files. You can only distill PostScript files. That's why your jobs aren't running.

Adobe makes a cryptic reference to using StartDoc to convert your RTF to PS before calling FileToPDF.

http://support.adobe.com/devsup/devsup.n...

Were I you, I would download the Samples Guide:

http://www.adobe.com/devnet/acrobat/pdfs...

And look into AdobePDFSilent, which came in the SDK distro.

Tags
  E-Commerce   Supply Chain   Data Mining   ERP   CRM   Application Development   Software Consulting   Software Development   Information Technology   Technology Consulting   Project Training
Related information
  • What are the basically asked questions and there answers in job interview of freshers in marketing after mba?

    The first thing an interviewer will notice is your speech. Marketing is all about communicating the right message in a clear concise manner. I'm not trying to put you down. It's just that...

  • Looking for LittleBarb and bullwinkle? A note from the front.?

    Yes, she is a traitor. Protesting the war is one thing, which is totally acceptable in a free society, but going over to the other side to show one's disagreement is NO NO. A lot of American...

  • Career: Job Title?

    Systems & Network Specialist

    ...
  • What is meant by "frontier areas" here?

    new unused areas or un tamed, undiscovered, un tapped something along those lines

    ...
  • What is an Information Architect?

    Yep, mostly it's a web designer with lots of experience. With the exception being an IA, will likely have to have at least some programming, database, information management experience as thef...

  • Scrap school curriculum?

    You are absolutely totally right. If schools try to make them all into academics they fail miserably by ignoring aptitude. The bias towards academic excellence also shows no respect at all from t...

  • Help with case topic?

    i think maybe #2? in #1, someone can argue that u can find a new mission for NATO, or in the future. in the 2nd one however, u have to emphasize the fact that civil functions are so varied and nu...

  • Citizenship english question translate to arabic ?

    Try this site ...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster