By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,659 Members | 1,611 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,659 IT Pros & Developers. It's quick & easy.

How to generate pdf from dynamically filled asp page

P: 8
I am using asp not asp.net

I have one asp page on which at least 45 values are filled by user and the table structure is of 8 columns and 10 rows…..

My task is to send it to database then generate pdf of that page and then email to admin.

After a lot of search I found help and successfully manage to complete my task. I am using persits.pdf for creating pdf and cdosys for sending mail…
All the values are saved in access database successfully and generated pdf is emailing very fine.
Now problem is occur here when I test pdf this line is written “A TEST FOR PDF GENERATION BY ME” and not my form values.

I think this txt comes from this line of code

Page.Canvas.DrawText "A TEST FOR PDF GENERATION BY ME", Params, Font

I also paste whole html of table in these quotes but not succeeded

I don’t know wht to do please help me :confused:
Jan 9 '12 #1
Share this Question
Share on Google+
2 Replies


P: 16
Send you Question to Persits-Support.
I'm sure they can help you.

but i beleive, you found your mistake by yourself. replace the drawText to the text you want.
Jan 9 '12 #2

P: 16
did you solve the problem?
did you use:

Page.Canvas.DrawText request.form, Params, Font
Jan 21 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.