|
Under most circumstances you will want to install ABCpdf using
the standard installer and register it using the PDFSettings control
panel.
Occasionally you may wish to install ABCpdf manually. To do this
you will need the files listed below. We suggest that all DLLs are
installed in the System32 directory.
| File Name |
Notes |
| ABCpdf6.dll |
The core DLL used by ASP.
Because the DLL is a COM component it needs to be registered
using regsvr32 or equivalent. It can also be registered using
MTS or Component Services.
|
| gdiplus.dll |
The Microsoft GDI+ DLL.
GDI+ is required for use of the Image object. On many systems
GDI+ is already installed but if it is not then ABCpdf looks
for a copy in a folder called abcpdf6 relative to the location
of the ABCpdf6.dll file. The standard installation locations
are:
C:\winnt\system32\ABCpdf6.dll
C:\winnt\system32\abcpdf6\gdiplus.dll
If the GDI+ DLL is not installed then the Image object will
not function.
|
To enter a license key create a simple Visual Basic Application
containing the following code.You will need write access to the
registry to install a license key.
Private Declare Function NSettings_get_License Lib "ABCpdf6.dll"
_
Alias "_NSettings_get_License@0" () As String
Private Declare Sub NSettings_put_License Lib "ABCpdf6.dll"
_
Alias "_NSettings_put_License@4" (ByVal inVal As String)
txt = "change this text to your key"
txt = StrConv(txt, vbUnicode)
NSettings_put_License (txt)
txt = NSettings_get_License()
txt = StrConv(txt, vbFromUnicode)
MsgBox "New License: " & txt
Alternatively you may wish to install a license from within your
Doc object. You do not require write access to the registry when
using this method but the license which is installed is only temporary.
It is available until the process unloads.
You can use a full license key as provided to you when you purchase
or you can use a trial license key copied from the PDFSettings application.
To insert your license use the SetInfo method immediately after
creating a Doc object.
Set theDoc = Server.CreateObject("ABCpdf6.Doc")
' here we use a trial license key as copied from the PDFSettings
application
theDoc.SetInfo 0, "License", "cd9b5c07db69df2bf57c0a04d9bca58b10c44889c9fb197984e592f49addfce5ec5fe85d7b9205bc"
Response.Write theDoc.GetInfo(0, "License")
|