DocConverter COM, HTML Converter (htmltools), PDFcamp Printer

Convert HTML files to PDF files

Hi,

I need to convert HTML files to PDF from a windows command line on a server without any user interaction.

Which verypdf product might be best for me?

Solution 1: DocConverter COM (HTML2PDF.exe) + PDFcamp Printer

or

Solution 2: VeryPDF HTML Converter Command Line (htmltools.exe)

Regards,

=======================================

Hi,

These products are all can convert HTML file to PDF file from command line.

>>Solution 1: DocConverter COM (HTML2PDF.exe) + PDFcamp Printer

The DocConverter COM (HTML2PDF.exe) + PDFcamp Printer solution will use virtual printer technology to convert HTML file to PDF file, it will 100% convert all contents from your HTML file to PDF file, it can support Javascript, Java Applet, SVG, Flash and iFrame codes during HTML to PDF conversion.

For example, you can run following command line to convert a HTML file which contains Javascript, Java Applet, SVG, Flash or iFrame codes to PDF file,

(You need wait more than 10000 millisecond before convert such HTML files)

"html2pdf.exe" "C:/javascript_test.htm" "C:/output.pdf" "EnableSupportApplet=yes,DelayTimeForPrintApplet=10000"

>>Solution 2: VeryPDF HTML Converter Command Line (htmltools.exe)

htmltools.exe does render the HTML file to PDF file directly, it is not depend on virtual printer, its speed it better, but it doesn't support Flash and ActiveX which embedded in your HTML page.

VeryPDF

@VeryPDF Blog

VeryPDF PCL Converter

This product was purchased by a company I support.  Currently we’re passing .PCL to it to produce a PDF.  Your product works beautifully.  Recently the client has requested include and image or logo in the document.  Do you have a recommended method for handling this? 

Any insight would be greatly appreciated.
=====================================
Hi, 

Thanks for your message, you can use PCL to PDF Converter to convert your PCL file to PDF file first, then you can use our PDF Stamp Command Line or PDF Stamp SDK to add the stamps or logos to the resultant PDF file, the PDF Stamp product can be downloaded from following web page,

https://www.verypdf.com/pdfstamp/index.htm#dl

VeryPDF
=======================================
Thank you for the information regarding the PDF Stamp Program.  I downloaded your DEMO and it worked perfectly.  However, the image that it stamps onto the PDF comes out VERY grainy.  If I open the image in paint, photoshop or fireworks it’s hi-res and looks great.  I’ve tried resizing the image and changing the file extension from .JPG to .PNG and to a .TIF.  My results are all the same…

I’m extremely interested in purchasing this product but want to make sure I can get a high clarity image to merge on the .PDF document.
=============================
Can you please email to us your sample image file in question? After we reproduced your problem in our system, we will figure out a solution to you shortly.

VeryPDF
=============================
Attached.

Thank you,
=============================
The resolution of this image is too low, you need use a high resolution JPEG file as stamp, for example, a high quality JPEG file at 300DPI or 600DPI, you can stamp this high quality JPEG file to PDF file perfectly.

VeryPDF

HTML Converter (htmltools)

Convert HTML to PDF from Local System Account

Hi

I'm having trouble running verypdf within a scheduled task on one of our servers.
It is server 2008r2 x64, the scheduled task (a powershell script) is running as local system which then executes htmltools.
Here's the error I get:

Thank you for choosing our product.
C:\verypdf\htmltools.exe -$ XXXXXXXXXXXXXXXXX -debug -noempty -height 840 -width 600 -emfheight 750 -nocenter -margin 25x100x25x60 -unicode http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=47 S:\Formate_PDFs\Tour_Itineraries\N47.pdf
Start the conversion...
http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=47 ==> S:\Formate_PDFs\Tour_Itineraries\N47.pdf
Convert HTML to other formats: "http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=47"=>"S:\Formate_PDFs\Tour_Itineraries\N47.pdf"
[OK] Create virtual 'htmlsdk.dll' file properly.
[OK] Register virtual 'htmlsdk.dll' file, return code = -2147024890.
[FAILED] Register 'htmlsdk.dll' file (memory).
[FAILED] DllEntryPoint in RegisterOcx.
[FAILED] Register 'htmlsdk.dll' file (disk).
Can't register 'htmlsdk.dll' file properly, please contact 'support@verypdf.com' to get assistance.
Try convert document continue (1)...
The number of converted files is 0.
Conversion time = 5210ms
http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=47 ==> S:\Formate_PDFs\Tour_Itineraries\N47.pdf, result=ERROR
TickCount = 5210ms(5.21s), Result = 0

Running the same scheduled task in a user accout works:

Thank you for choosing our product.
C:\verypdf\htmltools.exe -$ XXXXXXXXXXXXXXXXXX -debug -noempty -height 840 -width 600 -emfheight 750 -nocenter -margin 25x100x25x60 -unicode http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=42 S:\Formate_PDFs\Tour_Itineraries\N42.pdf
Start the conversion...
http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=42 ==> S:\Formate_PDFs\Tour_Itineraries\N42.pdf
Convert HTML to other formats: "http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=42"=>"S:\Formate_PDFs\Tour_Itineraries\N42.pdf"
[OK] Create virtual 'htmlsdk.dll' file properly.
[OK] Register virtual 'htmlsdk.dll' file, return code = 0.
[OK] Register 'htmlsdk.dll' file (memory).
Detecting proxy settings...
Looking up sh-armley-isa1.shearings-group.net
Connecting to site 192.168.201.146
Website found. Waiting for reply...
Start downloading from site: http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=42
Waiting for http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=42...
(5 items remaining) Downloading picture http://www.myweb.com/Images/Itinerary/oban_fishing_boats.jpg...
(5 items remaining) Downloading picture http://www.myweb.com/Images/Itinerary/oban_fishing_boats.jpg...
(4 items remaining) Downloading picture http://www.myweb.com/images/itinerary/loch_lomond_new.jpg...
(3 items remaining) Waiting for http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=42...
(3 items remaining) Downloading picture http://www.myweb.com/i/space.gif...
(2 items remaining) Downloading picture http://www.myweb.com/Images/Itinerary/loch_lomand_2.jpg...
(1 item remaining) Waiting for http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=42...
(1 item remaining) Downloading picture http://www.myweb.com/Images/Itinerary/clay06.jpg...
Done
Captured EMF/WMF succeeded
Capture Web page return code: 1.
Try convert document continue (1)...
The number of converted files is 1.
Creating 'S:\Formate_PDFs\Tour_Itineraries\N42.pdf' file (1).
Creating 'S:\Formate_PDFs\Tour_Itineraries\N42.pdf' file (2).
Split metafile by height.
RclBounds: [0,0,899,972]
Adjust page height for page 1: 1168 ==> 972
Ready to convert Metafile to PDF file.
Enter EMF to PDF Conversion function.
Exit EMF to PDF Conversion function.
Finished Metafile to PDF file conversion.
Exit the DOC to PDF conversion function.
Conversion time = 7129ms
http://www.myweb.com/Itineraries/PRINT_ItineraryViewer.aspx?id=42 ==> S:\Formate_PDFs\Tour_Itineraries\N42.pdf, result=OK
TickCount = 7129ms(7.13s), Result = 1

Is there any way to make this work for the local system account?

Many Thanks
===========================================
Hi,

"local system account" is not an interactive user account, it has some limitations, we suggest you may run the conversion inside Administrator user account to instead of "local system account", then you will get it work properly.

Thank you!
VeryPDF

DocPrint Pro, PDF to Vector Converter

PDF to EMF

Thanks for you help. That does work, however I need to save it in EMF format and Adobe won't let me do that. I have figured out how to add the text in PDF editor, but it is very time consuming so I was hoping there was an easier way to get it to show up.

=========================================

Thanks for your message, you can download and install docPrint Pro v5.0 from following web page,

https://www.verypdf.com/artprint/index.html

After you installed it, you can open your PDF file in Adobe Acrobat product, print it to docPrint Printer, you will see your document in docPrint Preview Window, then you can click “Save As” button to save to EMF formats easily.

also, if you wish batch convert your PDF files to EMF files, you can download PDF to Vector Converter from following web page to try, PDF to Vector Converter can batch convert your PDF files to EMF files, it is work better than printing functin in Adobe Acrobat product,

http://www.verydoc.com/pdf-to-vector.html

VeryPDF