• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 447
  • Last Modified:

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!
0
codeshelp
Asked:
codeshelp
  • 4
  • 3
  • 3
  • +2
3 Solutions
 
nauman_ahmedCommented:
You can not use Adobe Acrobat since it is not allowed for server processing. You will need to use third party components. I have used ActivePDF and it has many great features.

URL: http://www.activePDF.com

If you web page is displayed based on the values in QueryString, then you can use the activePDF WebGrabber:

URL: http://www.activepdf.com/products/serverproducts/webgrabber/index.cfm

For more complex processing, you will need to use ActivePDF ToolKit:

URL: http://www.activepdf.com/products/serverproducts/toolkit/index.cfm

-Nauman.
0
 
codeshelpAuthor Commented:
What about? "Another option might be a tiff image..."
0
 
codeshelpAuthor Commented:
Is there no way of conveting a displayed .aspx page into a pdf?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
mikepjCommented:
>Is there no way of conveting a displayed .aspx page into a pdf?

there is.  http://www.websupergoo.com/abcpdf-1.htm

we use it & it's great.
0
 
sk33v3Commented:
Other than using a component like what has been mentioned above there is not a way to convert a page into PDF on the server side. However if you have the ASPX page already created and everything you might want to see if having your sales staff Print to PDF is a feasible alternative. You can use free utlities like CutePDF to be able to print to PDF.
0
 
codeshelpAuthor Commented:
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?
0
 
mikepjCommented:
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.
0
 
sk33v3Commented:
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.
0
 
sk33v3Commented:
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.
0
 
sk33v3Commented:
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
0
 
mikepjCommented:
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.
0
 
lmrozekCommented:
Might want to take a look at some controls from Altasoft. Their controls specialize in imaging and creating PDF's
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now