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#
  4. Create and print PDF file in web application using iTextSharp assembly

Create and print PDF file in web application using iTextSharp assembly

Scheduled Pinned Locked Moved C#
databasequestionsql-serversysadminhelp
4 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.
  • T Offline
    T Offline
    There is always the way to do it but I dont know
    wrote on last edited by
    #1

    Project: I'm tring to use iTextSharp assembly to create and print a pdf file in a web application. Input: pre created template pdf file; dynamic data entry from web page. Output: print out pdf file with data entry; save pdf with data entry as image to database. Step 1.Generate pdf file based on pre-created pdf template file and data entered through web page. Step 2.Print out the pdf file generated from step1. Problem: I'm able to persute step 1 using fdf. What is the best way and how to print out the pdf file created from step1 in web application? What is the best way to store the pdf file into SQL server database? Your input is well appreciated.

    B 1 Reply Last reply
    0
    • T There is always the way to do it but I dont know

      Project: I'm tring to use iTextSharp assembly to create and print a pdf file in a web application. Input: pre created template pdf file; dynamic data entry from web page. Output: print out pdf file with data entry; save pdf with data entry as image to database. Step 1.Generate pdf file based on pre-created pdf template file and data entered through web page. Step 2.Print out the pdf file generated from step1. Problem: I'm able to persute step 1 using fdf. What is the best way and how to print out the pdf file created from step1 in web application? What is the best way to store the pdf file into SQL server database? Your input is well appreciated.

      B Offline
      B Offline
      blackjack2150
      wrote on last edited by
      #2

      I had to do a similar thing, but in a desktop application. In order to print the file I start Adobe Reader with command line parameters, which tell it to print the file. With you web application, a problem may arise when trying to launch Acrobat Reader using the Process.Start() method. I'm not sure if you're allowed to do that.

      T 1 Reply Last reply
      0
      • B blackjack2150

        I had to do a similar thing, but in a desktop application. In order to print the file I start Adobe Reader with command line parameters, which tell it to print the file. With you web application, a problem may arise when trying to launch Acrobat Reader using the Process.Start() method. I'm not sure if you're allowed to do that.

        T Offline
        T Offline
        There is always the way to do it but I dont know
        wrote on last edited by
        #3

        First, thank you for the reply, I did use Process.Start, it works ok, but I try to not using COM, but using .net technic. Any other way? Thanks,

        T 1 Reply Last reply
        0
        • T There is always the way to do it but I dont know

          First, thank you for the reply, I did use Process.Start, it works ok, but I try to not using COM, but using .net technic. Any other way? Thanks,

          T Offline
          T Offline
          There is always the way to do it but I dont know
          wrote on last edited by
          #4

          This is a new question, after I created a PDF file with data entry using iTextSharp, what is the best way to save it in the situation I need to bring back this PDf file. Thanks in advance.

          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