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. export text to pdf vc++/mfc.

export text to pdf vc++/mfc.

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorial
2 Posts 2 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.
  • M Offline
    M Offline
    Murugan k
    wrote on last edited by
    #1

    Hi, I have to convert a text report to a PDF file... I done the first half., and now i have to create the PDF file from the text file... (ie., "murugan.txt"-->"murugan.pdf"). In one of a forum told that we can do this using CFile,CSTDIO FILE.. i don't know how to handle the conversion with the help of these files., can any one pls help me to do this., thank for your great help. murugan.K

    C 1 Reply Last reply
    0
    • M Murugan k

      Hi, I have to convert a text report to a PDF file... I done the first half., and now i have to create the PDF file from the text file... (ie., "murugan.txt"-->"murugan.pdf"). In one of a forum told that we can do this using CFile,CSTDIO FILE.. i don't know how to handle the conversion with the help of these files., can any one pls help me to do this., thank for your great help. murugan.K

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      Murugan k wrote:

      In one of a forum told that we can do this using CFile,CSTDIO FILE..

      Wow, that would need that you need to know the format of PDF and encode everything yourself. That's a quite a bit extreme. Why don't you simply use an existing library that does the job for you ? You can find one here[^] for example (I'm sure if you search a little bit, you'll find plenty of).


      Cédric Moonen Software developer
      Charting control [v1.1]

      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