Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Using the ActiveX version with ASP |
Post Reply |
Author | |
Rowan
Moderator Group Joined: 10 Jan 09 Status: Offline Points: 398 |
Post Options
Thanks(0)
Posted: 09 Sep 09 at 1:44AM |
Download the latest version of Quick PDF Library from our website. You must place this file in a directory where IIS has been setup with execute permission. For example Windows\System32 and IIS must be setup to execute ActiveX controls. If you have any difficulty with this, feel free to contact us for help. You need to register the ActiveX library with Windows, using the following command: regsvr32 <path>\QuickPDFAX0715.dll A message should appear indicating that the library has been successfully registered. Type your first ASP script using Quick PDF Library: <% Dim QP Set QP = Server.CreateObject("QuickPDFAX0715.PDFLibrary") Call QP.UnlockKey("type your license key here") Call QP.DrawText(100, 500, "Hello World!") Call QP.SaveToFile(Server.MapPath("test.pdf")) Set QP = Nothing %> Let's look at each part of the program. The first two commands create the Quick PDF Library object: Dim QP Set QP = Server.CreateObject("QuickPDFAX0715.PDFLibrary") The next part unlocks the library. You must supply your license key to the UnlockKey function. If you have not purchased Quick PDF Library yet, the installer will contain a 30 day evaluation license key. Call QP.UnlockKey("type your license key here") Now the library is ready to use. We'll draw some text onto the page, and then save the PDF document to a file on disk: Call QP.DrawText(100, 500, "Hello World!") Call QP.SaveToFile(Server.MapPath("test.pdf")) Finally, we should release the object to free the memory that it used: Set QP = Nothing |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store