Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Classic ASP:Generate PDF without using third party components

91 views
Skip to first unread message

Eric Layman

unread,
Feb 5, 2007, 12:35:45 PM2/5/07
to
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.

unread,
Feb 5, 2007, 3:54:12 AM2/5/07
to
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)

Eric Layman

unread,
Feb 5, 2007, 9:24:10 PM2/5/07
to

"Evertjan." <exjxw.ha...@interxnl.net> wrote in message
news:Xns98CE64BD...@194.109.133.242...

Hi.

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

Daniel Crichton

unread,
Feb 5, 2007, 8:31:58 AM2/5/07
to
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


Eric Layman

unread,
Feb 6, 2007, 1:41:50 AM2/6/07
to

"Daniel Crichton" <msn...@worldofspack.com> wrote in message
news:%23DQAEoS...@TK2MSFTNGP04.phx.gbl...

Thanks!

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

This is a gem!

He deserves a donation!

Daniel Crichton

unread,
Feb 5, 2007, 11:41:01 AM2/5/07
to
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


0 new messages