< Back to support page
easyPDF
4.3 FAQs
Error Messages
- Error message: AddPrinterDriverEx:The
specified module could not be found.(126)
- Error message: AddPortEx:
The RPC server is unavailable. (1722)
This is followed
by “Port was not created.”
- Error message: Failed!
PrintOut: Conversion failed
Conversion Result: Unable to open host application
- Error message: Access
is denied” error at line : oLoader = Server.CreateObject("easyPdfSdk.Loader")
Setup and Installation
- Inserting License Key
- Moving my application to a different
machine
- Using BCL Loader Service
in Java environment
Features
- Trial Limitations
- When converting HTML to PDF,
the background color is not converted
- Controlling page breaks
- Applying digital
signature after merging
Error Messages
Q1. During the easyPDF SDK installation, I keep
getting the following error message:
AddPrinterDriverEx:The specified module
could not be found.(126)
A. This error usually happens to some
Windows XP machine. Before installing easyPDF SDK, you need to
do these steps:
- In Windows taskbar, Go to Start > Settings > Control
Panel
- In the Control Panel, double click
on the "System" icon
- Click on the "Advanced" Tab
- Click on the "Environment Variables.." button
- In the "System Variables" window
(the one on the bottom), scroll down to locate "Path" variable.
Select that variable and click on the "Edit" button
- In the "Variable Value" field,
check to see that the following is listed somewhere in that string
of values:
%SystemRoot%\System32\Wbem,
for example: C:\WINNT\System32\Wbem
- If it's not, then please add it to
the end (Don't forget to add a semi-colon
to separate each variable). For example:
Variable Value: ...<Other
values. Be careful not to delete anything!>... ; %SystemRoot%\System32\Wbem
- Restart your computer (Very
important!), then try to install easyPDF SDK again.
Q2. I’m getting an error message when installing
easyPDF SDK: AddPortEx: The RPC server is
unavailable. (1722) This is followed by “Port
was not created.”
A. This error happens when the print
spooler service is turned off on your computer. Please go to Administrative
Tools > Service, make sure Print Spooler service is running.
Q3.easyPDF SDK gives error message:
Failed! PrintOut: Conversion failed
Conversion Result: Unable to open host application
A. There are several situations:
- easyPDF SDK gives this error in a
Windows application.
Please check if the host application is installed. For Example:
MS Office is required to convert MS Office files to PDF.
- It’s a web application
- If it was running, and suddenly
throws out this error: Please restart BCL Loader Service.
- If this error happened for the first
time: this usually is a configuration problem. easyPDF SDK
requires some setups if you use it in server environment. Please
go to the User
Manual->Preparing Your Server for more information.
Q4. I am working on an ASP .NET application, and
have done the server side configurations following the instructions
in the user manual. Now I get “Access
is denied” error at line : oLoader = Server.CreateObject("easyPdfSdk.Loader")
A. This is a permission issue. Please
go to Control Panel > Administrative Tools > Component Services,
click on the Configure My Computer button on the toolbar, click
COM Security tab, click on Edit Default button in Launch and Activation
Permissions. Please add ASP .NET, Internet Guest Account, Network
Service, Administrators account to the group.
Setup and Installation
Q1.How do I insert the License Key for
easyPDF SDK? I don’t see any prompt during the installation.
A.You need to insert the license key in
the code of the project you are working on.
For example: oPrintJob.LicenseKey = “###########”
There are 3 objects that have LicenseKey
property. For more information, please go to User
Manual->Getting Started->License Key.
Q2. I have created an application successfully
using easyPDF SDK. Now I wish to more this application to a different
machine. Do I have to install easyPDF SDK on the other
machine as well?
A. Yes, you need to run a full installation
of easyPDF SDK on the other machine.
Q3. How do I get IPrinter(Printer Interface) when
I use the BCL Loader Service in Java?
A. The object returned by ILoader.GetPrinter
is a type of JCOMObject, you need to use the static method _ezjcomCoerceObject(JCOMObject
obj) to convert it to IPrinter object.
Loader loaderObj = new Loader();
ILoader iloaderObj = loaderObj.getILoader();
IPrinter iprinterObj = IPrinter._ezjcomCoerceObject(iloaderObj.getPrinter());
Features
Q1. Does easyPDF SDK Free Trial has
any feature limitations?
A. easyPDF SDK Free Trial has all the
features the Full version has. The only limitation is that it will
expire in 30 days after the installation. Furthermore, a banner
will be placed on the bottom of each PDF page if you use free trial
to do the conversion.
Q2. When convert HTML to PDF using easyPDF SDK,
the background color was not converted in the
PDF file. How to fix it?
A. This is because the IE Background
printing setting was not enabled. You can either manual change
the print setting in IE options, or, programmatically control the
background setting. There is a PrintBGColor
property of IEPrintJob, please set it to true. Please don’t
forget to call PrintJob.SaveSetting.
Q3: Can I control
page breaks when converting html to PDF using
easyPDF SDK?
A:
Yes, you can set page break style in HTML. Please visit Microsoft
knowledge base for the instruction.
If this link doesn’t bring you the information, please search
the keywords: “page break”.
Q4. How do I apply the digital
signature after the PDF files are merged?
A. The same as the way you
convert a file to PDF. Please use PDFSetting
object to set the
DigitalSignature properties, and pass the PDF file to PrintJob
to print it to PDF again.
|