Solved

ASP to PDF

Posted on 2004-04-13
11
730 Views
Last Modified: 2013-12-02
let say now i have asp file as the layout that i want to convert to pdf. i have an adobe distiller and pdf995 with me. i wan to create a vb application to grab data from the database and call the asp file and save it to pdf. is this possible? how can i achieve this? any sample code? pls help
0
Comment
Question by:angelmist
11 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10812139
ASP sounds like a server application. This rules out Distiller (or any part of Acrobat) as the solution. The EULA does not allow the server use of Acrobat with one exception: If you are doing this on an Intranet, and every potential user of this server has a valid license for Acrobat, then you can run Acrobat on the server. Other than that, you need to look for a 3rd party solution. Pdf995 is based on Ghostscript, and does not have this limitation. Using Pdf995 only makes sense if you want to (and can) print to a real printer. If you just want to capture your web page, you can use a tool like the free HTMLDoc (http://www.easysw.com/htmldoc/).
0
 

Author Comment

by:angelmist
ID: 10812234
i want to automatically save the asp file to pdf using the visual basic application. the pdf will be saved into a folder.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10812312
On a server or will this application run on a client machine?
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 19

Expert Comment

by:webwoman
ID: 10814592
What do you want the PDF to look like?

If you open the ASP on the server, with any text tool, you'll get the code. If you open it in a browser, using a full url, you should get the HTML result. If it's a dynamic page, you'll only get a STATIC version, a snapshot of what the browser shows.

Is that what you want?
0
 

Author Comment

by:angelmist
ID: 10819323
i want to save the static version of the asp page.. a snapshot from the browser shows.. how to do that?
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10819449
HTMLDoc (see link in my first comment) will do this for you. A commercial alternative is activePDF's WebGrabber (http://www.activepdf.com/en/Products/WebGrabber/Start.asp)
0
 

Author Comment

by:angelmist
ID: 10867038
i've solved this issue myself by using vb to write html tags to word doc and save it. then i open up the word doc n convert it to pdf by using distiller.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10867483
You never answered my question about client vs. server. If you are running this on the server, you cannot use Distiller.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10871578
Even though I think angelmist is using Acrobat in breach of the EULA (that's the only explanation I have for not answering my repeated questions regarding server vs. client), I don't have any reason to object to the closing of this question.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10907794
Closed, 50 points refunded.
modulo
Community Support Moderator
Experts Exchange
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Save Excel documents to PDF and RETAIN color 16 171
convert Photo To exact Size 10 96
pdf reading with FULL screen 2 73
Convert MS Word document to a PDF file 9 82
I. Introduction In a previous article (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_6537-PaperPort-Upgrade-How-to-download-and-install-updated-versions-of-PaperPort-11-and-12.html) (now deprecated), I discussed how to upgrad…
PaperPort 14.5 Patch 1 update is often not detected or downloaded automatically. This article provides direct download links to solve the problem for retail (non-bundled) versions of the Standard and Professional editions, as well as the Professiona…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
This video Micro Tutorial is the second in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles a…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question