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. The Lounge
  3. Save To PDF from a Web Page...

Save To PDF from a Web Page...

Scheduled Pinned Locked Moved The Lounge
csharpwinformssysadminsaleshelp
21 Posts 9 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.
  • C Christian Graus

    What sort of text do you want to save ? Can't you just send it to your server, as text, and then save it there ?

    Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

    C Offline
    C Offline
    code frog 0
    wrote on last edited by
    #3

    As I understand it the requirement is that regular customers can come to the site and submit a document they've typed into an embedded page editor to the server where it will then be saved to PDF. I probably can send it as text but I'm not sure what component would support this or how to find that component on the web...

    C 1 Reply Last reply
    0
    • C code frog 0

      As I understand it the requirement is that regular customers can come to the site and submit a document they've typed into an embedded page editor to the server where it will then be saved to PDF. I probably can send it as text but I'm not sure what component would support this or how to find that component on the web...

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #4

      So, it's not just text ? I mean, the problem is that you need an embedded editor which then provides formatting, and exports to PDF ? You can obviously send any text you like back to the server, then you just need to use any PDF library to save it in a PDF, unless you have special needs with regards to how it's formatted.  Even then, if you take a HTML based editor, then your problem will be how to render the HTML document, but I thought from what you said that the component you've found, does that ?

      Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

      C 1 Reply Last reply
      0
      • C Christian Graus

        So, it's not just text ? I mean, the problem is that you need an embedded editor which then provides formatting, and exports to PDF ? You can obviously send any text you like back to the server, then you just need to use any PDF library to save it in a PDF, unless you have special needs with regards to how it's formatted.  Even then, if you take a HTML based editor, then your problem will be how to render the HTML document, but I thought from what you said that the component you've found, does that ?

        Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

        C Offline
        C Offline
        code frog 0
        wrote on last edited by
        #5

        Christian Graus wrote:

        then your problem will be how to render the HTML document, but I thought from what you said that the component you've found, does that

        No it doesn't but I was told it was. Yeah, I'm with you on the text part I just need to find a control that can handle all of it... Which seems to be a Fat Client only possibility unless I write some code to migrate from the webform into the library. Which I can easily do and will do if I know that there's not some control already out there to do this...

        C 1 Reply Last reply
        0
        • C code frog 0

          Christian Graus wrote:

          then your problem will be how to render the HTML document, but I thought from what you said that the component you've found, does that

          No it doesn't but I was told it was. Yeah, I'm with you on the text part I just need to find a control that can handle all of it... Which seems to be a Fat Client only possibility unless I write some code to migrate from the webform into the library. Which I can easily do and will do if I know that there's not some control already out there to do this...

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #6

          But, you want to save the PDF on the server, don't you ? So, you don't need anything more than the text editor on the client, which you can do in a web app.

          Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

          C 1 Reply Last reply
          0
          • C code frog 0

            Well after lots of Googling and not being at all sure of what I found. I thought ComponentOne had solved my problem. Especially after a live chat with a sales support person who assured me that ComponentOne for ASP .Net 2.0 had PDF support so that a web page could save text to a server-side directory as a PDF file. Well it appears he was wrong especially after installing and seeing the only product that has that support is Winforms. So now I've promised a potential client that I had spoken with a vendor and located a control that could do what they want and I was wrong. Does anybody know of a 3rd party control you can invoke from an ASP .Net 2.0 web page to save PDF's in a directory on the server? I hope someone has because Google is leaving me high and dry... - Rex

            C Offline
            C Offline
            Chris Maunder
            wrote on last edited by
            #7

            Tried this[^]?

            cheers, Chris Maunder

            CodeProject.com : C++ MVP

            C 1 Reply Last reply
            0
            • C Chris Maunder

              Tried this[^]?

              cheers, Chris Maunder

              CodeProject.com : C++ MVP

              C Offline
              C Offline
              code frog 0
              wrote on last edited by
              #8

              :doh: I had searched here but not found the "glass slipper" I'm looking for. Or wait... the foot that fits the glass slipper I mean. Anyway, I just spoke with the client and he explained to me what he wants which is very different from what I thought... Things just got easier.

              G 1 Reply Last reply
              0
              • C Christian Graus

                But, you want to save the PDF on the server, don't you ? So, you don't need anything more than the text editor on the client, which you can do in a web app.

                Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

                C Offline
                C Offline
                code frog 0
                wrote on last edited by
                #9

                Yes and no. But I talked to the client and I had the requirements wrong. They just need to view a PDF.

                C 1 Reply Last reply
                0
                • C code frog 0

                  Yes and no. But I talked to the client and I had the requirements wrong. They just need to view a PDF.

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #10

                  Oh, OK.  That's easy then.

                  Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

                  1 Reply Last reply
                  0
                  • C code frog 0

                    Well after lots of Googling and not being at all sure of what I found. I thought ComponentOne had solved my problem. Especially after a live chat with a sales support person who assured me that ComponentOne for ASP .Net 2.0 had PDF support so that a web page could save text to a server-side directory as a PDF file. Well it appears he was wrong especially after installing and seeing the only product that has that support is Winforms. So now I've promised a potential client that I had spoken with a vendor and located a control that could do what they want and I was wrong. Does anybody know of a 3rd party control you can invoke from an ASP .Net 2.0 web page to save PDF's in a directory on the server? I hope someone has because Google is leaving me high and dry... - Rex

                    D Offline
                    D Offline
                    davin2
                    wrote on last edited by
                    #11

                    I've used Amyuni at two different jobs and it hit the mark both times. If this works for you will depend on how you plan on building and editing the pdf. But I know google doesn't usually find it in a search of PDF libraries. Just Google Amyuni[^

                    C 1 Reply Last reply
                    0
                    • C code frog 0

                      Well after lots of Googling and not being at all sure of what I found. I thought ComponentOne had solved my problem. Especially after a live chat with a sales support person who assured me that ComponentOne for ASP .Net 2.0 had PDF support so that a web page could save text to a server-side directory as a PDF file. Well it appears he was wrong especially after installing and seeing the only product that has that support is Winforms. So now I've promised a potential client that I had spoken with a vendor and located a control that could do what they want and I was wrong. Does anybody know of a 3rd party control you can invoke from an ASP .Net 2.0 web page to save PDF's in a directory on the server? I hope someone has because Google is leaving me high and dry... - Rex

                      K Offline
                      K Offline
                      KevinMac
                      wrote on last edited by
                      #12

                      Perhaps you were not communicating with the sales person correctly. I suggest you jump a flight to their office and use the universal IT communicator commonly called a taser to clarify precisely how the control should work. With any luck at all you will become satisfied with the overall sales experience. I hate when I get sold something that will not work it just makes work so much harder.

                      C 1 Reply Last reply
                      0
                      • C code frog 0

                        :doh: I had searched here but not found the "glass slipper" I'm looking for. Or wait... the foot that fits the glass slipper I mean. Anyway, I just spoke with the client and he explained to me what he wants which is very different from what I thought... Things just got easier.

                        G Offline
                        G Offline
                        Gary R Wheeler
                        wrote on last edited by
                        #13

                        Don't you just love it when users lie to you?


                        Software Zen: delete this;

                        Fold With Us![^]

                        R 1 Reply Last reply
                        0
                        • G Gary R Wheeler

                          Don't you just love it when users lie to you?


                          Software Zen: delete this;

                          Fold With Us![^]

                          R Offline
                          R Offline
                          RoswellNX
                          wrote on last edited by
                          #14

                          Gary R. Wheeler wrote:

                          Don't you just love it when users lie to you?

                          The inhabitants of tech support call centers aren't much better either...the difference being though, that it's not in their interest to let you get your job done, they aren't worried about wasting time, because it's not theirs :eek: Roswell:mad:

                          "Angelinos -- excuse me. There will be civility today."
                          Antonio VillaRaigosa
                          City Mayor, Los Angeles, CA

                          1 Reply Last reply
                          0
                          • C code frog 0

                            Well after lots of Googling and not being at all sure of what I found. I thought ComponentOne had solved my problem. Especially after a live chat with a sales support person who assured me that ComponentOne for ASP .Net 2.0 had PDF support so that a web page could save text to a server-side directory as a PDF file. Well it appears he was wrong especially after installing and seeing the only product that has that support is Winforms. So now I've promised a potential client that I had spoken with a vendor and located a control that could do what they want and I was wrong. Does anybody know of a 3rd party control you can invoke from an ASP .Net 2.0 web page to save PDF's in a directory on the server? I hope someone has because Google is leaving me high and dry... - Rex

                            C Offline
                            C Offline
                            Chris Losinger
                            wrote on last edited by
                            #15

                            i've used ActivePDF, in the past.

                            image processing toolkits | batch image processing | blogging

                            1 Reply Last reply
                            0
                            • D davin2

                              I've used Amyuni at two different jobs and it hit the mark both times. If this works for you will depend on how you plan on building and editing the pdf. But I know google doesn't usually find it in a search of PDF libraries. Just Google Amyuni[^

                              C Offline
                              C Offline
                              code frog 0
                              wrote on last edited by
                              #16

                              So this will work inside a web page? Specifically if I have a PDF on the webserver a client can open that PDF make editing changes and write it back to the server all from ASP .NET? - Rex

                              D 1 Reply Last reply
                              0
                              • K KevinMac

                                Perhaps you were not communicating with the sales person correctly. I suggest you jump a flight to their office and use the universal IT communicator commonly called a taser to clarify precisely how the control should work. With any luck at all you will become satisfied with the overall sales experience. I hate when I get sold something that will not work it just makes work so much harder.

                                C Offline
                                C Offline
                                code frog 0
                                wrote on last edited by
                                #17

                                Well I'm still in the trial. However I'm not happy at wasting 2 hours and bandwidth to download the stupid thing. I've always believed if more people tasered each other world peace would be a feasible concept. I mean after being hit with 50,000 volts who *isn't* thinking peaceful thoughts?:rolleyes:

                                1 Reply Last reply
                                0
                                • C code frog 0

                                  So this will work inside a web page? Specifically if I have a PDF on the webserver a client can open that PDF make editing changes and write it back to the server all from ASP .NET? - Rex

                                  D Offline
                                  D Offline
                                  davin2
                                  wrote on last edited by
                                  #18

                                  All depends on how you plan on implementing the edit feature. Are you editing prefab PDF forms and just using ASP.net to fill in some text, or creating from scratch/completely custom pdfs. Quick Google for 'Amyuni ASP.net' found this one http://www.amyuni.com/forum/viewtopic.php?p=3880&[^] I don't have a place to install and try this at the moment, however a quick browse through the demos source code might give you idea of what its capable of.

                                  C 1 Reply Last reply
                                  0
                                  • D davin2

                                    All depends on how you plan on implementing the edit feature. Are you editing prefab PDF forms and just using ASP.net to fill in some text, or creating from scratch/completely custom pdfs. Quick Google for 'Amyuni ASP.net' found this one http://www.amyuni.com/forum/viewtopic.php?p=3880&[^] I don't have a place to install and try this at the moment, however a quick browse through the demos source code might give you idea of what its capable of.

                                    C Offline
                                    C Offline
                                    code frog 0
                                    wrote on last edited by
                                    #19

                                    It's for a print media agency so they will be allowing customers to do markup on PDF's that already exist.

                                    1 Reply Last reply
                                    0
                                    • C code frog 0

                                      Well after lots of Googling and not being at all sure of what I found. I thought ComponentOne had solved my problem. Especially after a live chat with a sales support person who assured me that ComponentOne for ASP .Net 2.0 had PDF support so that a web page could save text to a server-side directory as a PDF file. Well it appears he was wrong especially after installing and seeing the only product that has that support is Winforms. So now I've promised a potential client that I had spoken with a vendor and located a control that could do what they want and I was wrong. Does anybody know of a 3rd party control you can invoke from an ASP .Net 2.0 web page to save PDF's in a directory on the server? I hope someone has because Google is leaving me high and dry... - Rex

                                      S Offline
                                      S Offline
                                      Suelinda_W
                                      wrote on last edited by
                                      #20

                                      Hello Code-Frog, You can use ComponentOne PDF for .NET in an ASP.NET page. C1PDF does not have a GUI, so even though it is a .NET control, it works in an ASP.NET page also. With earlier VS versions, you could see ASP.NET compatible .NET controls in the toolbox along with the regular ASP controls, but there is an extra step for VS2005. You need to go to the design view of your .aspx page, then go to the Main Menu and select View|Component Designer (refer to http://helpcentral.componentone.com/PrintableView.aspx?ID=1405[^]). This view will allow you to add C1PDF to your WebForm. Then you can get input from the end user or wherever and add it as plain text or RTF to a PDF document. You can change the font and color of the plain text. The resulting document can then be saved to a file or stream.

                                      Suelinda W Customer Engagement, ComponentOne LLC http:\\www.componentone.com

                                      C 1 Reply Last reply
                                      0
                                      • S Suelinda_W

                                        Hello Code-Frog, You can use ComponentOne PDF for .NET in an ASP.NET page. C1PDF does not have a GUI, so even though it is a .NET control, it works in an ASP.NET page also. With earlier VS versions, you could see ASP.NET compatible .NET controls in the toolbox along with the regular ASP controls, but there is an extra step for VS2005. You need to go to the design view of your .aspx page, then go to the Main Menu and select View|Component Designer (refer to http://helpcentral.componentone.com/PrintableView.aspx?ID=1405[^]). This view will allow you to add C1PDF to your WebForm. Then you can get input from the end user or wherever and add it as plain text or RTF to a PDF document. You can change the font and color of the plain text. The resulting document can then be saved to a file or stream.

                                        Suelinda W Customer Engagement, ComponentOne LLC http:\\www.componentone.com

                                        C Offline
                                        C Offline
                                        code frog 0
                                        wrote on last edited by
                                        #21

                                        Here's what I really need to know before I install this on my development workstation to begin testing. Will this control allow me to display a PDF to a website visitor, enable them to mark up the PDF and then save it back to the file? Is there an example anywhere that demonstrates using the control?

                                        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