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. Creating a PDF file

Creating a PDF file

Scheduled Pinned Locked Moved C / C++ / MFC
c++
8 Posts 7 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.
  • _ Offline
    _ Offline
    _Tom_
    wrote on last edited by
    #1

    Hi I have a need to generate reports, in PDF, in my VC++ application. I've seen numerous libraries that will take the pain away and make my life easier but I'd like to create my own library that will allow me to generate these reports. If anyone could point me in the direction of some examples or tutorials I would be grateful. Thanks

    R H S 3 Replies Last reply
    0
    • _ _Tom_

      Hi I have a need to generate reports, in PDF, in my VC++ application. I've seen numerous libraries that will take the pain away and make my life easier but I'd like to create my own library that will allow me to generate these reports. If anyone could point me in the direction of some examples or tutorials I would be grateful. Thanks

      R Offline
      R Offline
      Rudolf Jan
      wrote on last edited by
      #2

      I think the easiest way is to preapre your reports for printing in the traditional way and send them to a PDF application. There are a number of free applications available. I tkink it must be possible to change the interfacing to the printer classes so that they look like a create PDF button or whatever you like.

      1 Reply Last reply
      0
      • _ _Tom_

        Hi I have a need to generate reports, in PDF, in my VC++ application. I've seen numerous libraries that will take the pain away and make my life easier but I'd like to create my own library that will allow me to generate these reports. If anyone could point me in the direction of some examples or tutorials I would be grateful. Thanks

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        Is How to create PDF file in Visual C++: "Hello, PDF!" example[^] helpfuls


        WhiteSky


        C 1 Reply Last reply
        0
        • H Hamid Taebi

          Is How to create PDF file in Visual C++: "Hello, PDF!" example[^] helpfuls


          WhiteSky


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

          He specifically said that he wanted to do that by himself. Did you take a look at the link you provided ?


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

          A 1 Reply Last reply
          0
          • C Cedric Moonen

            He specifically said that he wanted to do that by himself. Did you take a look at the link you provided ?


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

            A Offline
            A Offline
            Aqueel
            wrote on last edited by
            #5

            humm i think that link is quite good. This tutorial can help baerten. As i think he is afraid of those libraries. So this link helps.

            We Believe in Excellence www.aqueelmirza.cjb.net

            1 Reply Last reply
            0
            • _ _Tom_

              Hi I have a need to generate reports, in PDF, in my VC++ application. I've seen numerous libraries that will take the pain away and make my life easier but I'd like to create my own library that will allow me to generate these reports. If anyone could point me in the direction of some examples or tutorials I would be grateful. Thanks

              S Offline
              S Offline
              Sebastian Schneider
              wrote on last edited by
              #6

              Adobe has, on their site, a developer section containing links to the PDF standard documentation.

              Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.

              _ 1 Reply Last reply
              0
              • S Sebastian Schneider

                Adobe has, on their site, a developer section containing links to the PDF standard documentation.

                Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.

                _ Offline
                _ Offline
                _Tom_
                wrote on last edited by
                #7

                Thanks, I visited Adobe and the reference material is quite good, however it lacks real world examples, e.g. if you'd like to create a table or insert an image things start to go wrong very quickly. Also I created a pdf by printing a word document through a driver I found and if you open the file in textpad you cant see any of the text, as if its been hidden away or encoded in some way. There seems to be a variety of Libraries out there and Text3PDF on code project is very good but I'd really like to create my own library, so I dont have to worry about license fees, having my own license updated or pay royalities. This really seems to be a tricky area... Thanks for all the help tho, as it really helpful.

                N 1 Reply Last reply
                0
                • _ _Tom_

                  Thanks, I visited Adobe and the reference material is quite good, however it lacks real world examples, e.g. if you'd like to create a table or insert an image things start to go wrong very quickly. Also I created a pdf by printing a word document through a driver I found and if you open the file in textpad you cant see any of the text, as if its been hidden away or encoded in some way. There seems to be a variety of Libraries out there and Text3PDF on code project is very good but I'd really like to create my own library, so I dont have to worry about license fees, having my own license updated or pay royalities. This really seems to be a tricky area... Thanks for all the help tho, as it really helpful.

                  N Offline
                  N Offline
                  normanS
                  wrote on last edited by
                  #8

                  _Tom_ wrote:

                  Also I created a pdf by printing a word document through a driver I found and if you open the file in textpad you cant see any of the text, as if its been hidden away or encoded in some way.

                  I think that when you create a PDF by using a "PDF printer driver", it treats the whole document as a bitmap / raster image. If you use Acrobat Reader to open a PDF document which was created by a PDF printer driver, you can't select text.

                  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