questions for htmltools.exe and DocConverter COM products

Hi-

I tried installing doc2pdf as an exe, followed the steps documented in the readme file from this zip file 'doc2pdf_com_trial',

-First I downloaded pdfcamp_setup.exe from

http://www.verypdf.com/pdfcamp/pdfcamp_setup.exe and ran it.

-I clicked on 'install_as_exe.bat' to install the DocConverter COM.

-Tried on the command prompt

html2pdf.exe  "https://www.google.com/"  "C:\google.pdf" "papertype=0"

Got error message box HTMLToPDF.exe:0ActiveX component can't create object.

Please help,

Thanks,
=================================
Your problem seems caused by this step,

~~~~~~~~~~
-I clicked on 'install_as_exe.bat' to install the DocConverter COM.
~~~~~~~~~~

You need launch a CMD window by administrator right, change the current folder to the folder where 'install_as_exe.bat' exist, run 'install_as_exe.bat', then you can install DocConverter COM properly, 'install_as_exe.bat' can't be run properly without administrator right.

VeryPDF
===================================
Hi-

Thanks for your reply.

I clicked in 'install_as_exe.bat' because that's how I got it to work on my home XP machine (32-bit, IE is 6).

Regardless, I did re-run the batch file from command prompt (as administrator) on the Windows 2008.  I glanced through the commands and made sure all the files the batch file was trying to copy into my system directory were there.

Retried

html2pdf "http://www.google.com" "c:\tmp\test.pdf" "paperType=0"

Still got error message box HTMLToPDF.exe:0ActiveX component can't create object.

I wonder if it's the regsvr32 command trying to register pdfout.dll that isn't working.
Shouldn't the error that indicates ActiveX not being able to create object point to the browser?

I basically need this to work on a 64-bit Windows 2008 Server machine to work for our application.

Thanks for your help,
===================================
Hi there-

I retried the install with regsvr32 WITHOUT the -s, -s made it silent Taking the -s off, an error box showed up, it said it could not load the dll from the system32 folder.

So I tried a different approach, rather than copying everything to my system32 folder, I added the folder in which the installation was on to my PATH variable, and did

regsvr32 pdfout.dll

A message box indicated success in loading the library.

Retried

html2pdf "http://www.google.com" "c:\tmp\test.pdf" "paperType=0"

This time, there was no error message, however there was no pdf output either.

On my XP machine, I noted that everytime I ran this, it would pop up the same message twice, 'This is the trial version of DocCOnverter COM...blah blah'
Once immediately, and then a second time after the pdf was created.

On my windows 2008 machine, it did it twice too, except there was no pdf.
Tried adding html2pdf.exe and doc2pdf_service.exe to my firewall exceptions, no difference.

Please help!

Thanks,
===================================
Please by following steps to use html2pdf.exe on 64bit Windows Server 2003 or 2008 system,

1. Please download and install 64bit version of PDFcamp Printer from following URL,

http://www.verypdf.com/pdfcamp/pdfcamp-printer-x64.exe

2. After you installed PDFcamp Printer x64 version, please go to Printer&Fax folder, rename "PDFcamp Printer" printer name to "PDFcamp Printer Driver",

***** I guess your problem is appear at this step, you need rename the Printer Name first. *****

3. Please launch a CMD window with administrator right, change the current folder to the folder where "install_as_exe.bat" inside, "install_as_exe.bat" is included in DocConverter COM package, if you haven't download the DocConverter COM yet, you can download it from following URL,

http://www.toppdf.com/pdfcamp/doc2pdf_com_trial.zip

4. Run "install_as_exe.bat" in CMD window with administrator right, you will install the DocConverter COM correctly,

Please notice, if this step doesn't work, please copy "pdfout.dll" to C:\window\syswow64 folder, run following command line with administrator right to register it by manual,

"c:\windows\syswow64\regsvr32.exe" C:\window\syswow64\pdfout.dll

5. OK, you can run html2pdf.exe on your 64bit Windows Server 2008 R2 to convert documents to PDF files without any problem now,

If you still can't get it work, you may create a remote desktop account on your test machine, after we logged into your test machine, we will figure out a solution for you asap.

VeryPDF
===================================
Hi-

I actually got it to work by just installing the 64-bit version. I did not copy the dlls into my windows directory, just registered them in the install directory.

However, I noticed htmltools on your website.  I actually prefer that one, as the installation is the most minimal, (I only had to regsvr32 htmlshell.dll)  and appeared to work across all my test machines, with NO popup messages. (As my evaluation testing had to be done through a webserver, the alert boxes generated by html2pdf was problematic) . Htmltools however worked perfectly even for the evaluation/trial period.

How do I get htmltools to work with an authenticated web page?

I've been using

htmltools "url" "myfile.pdf"

Is there an argument I can use with htmltools to pass in the username and password?

ie

htmltooks "url" "myfile.pdf" -u"User" -p"password" or something like that?

Thanks for your help,
===================================
You can use "-postdata" parameter to set user name and password to htmltools.exe application, for example,

htmltools.exe -postdata "Username=YourUserName&Password=YourPassword" http://www.EXAMPLE.com C:\out.pdf

htmltools.exe -postdata "PHPSESSID=tmf0p2vdtqj734dk05o790eho4" http://www.EXAMPLE.com C:\out.pdf

We hoping "-postdata" parameter will helpful to you, please to try.

VeryPDF
===================================
Using the license key provided to us, I installed htmltools without problems on a Windows 2008 server running our apps (using the htmltools purchased).

We're now currently getting ready to migrate our applications to a different Windows server, will we be able to transfer the licence key to that new server? Meaning, after migration, htmltools can be uninstalled on the old server, so it'll still only be one server (the new server) using it. Will we be able to enter the license key on the new server? Our intention is only to use one server for htmltools.

Please advise,
===================================
Thanks for your message, you can simple uninstall the product from old system, install it to your new system, register it by your original license key, then you can use it on your new system properly.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in DocConverter COM, HTML Converter (htmltools) and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!