473,405 Members | 2,287 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,405 software developers and data experts.

Classic ASP:Generate PDF without using third party components

Hi,

I noticed that PHP have the ability to create PDF files without using any
third partty componentys. Most notably is via FPDF. It generates PDF by
using "pdf markups" / or ghostscripts

I believe the same can be done via ASP too. One has to use response.write
pdf headers.

Has anyone succeeded in doing that?

Please advise. Thanks

I have the intention to go thru PHP's FPDF and try to convert that to
VBScript.

Thanks.

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Feb 5 '07 #1
5 15989
Eric Layman wrote on 05 feb 2007 in
microsoft.public.inetserver.asp.general:
I noticed that PHP have the ability to create PDF files without using
any third partty componentys. Most notably is via FPDF. It generates
PDF by using "pdf markups" / or ghostscripts
Those not being "third party" or not being a "components"?
Over here we are not pdp-ers per se.
I believe the same can be done via ASP too. One has to use response.write
pdf headers.
I would not dream of thrashing your believes.

If you know the pdf structure definitions up to the byte or bit level,
you could construct a string that could be sent as a bitstream
under ASP using either Jscript or VBscript,
though it seems not very practical.

The same could be said for a .gif or even .jpg bitstream.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Feb 5 '07 #2

"Evertjan." <ex**************@interxnl.netwrote in message
news:Xn********************@194.109.133.242...
Eric Layman wrote on 05 feb 2007 in
microsoft.public.inetserver.asp.general:
>I noticed that PHP have the ability to create PDF files without using
any third partty componentys. Most notably is via FPDF. It generates
PDF by using "pdf markups" / or ghostscripts

Those not being "third party" or not being a "components"?
Over here we are not pdp-ers per se.
>I believe the same can be done via ASP too. One has to use response.write
pdf headers.

I would not dream of thrashing your believes.

If you know the pdf structure definitions up to the byte or bit level,
you could construct a string that could be sent as a bitstream
under ASP using either Jscript or VBscript,
though it seems not very practical.

The same could be said for a .gif or even .jpg bitstream.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Hi.

3rd party component as in, do not have to register DLLs..

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Feb 5 '07 #3
Eric wrote on Mon, 5 Feb 2007 09:35:45 -0800:
Hi,

I noticed that PHP have the ability to create PDF files without using any
third partty componentys. Most notably is via FPDF. It generates PDF by
using "pdf markups" / or ghostscripts

I believe the same can be done via ASP too. One has to use response.write
pdf headers.

Has anyone succeeded in doing that?

Please advise. Thanks

I have the intention to go thru PHP's FPDF and try to convert that to
VBScript.
Why bother converting it?

http://www.aspxnet.it/public/default.asp

(the English translation isn't working, but you can still download the code
easily enough)

Someone has already done the conversion to javascript, you can just include
it and use it from ASP as is :)

Dan
Feb 5 '07 #4

"Daniel Crichton" <ms****@worldofspack.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Eric wrote on Mon, 5 Feb 2007 09:35:45 -0800:
>Hi,

I noticed that PHP have the ability to create PDF files without using any
third partty componentys. Most notably is via FPDF. It generates PDF by
using "pdf markups" / or ghostscripts

I believe the same can be done via ASP too. One has to use response.write
pdf headers.

Has anyone succeeded in doing that?

Please advise. Thanks

I have the intention to go thru PHP's FPDF and try to convert that to
VBScript.

Why bother converting it?

http://www.aspxnet.it/public/default.asp

(the English translation isn't working, but you can still download the
code easily enough)

Someone has already done the conversion to javascript, you can just
include it and use it from ASP as is :)

Dan
Thanks!

Finally some soul has done it! Gone are the days of DLL registration! yea!

This is a gem!

He deserves a donation!


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Feb 5 '07 #5
Eric wrote on Mon, 5 Feb 2007 22:41:50 -0800:
Finally some soul has done it! Gone are the days of DLL registration! yea!
Hardly - a compiled DLL will be much much faster than ASP code. If you want
performance, go with COM/DLL. But as you don't have this option, you'll have
to settle with the ASP code version.

Dan
Feb 5 '07 #6

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

Similar topics

7
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) ...
3
by: RAW | last post by:
I am triyng to display the total of my records on my page using RecordCounter as I used to in asp thid sombody can give me an example asp using vb.net DIM mySqlStatment AS STRING =...
2
by: naveed1 | last post by:
direct print a doc file in asp without view
0
by: PROGRAMMINGMAESTO | last post by:
How to Fetch and Retrieve image in ASP using MS Access. -------------------------------------------------------------------------------- Hello Friends, Can Anybody guide about how should i...
0
by: sandeepk84 | last post by:
Hi all... I am facing a problem in getting attachments from Yahoo Classic using JavaMail. My program reads the attachments from gmail and Yahoo Beta. But attachments of type pdf or txt from...
11
by: S N | last post by:
how to print apostrophe character ' and double quote " in asp using vbscript. my code using response.write replaces " character with inverted question mark. please help
3
by: Prasad | last post by:
Hi all, I had to write a page in ASP which sends an email. I googled and was able to write the following code: <html> <body> <% Set Mail = Server.CreateObject("CDONTS.NewMail") Mail.To =...
5
by: Ryan Ritten | last post by:
Hey all, I am with godaddy for webhosting right now. The have me using IIS7. When I run my ASP page I get the error : Error 500 :There is a problem with the resource you are looking for, and...
1
by: sunraj | last post by:
With the Following Fields can Anybody Help me, How do I send email from ASP using SMTP Authentication <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...

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.