Advanced PDF Tools

Set Metadata to PDF by PDF Tools

Hello again:
 
I want to create pdfs from multiple tiffs.
I would think from the documentation that this would work but it does not.
 
img2pdf.exe "-$" "XXXXXXXXX" -d HLd -u HLu -k "key-info" -o "j:\A2011-Carl-Project\pdf-out\SS714850-SS714851.pdf" "j:\A2011-Carl-Project\Tiff-in\001\SS714850.Tif j:\A2011-Carl-Project\Tiff-in\001\SS714851.Tif"
 
Also, with img2pdf.exe, can one create and poplulate custom metadata as in the toolkit?
 
Thanks.
=================================
Please run following command line to try again,
 
img2pdf.exe "-$" "XXXXXXXX" -d HLd -u HLu -k "key-info" -o "j:\A2011-Carl-Project\pdf-out\SS714850-SS714851.pdf" "j:\A2011-Carl-Project\Tiff-in\001\SS714850.Tif" "j:\A2011-Carl-Project\Tiff-in\001\SS714851.Tif"

>>Also, with img2pdf.exe, can one create and poplulate custom metadata
>>as in the toolkit?
 
img2pdf.exe can't poplulate custom metadata, however, you can use our Advanced PDF Tools Command Line product to poplulate custom metadata, Advanced PDF Tools Command Line product can be downloaded from following page,
 
http://www.verypdf.com/pdfinfoeditor/index.html

VeryPDF
===================================
Thank you - this worked.
I will try the custom properties in the tool kit which I have already.
 
Lets say I have two custom fields:
TO: with the value "Tom"
FROM: with the value "Dick"
 
Here is the syntax
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "key1=value1,key2=value2"    
 
So, should the last part of the command then read
 
....   -y "TO: = Tom, FROM:=Dick"
 
or
 
....   -y "TO:(Tom) /FROM:(Dick)"
 
Thanks.

==================================
You can use following command line to try,
 
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "TO: = Tom, FROM:=Dick"
 
the following command line will work fine for you too,
 
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "/TO:(Tom) /FROM:(Dick)"

VeryPDF
==================================
Thank you.
It works.
 
Also, I need to attach a document to a pdf file.
I cannot seem to find command to do this in pdftools.
 
pdftk has this:
attach_files < attachment filenames | PROMPT >[ to_page < page number | PROMPT > ]
===================================

Please refer to following web page for more information,
 
http://www.verypdf.com/pdfinfoeditor/attach-files-to-pdf.html
 
QUESTION: How to use PDF Attachment (attach files into PDF file) function in Advanced PDF Tools Command Line product?

ANSWER: Please refer to following steps,

1. Please download Advanced PDF Tools Command Line from following URL,

http://www.verypdf.com/pdfinfoeditor/advanced_pdf_tools_cmd.zip

2. Unzip .zip package to a folder, e.g., C:\pdftools folder,

3. Run following command line to attach files into your PDF files,

Attach various files to PDF files:

pdftools -S "attachfiles=C:\1.txt|C:\2.jpg|C:\3.pdf" -i C:\in.pdf -o C:\out.pdf
pdftools -S "attachfiles=C:\*.*" -i C:\in.pdf -o C:\out.pdf
pdftools -S "attachfiles=C:\filelist.lst" -i C:\in.pdf -o C:\out.pdf
pdftools -S collection=true -S "attachfiles=C:\filelist.lst" -i C:\in.pdf -oC:\out.pdf

4. OK.

You can purchase Advanced PDF Tools Command Line product from following page,

http://www.verypdf.com/pdfinfoeditor/index.html#dl

VeryPDF
=================================
I have simplified this by creating a batch file and putting all the files in the same folder.

pdftools.exe "-$" "XXXXXXXXXXXXXX" -S "attachfiles=test.csv" -i pdfin.pdf -o out.pdf

Does not work.
==================================
Please use full pat to try again, can you work fine with full path?

pdftools.exe "-$" "XXXXXXXXXXX" -S "attachfiles=C:\test.csv" -i pdfin.pdf -o out.pdf

OR

pdftools.exe "-$" "XXXXXXXXXXX" -S "attachfiles=C:\*.*" -i pdfin.pdf -o out.pdf

VeryPDF
=================================
Thank you. I thought I had downloaded the new version - somehow I mixed it up with the old. Anyway, the attachment script works

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

Fontselection in VeryPDF PCL Converter V2.0

To Whom It May Concern,

I have a question about your software, VeryPDF PCL Converter.  Is it possible, and if so, how do you select fonts in the Converter?

I plan to use your software, VeryPDF PCL Converter V2.0 for Batch (Command Line), to convert Print-Files that come from a non-MS Windows based multiuser-System.  With my software, I can make any PCL-file I want and then transfer it to any Windows environment.  This works well with normal PCL-Printers.  Now I also want to be able to create PDF-Files from these files as well.

My question is if there is a font-list of all possible fonts I can use in your converter and with which PCL-Command do I select the font? Are there fixed-size fonts available and/or only proportional fonts?

I thank you for your time and appreciate any help with my questions that you can give.

====================================
Our PCL Converter does select the fonts automatically during conversion, you can't select the fonts by manual. However, we have another product which allow you to replace the the fonts in PDF files, if you are interest in that product, please feel free to let us know.

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)
PDF Editor

Move PDF Editor to a new computer

VeryPDF Support Team,

I work for a Washington XXXXXX company.  We use your PDF editing program to edit building plans and contracts for our clients in Adobe PDF Reader.  Currently, we are in the process of upgrading some of our computer systems, and one of the computers we are upgrading contains the VeryPDF PDF Editor program.  I was wondering how to transfer this program to the new desktop without purchasing a new program.  We are not increasing the number of computers with the program, just changing the computer on which we would like to use the program.  As such, there should be no need to purchase another program.  Please let me know how I may transfer this program to the new computer and remove it from the old one.  I look forward to hearing from you.
================================
You can simple uninstall the product from old PC, install it to your new PC, register it by your original license key, then you can use it on your new PC 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)
DOC to Any Converter

Testing odt / docx to HTML conversion

Hello,

I’ve been testing doc2any.exe for DOCX and ODT conversion to HTML.

It worked well with single file testing but when I tried to use it with a lot of documents (250) I encountered these issues :
- A lot of winword.exe remaining processes
- Almost no file converted (the same files that were successfully converted while testing single files)
- I ran out of testing credits and could not try with parameters such as “delay” or “killoffice”.

The application I would like to plug doc2any to, processes several thousand emails a day and convert doc, rtf and pdf to HTML.

We would like to add ODT and DOCX conversion too.
We receive an average of 320 docx and 40 odt a day . These numbers are slowly rising.

What can you advise us for configuration ?
Can you send us another trial license so we can check if doc2any is the right application for us ?

Thanks in advance.
====================================
We haven't another trial license at the moment, please understand.

We suggest you may convert your documents to PDF files one by one, for example,

Doc2any.exe C:\001.doc C:\001.pdf
Doc2any.exe C:\002.doc C:\002.pdf
Doc2any.exe C:\003.doc C:\003.pdf

If you are convert your documents to PDF files one by one, then you can convert your documents to PDF files properly, please to try.

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)
OCR Products, PDF to Text Converter

Call PDF to Text OCR from Web or Windows Service

 I downloaded the trial version of PDF2TXT yesterday and attempted to extract the text from the attached PDF.  While I am aware that the trial version only extracts a limited number of actual pages per document, it seems that calling the cmd line interface from .NET is not working as far as extracting the text layer.  When I use the GUI based version, it seems to work fine.
 
 See attachments for source and output files.
 
 Below is the code from the .NET text app.  I’ve used the same process in the past with your Image2PDF OCR product and it works very well.  All we are trying to do is to extract the text from the PDF so we can then index for full text search.
 
 Is there anything in particular that we should be doing to get PDF2Text to generate via .NET?  Any specific parameters that we MUST send to the cmd line?
 
 I need to get successful runs from this right away, or move to another product. We’ve had good success in the past with your products and wish to continue using.
 
 Thanks for your assistance!
 
            inputPDFFilePath = @"C:\temp\indexRoot\test1.pdf";
            outputTextFilePath = string.Format(@"C:\temp\indexRoot\test_{0}_.txt",DateTime.Now.Ticks.ToString());
            // Start the child process.
            Process p = new Process();
            // Redirect the output stream of the child process.
 
            p.StartInfo.CreateNoWindow = true;
            p.StartInfo.UseShellExecute = false;
            p.StartInfo.ErrorDialog = true;
            p.StartInfo.RedirectStandardOutput = true;
            p.StartInfo.RedirectStandardError = true;
            p.StartInfo.RedirectStandardInput = true;
            p.StartInfo.FileName = @"C:\source\visioncore\source\SLS\PDFTextExtraction\pdf2txt.exe";
            //p.StartInfo.FileName =  "pdf2txt.exe";
            p.StartInfo.Arguments = string.Format("{0} {1} ", inputPDFFilePath, outputTextFilePath);
            bool retval = p.Start();
 
            return retval;
==================================

We recently purchased the PDF to Text OCR Converter Command Line product for use within a .NET Windows service.   The PDF2Text works fine in a development environment, however, when the service is installed PDF2Text does not seem to run.
 
Both environments are running WinXP Pro.  The non-dev environment is a VM.  This same VM successfully runs you Image 2 PDF product.
 
A bit of background on the service implementation:
 
The service creates a FileSystemWatcher that listens to a directory that then calls the method below.
 
As the .Arguments go, I've tried with and without "-$" "XXXXXXXXXXXXXXXX".
 
private bool extractText( string inputPDFFilePath, string outputTextFilePath)
{
             // Start the child process.
            Process p = new Process();
            // Redirect the output stream of the child process.
 
            p.StartInfo.CreateNoWindow = true;
            p.StartInfo.UseShellExecute = false;
            p.StartInfo.ErrorDialog = true;
            p.StartInfo.RedirectStandardOutput = true;
            p.StartInfo.RedirectStandardError = true;
            p.StartInfo.RedirectStandardInput = true;
            p.StartInfo.FileName = @"C:\source\visioncore\source\SLS\PDFTextExtraction\pdf2txt.exe";
            p.StartInfo.Arguments = string.Format("{0} {1} ", inputPDFFilePath, outputTextFilePath);
            bool retval = p.Start();
}
 
I also tried running pdf2txt.exe using commandline on the VM environment and it works fine.
 
Any suggestions would be greatly appreciated.
==========================================

We suggest you may run your C# code inside Administrator user account instead of default system account to try again, can you get it work when you run it in Administrator user account?

VeryPDF
=========================================
We've tried running this under both an admin acct and a local system account, but it still doesn't work.  What is odd is that I can see that pdf2txtocr.exe is running in Task Manager, but no text file is output UNTIL I stop the service.  Then, the text file is written as originally expected.
 
Any ideas?
=========================================
We suggest you may use following example to run it from an interactive user account to try again.
Run conversion inside an interactive user account from service or web applications,

Please by following solution to run document conversion inside an interactive user account,

1. We assume pdf2txtocr.exe and PDF files are exist in C:\test folder.
Please add "Everyone" user account to "C:\test" folder and sub-folders, give "Full Control" permission to "Everyone" user account,

2. Download CmdAsUser.exe from following page,

http://www.verydoc.com/exeshell.html

You can also download it from following URL directly,

http://www.verydoc.com/download/cmdasuser.zip

3. Run following command line to test CmdAsUser.exe application,

C:\test\CmdAsUser.exe Administrator . /p password /c "C:\test\pdf2txtocr.exe" C:\test\in.pdf C:\test\out.txt

OR

C:\test\CmdAsUser.exe Administrator . /p password /c "C:\test\pdf2txtocr.exe" C:\test\in.pdf C:\test\out.txt

If you can run above command line in Command Line Window correctly, please call above command line from PHP by shell_exec() function or other web applications, then you will get it work properly.

Please notice:
1. You need modify "Administrator" and "password" parameters to correct user name and password in above command line, CmdAsUser.exe will launch doc2pdf.exe from this special user account with administrator privilege.
2. You may encounter Error 1314 in some Windows systems when you switch between user accounts, this is caused by permission setting, please by following steps to solve this 1314 Error,

ERROR 1314:
~~~~~~~~~~~~~
1314 A required privilege is not held by the client. ERROR_PRIVILEGE_NOT_HELD
~~~~~~~~~~~~~

To resolve this issue:
1. Click Start, click Run, type "secpol.msc", and then press ENTER.
2. Double-click "Local Policies".
3. Double-click "User Rights Assignment".
4. Double-click "Replace a process level token".
5. Click "Add", and then double-click the "Everyone" group 6. Click "OK".
7. You may have to logout or even reboot to have this change take effect.

Please refer to following two screenshots to understand above steps,

http://www.verydoc.com/images/err1314-1.png
http://www.verydoc.com/images/err1314-2.png

Please look at following page for the details about ERROR 1314,

http://www.verydoc.com/exeshell.html

If you still have same problem, please create a remote desktop account on your test machine, after we logged into your test machine, we will research this problem for you asap.

VeryPDF
==============================
Thanks, I'll give it a try.

Sent from my iPhone.
==============================
I have another question regarding the Img2PDF product.  We currently use that in our application and have it running on a Win XP Pro VM. 
 
Is there an updated version that will run on Windows Server 2003/2008? 
 
We are currently set up with a SaaS implementation, however, we have client that will want a stand-alone version behind their firewall.  It's not likely our clients will want to maintain a VM with an antiquated OS, so future purchases of the OCR tool we use would need to operate in a server OS environment.
===============================
Our Img2PDF product does support Windows Server 2003/2008 system, if you encounter any problem on Windows Server 2003/2008 system, please feel free to let us know, we will assist you asap.

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)