Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 21st, 2007, 10:42 PM
Authorized User
Points: 136, Level: 2
Points: 136, Level: 2 Points: 136, Level: 2 Points: 136, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2006
Location: London Town, , United Kingdom.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default abcPDF 6 COM

Hi..

Has anyone here had experience with this COM component? I'm trying to create a data populate PDF form on the fly [simple enough] without saving it to disk and then streaming it to the browser [the problem I'm having]..

I've had a look thru their Help docs [http://www.websupergoo.com/helppdf6/default.html] but cannot find the code to write/render the PDF to the browser in memory.. Does anyone know how to do this?

Muito appreciado..


Hasta Luego..
KingRoon

DogFightClothing. No dogs. No fighting.
http://www.dogfightclothing.com
__________________
Hasta Luego..
KingRoon

DogFightClothing. No dogs. No fighting.
http://www.dogfightclothing.com
  #2 (permalink)  
Old April 22nd, 2008, 04:18 PM
Registered User
 
Join Date: Apr 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Set theDoc = Server.CreateObject("ABCpdf6.Doc")
'create pdf document here
theData = theDoc.GetData()
Response.ContentType = "application/pdf"
Response.AddHeader "content-length", UBound(theData) - LBound(theData) + 1
Response.AddHeader "content-disposition", "attachment; filename=file.PDF"
Response.BinaryWrite theData
  #3 (permalink)  
Old June 15th, 2008, 12:37 AM
oss oss is offline
Registered User
 
Join Date: Jun 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

try the html to pdf converter from winnovative software at http://www.winnovative-software.com . you can achive the conversion in a few line of code:

Code:
PdfConverter pdfConverter = new PdfConverter();
byte[] downloadBytes = pdfConverter.GetPdfFromUrlBytes(MyURL);






Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.