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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How to covert all formats to pdf using itextsharp? [modified]

How to covert all formats to pdf using itextsharp? [modified]

Scheduled Pinned Locked Moved C#
questiontutorial
13 Posts 4 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.
  • S Offline
    S Offline
    sush8
    wrote on last edited by
    #1

    How can i convert all formats to pdf using iTextsharp?

    modified on Saturday, July 24, 2010 9:45 AM

    P L 2 Replies Last reply
    0
    • S sush8

      How can i convert all formats to pdf using iTextsharp?

      modified on Saturday, July 24, 2010 9:45 AM

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      All formats of what? You can't - as you were told yesterday - how would you convert an exe for instance? Try to make your question more specific.

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

      My blog | My articles | MoXAML PowerToys | Onyx

      1 Reply Last reply
      0
      • S sush8

        How can i convert all formats to pdf using iTextsharp?

        modified on Saturday, July 24, 2010 9:45 AM

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        In addition to being just being normally impossible because of the vast number of formats in existence (many of which containing data that would not make sense in PDF form), it is also fundamentally impossible. What if anyone makes a new format? That problem can not be solved, and new formats are being made probably every day, maybe even more often.

        S 1 Reply Last reply
        0
        • L Lost User

          In addition to being just being normally impossible because of the vast number of formats in existence (many of which containing data that would not make sense in PDF form), it is also fundamentally impossible. What if anyone makes a new format? That problem can not be solved, and new formats are being made probably every day, maybe even more often.

          S Offline
          S Offline
          sush8
          wrote on last edited by
          #4

          I mean word document to pdf and text to pdf without using any converter.

          L 1 Reply Last reply
          0
          • S sush8

            I mean word document to pdf and text to pdf without using any converter.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            If you're not using a converter, how will anything get converted?

            S 1 Reply Last reply
            0
            • L Lost User

              If you're not using a converter, how will anything get converted?

              S Offline
              S Offline
              sush8
              wrote on last edited by
              #6

              We have third party tools right.I think by using those we can.But i donno how to..iTextsharp is a third party tool for converting to pdf format.

              L 1 Reply Last reply
              0
              • S sush8

                We have third party tools right.I think by using those we can.But i donno how to..iTextsharp is a third party tool for converting to pdf format.

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Ok, but AFAIK it's not a converter. Anyway, what is your question?

                S 1 Reply Last reply
                0
                • L Lost User

                  Ok, but AFAIK it's not a converter. Anyway, what is your question?

                  S Offline
                  S Offline
                  sush8
                  wrote on last edited by
                  #8

                  My task is to upload E-Books.I mean if client uploads any format of book to my server it should be converted to pdf internally.That means I have to convert different formats to pdf internally using .net code.Its not so easy so, i want to use third party tools.But I dont have any idea.

                  L M 3 Replies Last reply
                  0
                  • S sush8

                    My task is to upload E-Books.I mean if client uploads any format of book to my server it should be converted to pdf internally.That means I have to convert different formats to pdf internally using .net code.Its not so easy so, i want to use third party tools.But I dont have any idea.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    What if you print them to a PDF printer? Most book formats should be printable.. That's just an idea though, I have no idea what would be the best solution.

                    1 Reply Last reply
                    0
                    • S sush8

                      My task is to upload E-Books.I mean if client uploads any format of book to my server it should be converted to pdf internally.That means I have to convert different formats to pdf internally using .net code.Its not so easy so, i want to use third party tools.But I dont have any idea.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      There's an article on iTextSharp[^]. You said that you're currently converting to PDF with the Google webservice, you'd just need to replace that part.

                      I are Troll :suss:

                      S 1 Reply Last reply
                      0
                      • L Lost User

                        There's an article on iTextSharp[^]. You said that you're currently converting to PDF with the Google webservice, you'd just need to replace that part.

                        I are Troll :suss:

                        S Offline
                        S Offline
                        sush8
                        wrote on last edited by
                        #11

                        Google webservice is nothing but in which format we upload, it will display in that format.For example,if i upload word document it will open word document.But i want to convert to pdf. To know what is google docs,Once you open your gmail account and if you get any attached document just open it once,that document will be opened in another window which is noting but google docs.Is conversion possible?

                        L 1 Reply Last reply
                        0
                        • S sush8

                          Google webservice is nothing but in which format we upload, it will display in that format.For example,if i upload word document it will open word document.But i want to convert to pdf. To know what is google docs,Once you open your gmail account and if you get any attached document just open it once,that document will be opened in another window which is noting but google docs.Is conversion possible?

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #12

                          sunithaganugu wrote:

                          Is conversion possible?

                          As suggested before you can either write a program to do the conversion for you, using iTextSharp or similar third party library, or use one of the many PDF printer drivers to create the PDF files.

                          It's time for a new signature.

                          1 Reply Last reply
                          0
                          • S sush8

                            My task is to upload E-Books.I mean if client uploads any format of book to my server it should be converted to pdf internally.That means I have to convert different formats to pdf internally using .net code.Its not so easy so, i want to use third party tools.But I dont have any idea.

                            M Offline
                            M Offline
                            Mycroft Holmes
                            wrote on last edited by
                            #13

                            Just a thought - how are you going to deal with the DRM on most ebook formats?

                            Never underestimate the power of human stupidity RAH

                            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