471,071 Members | 1,006 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,071 software developers and data experts.

How to generate pdf from dynamically filled asp page

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
2 1742
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
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.

Similar topics

4 posts views Thread by Bruce W...1 | last post: by
4 posts views Thread by mohdowais | last post: by
1 post views Thread by spammy | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.