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. Web Development
  3. ASP.NET
  4. pdf rendering options

pdf rendering options

Scheduled Pinned Locked Moved ASP.NET
help
6 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.
  • I Offline
    I Offline
    indian143
    wrote on last edited by
    #1

    Hi All, I have a web page which is having print and email buttons. When I say print its printing on paper and on pdf also correctly. Now they want, the same pdf format should be sent as to users when user clicks email. Is there any way to generate the pdf files for this and send emails with those pdfs as attachments when user clicks email button. Please any body if have any idea please help me, its very urgent. Any link or any code snippet helps me a lot. In this mean time I will request to uncle google:).

    Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

    S 1 Reply Last reply
    0
    • I indian143

      Hi All, I have a web page which is having print and email buttons. When I say print its printing on paper and on pdf also correctly. Now they want, the same pdf format should be sent as to users when user clicks email. Is there any way to generate the pdf files for this and send emails with those pdfs as attachments when user clicks email button. Please any body if have any idea please help me, its very urgent. Any link or any code snippet helps me a lot. In this mean time I will request to uncle google:).

      Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

      S Offline
      S Offline
      Sebastian T Xavier
      wrote on last edited by
      #2

      I have used abcpdf for the same purpose. Its very easy to integrate. Meanwhile, which tool have you used to get your pdf output from webpage?

      I 2 Replies Last reply
      0
      • S Sebastian T Xavier

        I have used abcpdf for the same purpose. Its very easy to integrate. Meanwhile, which tool have you used to get your pdf output from webpage?

        I Offline
        I Offline
        indian143
        wrote on last edited by
        #3

        Hi, I am actually printing the page itself by using the below method. When it goes to the printer options, if we have acrobat installed on our machine then the print dialogue box has an option to print in pdf file. Thats how its happening right now. It is the javascript method:

        function printpage() {
        window.print();
        }

        I want to make it automatically that web page should create pdf file and send it to the specified email as an attachment. All this should happen in a button click as one shot.

        Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

        Z 1 Reply Last reply
        0
        • I indian143

          Hi, I am actually printing the page itself by using the below method. When it goes to the printer options, if we have acrobat installed on our machine then the print dialogue box has an option to print in pdf file. Thats how its happening right now. It is the javascript method:

          function printpage() {
          window.print();
          }

          I want to make it automatically that web page should create pdf file and send it to the specified email as an attachment. All this should happen in a button click as one shot.

          Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

          Z Offline
          Z Offline
          ZurdoDev
          wrote on last edited by
          #4

          As mentioned previously, you'll have to get a 3rd party product because you need the pdf to be generated on the server side so you can then attach it to email.

          There are only 10 types of people in the world, those who understand binary and those who don't.

          1 Reply Last reply
          0
          • S Sebastian T Xavier

            I have used abcpdf for the same purpose. Its very easy to integrate. Meanwhile, which tool have you used to get your pdf output from webpage?

            I Offline
            I Offline
            indian143
            wrote on last edited by
            #5

            Hi, I have downloaded the abcpdf, but all its examples are saying about AddImage method. It takes the url, but I already have html string that has to be converted in to pdf. In that situation how can I use that string to generate my pdf file. Thanks, Abdul

            Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

            S 1 Reply Last reply
            0
            • I indian143

              Hi, I have downloaded the abcpdf, but all its examples are saying about AddImage method. It takes the url, but I already have html string that has to be converted in to pdf. In that situation how can I use that string to generate my pdf file. Thanks, Abdul

              Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

              S Offline
              S Offline
              Sebastian T Xavier
              wrote on last edited by
              #6

              Its doable with abcpdf. But i don't remember the exact code. Can you please refer there help, which will be automatically installed.

              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