Discussion:
Classic ASP:Generate PDF without using third party components
(too old to reply)
Eric Layman
2007-02-05 17:35:45 UTC
Permalink
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
Evertjan.
2007-02-05 08:54:12 UTC
Permalink
Eric Layman wrote on 05 feb 2007 in
Post by Eric Layman
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.
Post by Eric Layman
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)
Eric Layman
2007-02-06 02:24:10 UTC
Permalink
Post by Evertjan.
Eric Layman wrote on 05 feb 2007 in
Post by Eric Layman
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.
Post by Eric Layman
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
Daniel Crichton
2007-02-05 13:31:58 UTC
Permalink
Post by Eric Layman
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
Eric Layman
2007-02-06 06:41:50 UTC
Permalink
Post by Daniel Crichton
Post by Eric Layman
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
Daniel Crichton
2007-02-05 16:41:01 UTC
Permalink
Post by Eric Layman
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

Loading...