|
-
Oct 14th, 2003, 05:19 PM
#1
Thread Starter
Lively Member
Can you solve this ? I don't think so
Hey !! Can anyone tell me how to create a PDF file
from VB or ASP, **** WITH THE ACROBAT SDK (NO THIRD PARTY CONTROLS) ****
I need to conver a HTML page to a PDF file and send it to the user.
Thanks for your time
-
Oct 15th, 2003, 04:41 AM
#2
New Member
No prob at all!
Yep, it´s hard to create the PDF with the SDK but possible.
Easier solution: Use the Acrobat-Pdf-Writer (the printer).
In the calling App do this:
SetStringValue "HKEY_CURRENT_USER\SOFTWARE\ADOBE\ACROBAT PDFWRITER", "res", "3"
'Acrobat nach Druck nicht aufrufen
SetStringValue "HKEY_CURRENT_USER\SOFTWARE\ADOBE\ACROBAT PDFWRITER", "bExecViewer", "0"
'der Registry-Eintrag des PDF-Namens wird sofort nach dem drucken gelöscht
SetStringValue "HKEY_CURRENT_USER\SOFTWARE\ADOBE\ACROBAT PDFWRITER", "PDFFileName", strPDF
and then (I used the ImgEdit, you can use the IE-dll):
ImgEdit2.PrintImage 1, , 2, False, "Acrobat PDFWriter", "Acrobat PDFWriter", strPort
works perfectly
Andreas
-
Oct 16th, 2003, 11:49 AM
#3
Banned
hey athaler
its a good answer .its work fine.but may be vary in win nt and 2000 system
Biswajit
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|