Click to See Complete Forum and Search --> : How to convert the webpage or submitted files into PDF then save automatically?


Sword
April 23rd, 2003, 12:13 PM
i try to create a web program to save the webpage itself into PDF file automatically.

i downloaded some software that can convert other files in PDF files, but i don't know how to build it in my program.

any one can give me a hand?

thank you very much in advance.

Satishpp
April 23rd, 2003, 01:03 PM
A few questions to reach a solution

1) is this web page generated dynamicaly (that is, using serverside script)

2) Can this PDF conversion software you have downloaded convert HTML files to PDF

3) Can this software be automated i.e. called/manipulated thru script

Satish

Sword
April 23rd, 2003, 01:36 PM
thank you very much for your kind help, Satish.

as to your concerns:
1) yes, i try to use ASP or PHP.

2) yes, but not sure.
for example, i tried "Win2PDF", then i need click the buttons when the printing window pops up. so, the program can't continue automatically. -- this returns to my last question which you already gave me the answer to.

3) not sure.
this is what i'm looking for. i guess there should have some software that can do this. but i hope i could find a free one.

again, thank you for your help.

Satishpp
April 23rd, 2003, 01:53 PM
Oh man.... now I am begining to understand your problem.

Correct me if I am wrong-

You are trying to print on the serverside itself and not at the client side.. so the browser is not involved at all.

The software you have downloaded is implemented as a printer driver and when you print to it, the file is saved as PDF.

So now we come to the basic problem/question. Why do you want to convert pages to PDF on the server?

Also, how are you printing to this software, causing the print dialog to come up?

Satish

Sword
April 23rd, 2003, 03:00 PM
you're absolutely correct.

the program that i try to build doesn't have to work at the server. i just want it to convert the other format file (such as ps, doc, html) into PDF file.
also, it needs go to a database to retrieve the data and put on the template file (such as replace one section), then convert it to PDF file.
this program will generate lots of PDF files (depends on the database), but it handles all the processes automatically.

pls help if you have any idea.
thank you!

Satishpp
April 23rd, 2003, 04:28 PM
OK, so if you dont HAVE to do this at the serverside, dont do it.

Use Visual basic instead. I am sort of running short on time and cant research on this, but you can find some useful info here

http://www.vbdiamond.com/Sources/ViewCategory.asp?cbCategory=124&CategoryName=PDF


Hope this helps

Satish

Sword
April 23rd, 2003, 04:37 PM
Thank you so much.

actually i'm thinking about building a simple VB program too.
now it seems i can use it directly.

again, thank you, and have a great day.