Link to home
Start Free TrialLog in
Avatar of codeshelp
codeshelp

asked on

URGENT: Creating a PDF

Scenario:
I have to create a package for our sales force.  They insert a bunch of data on a web page and at the end I
have to create a pdf in landscape.  The pdf will contain grids, tables, images and text.  Based on the users input the
pdf is created, so it's dynamic.  The user should have the option of viewing and\or printing the landscape pdf, for example the click done, the program runs and brings back the final package for viewing or printing.

As of right now I have a .aspx page that has all the information in portrait.  It's pretty simple it just does some data
retrieval and some calculations and displays the data in the .aspx page.

Coding in C# and ASP.NET
Tools I have: Adobe Acrobat 7.0 Professional

Another option might be a tiff image, but would like to explore the pdf option unless it's much more simple to create
a landscape tiff image.

Need some examples.

Thank you!
SOLUTION
Avatar of nauman_ahmed
nauman_ahmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of codeshelp
codeshelp

ASKER

What about? "Another option might be a tiff image..."
Is there no way of conveting a displayed .aspx page into a pdf?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What about? "Another option might be a tiff image...".  Is there a way to convert .aspx to .tiff?  Or this there a way
to save the displayed .aspx paged and then convert to tiff?
i want to be clear--abcpdf doesn't convert .aspx to pdf.  what it does is ask the server to serve up the page and abcpdf captures it as-is and slams it into a pdf in memory or in a file.
Where in the docs do you see that? I used ABCPdf long ago so I may not be up to date on it. Last time I used ABC PDF it didn't take an entire html page but would process select HTML commands. Can you show me where in the docs is talks about converting an entire HTML page into a pdf? I will look at it them but I didn't think it did that.
I stand corrected. I found it in the docs where it allows that. Nifty.So I guess MikePJ has the best asnwer. Sorry about that Mike.
As Far as saving the ASPx file to a tiff. That would require you more or less to build your own HTML rendering engine. or attempt to use the WebBrowser control some how to get an image of the page and then save it as a tiff. I think that using the ABCPdf will be your best solution
i don't have time for that.  i have a sample pdf--it took the table, text, and a picture.  we only recently started using it and it does work.
Might want to take a look at some controls from Altasoft. Their controls specialize in imaging and creating PDF's