473,394 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 1858
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

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

Similar topics

6
by: the wonderer | last post by:
This is an elementary question, but I've not been able to find the answer, so here goes: I am developing a site using php. I have the html header information in a file that I include in all the...
4
by: Bruce W...1 | last post by:
To dynamically change something on an ASP.NET web page a literal control (and others) can be used. But how can a non-visual element, like a page meta tag, be changed dynamically? Thanks for...
2
by: Wee Bubba | last post by:
the lower part of my page consists of a dataList along with other server controls and HTML markup. this is my data display section. the upper part of my page is a data entry section. what I want...
4
by: mohdowais | last post by:
Hi I am fairly new to ASP.NET and I am trying to migrate an existing ASP 3.0 application to asp.Net, and I seem to have hit a roadblock (maybe I just need more coffee). The current application is...
1
by: spammy | last post by:
Hi all, Im having difficulty serving synamically generated PDFs to clients via asp.net. Im using crystal reports to generate them. In my page load I have the following: private void...
4
by: jesper_lofgren | last post by:
Hi there, I have some webcontrols that i want to add dynamically on a page. I have stored the path / namespace in database (ex MyNameSpace.WebControls.Control1) to the class/webcontrol. Lets...
2
by: mosaic.com | last post by:
I don't know who to go with for this question, googling is not very helpful, if anyone has an idea i would appreciate it. The issue: I created a page that will be used as a template for HTML...
4
by: Ed Jay | last post by:
I generate a DHTML page (a medical report) with dynamically generated text based on user input (answers to questions). The page length changes dynamically. I desire that when the page is printed...
1
by: santosh singh | last post by:
Hi, I have one .aspx file which is generating whole page dynamically by taking all the HTML tags from SQL SERVER 2000 database . This .aspx is also containing one user control ( which contains two...
7
by: vunet.us | last post by:
How to generate pure XML page with ASP? This try gave me an error: XML Parsing Error: not well-formed Location: http://www.worldincatalog.com/manage/edit_item_xml.asp?itemid=15 Line Number 2,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.