Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print web page and pdf documents that are linked to the page

Status
Not open for further replies.

edwilli

Programmer
May 22, 2003
33
US
I have a request to create a batch print program that will print the contents of a web page as well any PDF documents that are linked to the page.

For example a user fills out a contact information web form and uploads a resume to the site. I would like to create a method that will print the user's contact information and his pdf resume all in one step. The interface will be an ASP.net web page and the PDFs will be stored in a SQL Server table.

Has anyone tried this before?

Eric
 
I am not clear on what you want to do. So a user fills out a form and uploads a .pdf. You then want it to print where, and for who?
 
Users complete an online application using textboxes and such. The data is stored in a database. There is a page on our site - let's call it the "Print Page" - that displays all the data a user entered, and it is formatted for printing; so with the click of a button an administrator can print all the information a particular user entered.

What is new is that we now allow users to upload PDFs in lieu of typing in certain information. Users like this new functionality, but admins are complaining because the "Print Page" does not contain the PDF data. Therefore they need to print the "Print Page" and each uploaded PDF separately.

I would like to create a method that prints the "Print Page", checks for any PDFs associated with the user, and prints them as well.

 
You will have to create a print page for the pdfs. The admin will select the user, print the entered info like you are doing now, then get a datatable of all pfs uploaded. Then loop though the datatable and pass info to that "printPDF" page and print the pdf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top