Results 1 to 3 of 3

Thread: Can you solve this ? I don't think so

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Location
    Guadalajara, Jalisco, Mex
    Posts
    105

    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

  2. #2
    New Member
    Join Date
    Oct 2003
    Posts
    5

    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

  3. #3
    Banned
    Join Date
    Jul 2003
    Location
    New delhi
    Posts
    143
    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
  •  



Click Here to Expand Forum to Full Width