Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to convert text file to pdf using command line on the fly

Guest
Apr 11, 2016 Apr 11, 2016

Hi,

I am looking to use Adobe to convert a simple text file to a pdf using the DOS command line execution so it can be run on the fly when needed.

Thanks

TOPICS
Acrobat SDK and JavaScript , Windows
2.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 11, 2016 Apr 11, 2016

Not possible.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 11, 2016 Apr 11, 2016
LATEST

Actually, it is possible, but it might not work as you expect.

You just need to provide the path to the txt file as a parameter to Acrobat.exe and it will launch Acrobat and convert that file to PDF.

However, it will not be saved automatically and the application, with the new (temporary) file in it, will remain open.

Acrobat is not really suited for command-line usage, if that's what you're trying to achieve.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines