Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: HTMl file conversion to PDf file


Message #1 by Sridhar Raj G <Sridharr@i...> on Tue, 9 Apr 2002 18:06:59 +0530
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1DFC3.3DD6AB20
Content-Type: text/plain;
	charset="windows-1252"

Hi.,
    Thanks in advance.,
    Can any one help me how a htm file can be converted into a pdf file, on
the fly in asp.net.
    Is it possible? if so How?
    Sample code snippets / resources will be of great help.
 
Regards
Sridhar G

Message #2 by "Aaron Chavez" <achavez382@w...> on Thu, 11 Apr 2002 00:41:31
Not what you requested, but I hope it helps.  Note that this only works 
where you have install capability on the machine, either on a server or in 
a little-net (intranet) client.

There is are two utilities that comes with Acrobat, one called the 
PDFWriter and one called Acrobat Distiller.  Both of these can be set up 
as printer drivers that you can direct output to, Distiller goes to 
PostScript first, the PDF Writer directly to PDF.  (I'm told you get 
better output from the Distiller).  

I do this from Access, to print a series of 66 reports in one swoop.  I'm 
short on details on automating the IE Application object, but you would 
need to set the printer to this driver, select the document/page you want 
to print, then do something equivalent to    ieApp.thePage.Print      

The page will then be routed to a file of your choice on the local drive.  
I could show you the process in VBScript, not sure it would help.  Caveat: 
there are grave warnings about licensing issues and servers in the EULA.
:::::::::::::::::::::::::::::::::::;

Hi.,
    Thanks in advance.,
    Can any one help me how a htm file can be converted into a pdf file, on
the fly in asp.net.
    Is it possible? if so How?
    Sample code snippets / resources will be of great help.
 
Regards
Sridhar G


  Return to Index