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