Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Convert to PDF

Convert to PDF

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestiondiscussion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JensB
    wrote on last edited by
    #1

    Hi, Is there anyway to convert a .RTF document automatically to .PDF? When for example Acrobat Distiller is installed, there is a button to convert a Word document to PDF file. I want the same action but automatically without user doing anything. Any thoughts about this? Best regards, Jens

    M 1 Reply Last reply
    0
    • J JensB

      Hi, Is there anyway to convert a .RTF document automatically to .PDF? When for example Acrobat Distiller is installed, there is a button to convert a Word document to PDF file. I want the same action but automatically without user doing anything. Any thoughts about this? Best regards, Jens

      M Offline
      M Offline
      Mahendra_786
      wrote on last edited by
      #2

      Hi, It might help if you can give more details. There are "PDF toolkits" available to help create PDF files programmatically but then you will need to "parse" the RTF yourself. Another way is "printing" to something like Adobe's PDFWriter. Regards Mahendra

      J 1 Reply Last reply
      0
      • M Mahendra_786

        Hi, It might help if you can give more details. There are "PDF toolkits" available to help create PDF files programmatically but then you will need to "parse" the RTF yourself. Another way is "printing" to something like Adobe's PDFWriter. Regards Mahendra

        J Offline
        J Offline
        JensB
        wrote on last edited by
        #3

        Hi My collegue has programmed a library to export to .RTF files ... I can use this but some clients ask it to be .PDF .... I have installed Acrobat Distiller to print to PDF .. so printing to PDF itself is no problem .. Words supports that easily too ... The problem is ... This needs to be done from code itself. If they click on button 'PDF' .. then the document is first build in .RTF and after that .. needs to be "printed" to .PDF file. Greetings, Jens

        D M 2 Replies Last reply
        0
        • J JensB

          Hi My collegue has programmed a library to export to .RTF files ... I can use this but some clients ask it to be .PDF .... I have installed Acrobat Distiller to print to PDF .. so printing to PDF itself is no problem .. Words supports that easily too ... The problem is ... This needs to be done from code itself. If they click on button 'PDF' .. then the document is first build in .RTF and after that .. needs to be "printed" to .PDF file. Greetings, Jens

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Print to Acrobat Distiller just like you would any other printer. The Acrobat Distiller driver will either prompt you for the target file, or it can be supplied programmatically.


          "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

          1 Reply Last reply
          0
          • J JensB

            Hi My collegue has programmed a library to export to .RTF files ... I can use this but some clients ask it to be .PDF .... I have installed Acrobat Distiller to print to PDF .. so printing to PDF itself is no problem .. Words supports that easily too ... The problem is ... This needs to be done from code itself. If they click on button 'PDF' .. then the document is first build in .RTF and after that .. needs to be "printed" to .PDF file. Greetings, Jens

            M Offline
            M Offline
            Mahendra_786
            wrote on last edited by
            #5

            Hi, Yours is a "custom" application which needs to "create/ save as" PDF documents? If that is true than you would need something similar to what you have for RTF; there are commercial libraries available to write PDF files as well. Due Regards Mahendra

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups