## htmltools - repeatable table headers during HTML to PDF Conversion

Hi,

We are using html2any to convert HTML documents into PDF. Recently we purchased htmltools and experiencing few issues. First and most important issue is repeatable table headers. We need to repeat table header on each page of PDF. It works fine at html2any at IE mode. But it doesn't work at all at WebKit mode. We are using next command line:

htmltools.exe -$XXXXXXXXXXXXX -margin 75x75x75x75 -width 612 -height 792 -webkit2 "d:\test_header.html" "d:\test_header.pdf" HTML contains: <style type="text/css"> table {font-family: Helvetica, Arial, Verdana; font-size: 24pt } @media print { thead {display: table-header-group;} } thead { display: table-header-group; } tfoot { display: table-row-group; } tr { page-break-inside: avoid; } </style> ... Column 1 Column 2 Column 3 ... It works fine at Chrome (open Print Preview) but not at htmltools. We can send a full html document if required. The second issue we have - Page Numbers at footer. We can't see any parameters related to this at documentation. We see only watermarks, but there is no page numbers. It there any way to print page numbers at footer? Footers & Headers works fine at html2any at IE mode. But we can't use it as this causing some other critical issues. Thanks. Customer ------------------------------------------------------- Hi, We attached archive which contains: 1. test_header.html - example of html 2. test_header.pdf - PDF produced by htmltools 3. command line.txt - command line which was used to generate PDF 4. chrome_print_preview.png - screenshot of print preview at Chrome Thanks. Customer ------------------------------------------------------- We finished a new version of htmltools.exe application to you, please download the new version from this URL, After you download it, you could run following command line to convert your HTML file to PDF file, htmltools.exe -$ XXXXXXXXXXXXX -footer-right "Page [page] of [toPage]" -margin 75x75x75x75 -width 612 -height 792 -webkit test-tableheader.html _out_test-tableheader.pdf

You could use '-footer-right "Page [page] of [toPage]"' option to add page numbers to PDF pages. You need also use -webkit to instead of -webkit2 option, -webkit does support "thead" repeat feature.

VeryPDF
-------------------------------------------------------
Thank you for your help. The new version resolved the issue.

Thanks.
Customer

VN:F [1.9.20_1166]
VN:F [1.9.20_1166]

## We are trying to convert scanned pdfs/images(tiff/jpgs) to searchable pdf files

We are trying to convert scanned pdfs/images(tiff/jpgs) to searchable pdfs. Please provide better option to run in the command prompt. I tried pdf2txtocrcmd trail version, but not able to o 100% OCR and some strings are not searchable.

PDF to Text OCR Converter Command Line,

Please find two images I am trying to convert to searchable pdfs.

I did two steps for the tif file,

1. Convert tiff to pdf

pdf2txtocr.exe -ocrmode 3 D:\Jhansi\pdf2txtocrcmd\test\testtif1.tif D:\pdf2txtocrcmd\test\out_testtif1_ocrmode3.pdf

2. Image pdf (output from the above step) to searchable PDF

pdf2txtocr.exe -ocr -ocrmode 1 -res 72 D:\pdf2txtocrcmd\test\out_testtif1_ocrmode3.pdf D:\pdf2txtocrcmd\test\ser_out_testtif1_ocrmode3.pdf

I followed similar process for jpeg file too.

Thanks,
Customer
--------------------------------------------------
Thanks for your sample files, we have researched your "testtif1.tif" file carefully, the OCR engine in pdf2txtocr.exe couldn't support this TIFF file very well.

However, the OCR engine in "VeryPDF OCR to Any Converter Command Line" works great for this TIFF file, you may download "VeryPDF OCR to Any Converter Command Line" from this web page to try,

after you download it, you could run following command line to convert testtif1.tif file to text file, Word and other documents,

This is original TIFF file before OCR,

This is the Word document after OCR,

This is the plaintext file after OCR,

This is the HTML file after OCR,

VeryPDF
--------------------------------------------------
Hi,

I am looking for PDF out put, you mentioned that ocr2any will produce .txt,.rtf and .html. Can we convert to searchable PDF.

Thanks,
Customer
--------------------------------------------------
Thanks for your message, -ocr option in ocr2any.exe does support searchable PDF creation, however, -ocr2 option in ocr2any.exe does not support searchable PDF creation yet, we will add searchable PDF creation function for -ocr2 option in the future releases of ocr2any.exe software, thanks for your patience.

VeryPDF

VN:F [1.9.20_1166]
VN:F [1.9.20_1166]

## How to convert from a Fillable PDF file with XFA data layer to a static PDF file? I want to flatten my fillable PDF file to static PDF file.

I am testing out PDFPrint Command Line for windows. I want to use command prompt to batch process pdf (xfa) print to pdf (non xfa).

It seems not possible or I should use another product?

My source document is editable pdf (xfa) that are huge in size. I need convert/print to flat pdf. The program need to be support batch processing pdf in command prompt

Which product (trial) do we need to make a complete solution?
We want to automate this conversion in batch mode for many pdf.

To add further, we also like to know if the command line solution can avoid install any pdf printer 'Windows Printer' into our server.

Customer
------------------------------------------------

Thanks for your message, if you wish convert from a pdf (xfa) to a static PDF file, we suggest you may download PDF to Vector Converter Command Line from our website to try, you could use PDF to Vector Converter Command Line to convert your PDF file to a new static PDF file, you may download the trial version of PDF to Vector Converter Command Line from this web page to try,

after you download it, you could run following command line to convert your PDF (XFA) file to static PDF file,

pdf2vec.exe -pdfmode 0 C:\in.pdf C:\out.pdf
pdf2vec.exe -pdfmode 1 C:\in.pdf C:\out.pdf

With PDF to Vector Converter Command Line, you needn't install a virtual printer into your system.

btw, we have another product which name is PDFToolbox Command Line, PDFToolbox Command Line does support -flattenform option, this option does able to convert from fillable PDF forms to static PDF file,

-flattenform     : convert fillable PDF forms to static PDF file.

http://www.verypdf.com/wordpress/201505/pdftoolbox-command-line-options-encrypt-pdf-files-cross-merge-pdf-files-overlay-stamp-and-watermark-pdf-files-41661.html

http://www.verypdf.com/wordpress/201312/pdf-form-filling-flattening-fill-and-flatten-pdf-forms-39968.html

http://www.verypdf.com/wordpress/201307/how-to-change-pdf-form-to-flatten-pdf-under-mac-system-37693.html

http://www.verypdf.com/dl.php?file=pdftoolbox_cmd_win.zip

Use following command line to fill the PDF file by FDF file,

pdftoolbox -$XXXXXXXXXXXXXXXXXX sample_fillform.pdf -fillform sample_fillform.fdf -outfile _fillform_withnewdata_out.pdf Use following command line to flatten a fillable PDF file to a static PDF file, pdftoolbox "sample_fillform.pdf" -outfile "_flattenform_out.pdf" -flattenform VeryPDF VN:F [1.9.20_1166] Rating: 9.0/10 (1 vote cast) VN:F [1.9.20_1166] Rating: 0 (from 0 votes) Posted in PDF Form Filler | | Leave a comment ## Pdf to Excel or CSV from Command Line Good morning, As we already have some of your products, is why we have though about your applications. We are checking your 2 apps to convert a PDF into an Excel or CSV file., we are interesting in getting one which can be execute via command line. Attaching the files for your ref. and then you can understand our question and then buy one or the other. The bat file to get the ocr2xls.xls file is: ocr2any.exe -ocrmode 3 -layout -outputformat 14 E:\pdf2xls\fran1.pdf E:\pdf2xls\fran3.xls As you can see the file ocr2xls.xls is totally different that the pdf layout or the one generated by VeryPDF to Excel. 1.- Could we get the file Original Pdf using pdf2excel.xls via command line? If not, 2.- Could we get the file Original Pdf using ocr2xls via command line? and if so, could you please help us to built the bat file and the carry out our test and buy the app base on the results? Customer ----------------------------------------- Thanks for your sample files, the "Original_Pdf_using_pdf2excel.xlsx" file looks fine. OCR to Any Converter Command Line does works for scanned PDF and Image files only. ocr2any.exe application does use OCR technology to recognize the text on PDF pages, because your PDF file has lots of text contents, so you shouldn't use ocr2any.exe application to recognize the text contents in this PDF file, the OCR is not necessary, because this PDF file was not created from scanner. I think VeryPDF PDF to Excel Converter GUI software should work fine to you, it will create the Excel file like "Original_Pdf_using_pdf2excel.xlsx", you could download and purchase VeryPDF PDF to Excel Converter GUI software from this web page, http://www.verypdf.com/pdf-to-excel/try-and-buy.html#buy We have also a VeryPDF PDF to Excel Converter Command Line software, which cost is USD$2500 per Developer License, you can buy it from our website directly,

After you buy it, please send to us your Order ID, we will send the PDF to Excel Converter Command Line software to you within two business days, with PDF to Excel Converter Command Line software, you will be able to get the Excel file like Original_Pdf_using_pdf2excel.xlsx in your ticket.

VeryPDF PDF to Excel Converter Command Line is the command line version for VeryPDF PDF to Excel Converter GUI software, so you will get same Excel documents from both software.

We have also an alternative solution, you may download VeryUtils PDF to Excel Converter Command Line from this web page,

https://veryutils.com/pdf-to-excel-converter-command-line

After you download it, you could run following command line to convert your PDF file to CSV file properly,

Please notice, the "VeryUtils PDF to Excel Converter Command Line" does support CSV output format only, if you wish to get the .xls format, you will need to use the VeryPDF PDF to Excel Converter Command Line software.

VeryPDF OCR to Any Converter Command Line: Convert scanned PDF and Image files to Excel and Text files.
VeryPDF PDF to Excel Converter GUI: A GUI software to convert from PDF files to Excel documents.
VeryPDF PDF to Excel Converter Command Line: It's a command line version of VeryPDF PDF to Excel Converter GUI software.
VeryUtils PDF to Excel Converter Command Line: It's a PDF to CSV Converter Command Line software.

You may download all of above products from our websites to try, you can choose the best one according to your requirements.

If you need a Command Line software, I think the "VeryPDF PDF to Excel Converter Command Line" and "VeryUtils PDF to Excel Converter Command Line" software will meet your requirements.

VeryPDF

VN:F [1.9.20_1166]
VN:F [1.9.20_1166]

We are currently looking for password protection software for PDF documents. Could you please direct me to the right person.

Customer
-------------------------------------------

Thanks for your message, you may purchase one of following products to encrypt and protect your PDF files.

VeryPDF Encrypt PDF Command Line,

VeryPDF PDF Toolbox Command Line for Windows,

VeryPDF PDF Security and Signature (Shell & COM & SDK),

You may look at their web pages for price information, if you will install the software to a server, you will need to purchase a server license, then end user license could not be installed to server environment, thanks for your understanding.

If you are look for a DRM solution for PDF protection, you may look at VeryPDF DRM Document Security & DRM Protection solution, you may test the online DRM protection App from this web page,

http://drm.verypdf.com/online/

VeryPDF

VN:F [1.9.20_1166]