473,408 Members | 1,747 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,408 software developers and data experts.

converting txt to pdf

A site I am building will have a text link which will bring up this page in
a new browser:
http://www.crgm06.com/aval.txt

It's a list of available loads (for a company that finds trucks and drivers
for loads to be delivered). It gets updated constantly, I think every
fifteen minutes or so. The site I am building is going to have a link which
will bring up the aforementioned txt page, but I am being asked to convert
it to PDF before displaying it.

The page above is not on the same domain or even the same company as the
site I am building. It's being fed from a Unix database, but I will have no
access to that db. My site is going to be classic ASP on Windows 20000 or
2003 servers. I will have access to either Access or SQL Server db if I need
them. However, I have no reason to think I will need a db for any other
parts of the site.

I don't think this part that I am asking about will ned a db either, but am
trying to provide all the info in my post that I can.

My question is, is there a way to take some data in a text file, and convert
it to PDF on the fly and displaying that for the user?

I went to http://www.aspfaq.com/show.asp?id=2207 but didn't see that any of
the applications/components there would help any.
Jul 19 '05 #1
3 1234
Hopefully these will give you some ideas:

Using Microsoft's XMLHTTP Object to Get Data From Other Web Pages by
Richard Lowe - 11/1/2000
http://www.4guysfromrolla.com/webtech/110100-1.shtml
"Retrieve data from other web sites."

How do I read the contents of a remote web page? - 5/2/2001
http://www.aspfaq.com/faq/faqShow.asp?fid=119

How do I generate PDF files from ASP? - 11/1/2001
http://www.aspfaq.com/show.asp?id=2207

Best regards,
J. Paul Schmidt, Freelance ASP Web Designer
http://www.Bullschmidt.com
ASP Designer Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #2
I had already been through the 2207 article, but I think the other two will
be helpful. Thanks very much.
"Bullschmidt" <pa**@bullschmidt.com-nospam> wrote in message
news:uM**************@TK2MSFTNGP11.phx.gbl...
Hopefully these will give you some ideas:

Using Microsoft's XMLHTTP Object to Get Data From Other Web Pages by
Richard Lowe - 11/1/2000
http://www.4guysfromrolla.com/webtech/110100-1.shtml
"Retrieve data from other web sites."

How do I read the contents of a remote web page? - 5/2/2001
http://www.aspfaq.com/faq/faqShow.asp?fid=119

How do I generate PDF files from ASP? - 11/1/2001
http://www.aspfaq.com/show.asp?id=2207

Best regards,
J. Paul Schmidt, Freelance ASP Web Designer
http://www.Bullschmidt.com
ASP Designer Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #3
>he site I am building is going to have a link which
will bring up the aforementioned txt page, but I am being asked to convert
it to PDF before displaying it.


I've written ASP to output PDF without the use of third party libraries.
Unfortunately I'm not free to post the vbscript class. About the only thing I
can provide is some Python that does a hello world type thing at:

http://www.angelfire.com/tx4/cus/notes/pypdf.html

Unless you want to get serious about figuring out the pdf format, I'd probably
suggest using a third party library.
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: mustafa | last post by:
Dear sir , I have built my application in visual basic 6.0 and crystal Report8.5 , Now i migrated my application to VB.net using the upgrade wizard.My visual basic form is upgraded to vb.net...
29
by: Armand Karlsen | last post by:
I have a website ( http://www.zen62775.zen.co.uk ) that I made HTML 4.01 Transitional and CSS compliant, and I'm thinking of converting it into XHTML to learn a little about it. Which XHTML variant...
8
by: prabha | last post by:
Hello Everybody, I have to conert the word doc to multiple html files,according to the templates in the word doc. I had converted the word to xml.Also through Exsl ,had finished the multiple...
5
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant...
3
by: Mary | last post by:
Hi, Does anyone know of any software out there that would convert an application written in VBScript to either VB.NET or C#/C++ quite quickly for me, or will I have to re-write the application...
2
by: Map Reader | last post by:
Greetings, I am converting an old VB6 application to use .NET. One of the old controls loads icons from the disk and displays them. However, the transparent color turns to blue somewhere in the...
12
by: Frederik Vanderhaeghe | last post by:
Hi, I have a problem converting text to a double. Why doesn't the code work: If Not (txtdocbedrag.Text = "") Then Select Case ddlBedrag.SelectedIndex Case 0 Case 1
7
by: Tor Aadnevik | last post by:
Hi, I have a problem converting values from Single to double. eg. When the Single value 12.19 is converted to double, the result is 12.1899995803833. Anyone know how to avoid this? Regards...
4
by: gg9h0st | last post by:
i'm a newbie studying php. i was into array part on tutorial and it says i'll get an array having keys that from member variable's name by converting an object to array. i guessed "i can...
2
by: shenanwei | last post by:
DB2 V8.2 on AIX, type II index is created. I see this from deadlock event monitor. 5) Deadlocked Connection ... Participant no.: 2 Lock wait start time: 09/18/2006 23:04:09.911774 .........
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.