advanced pdf tools, pdf toolbox command line

I want to manage PDF attachments on Command Line CLI interface

Dear VeryDoc,

I want to manage pdf attachments on CLI interface. I tried demo, and work correct.

Which product to buy, that i use pdftools.exe?

Best regards.
Customer
----------------------------------

image
Thanks for your message, you may purchase Advanced PDF Tools Command Line software from this web page,

https://www.verypdf.com/app/advanced-pdf-tools/try-and-buy.html#buy-cmd

Advanced PDF Tools Command Line is the pdftools.exe application, you can run it from Command Line window to manage attachments in PDF files easily.

for example,

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

You can also use VeryPDF PDF Toolbox Command Line for Windows software to attach and deattach attachments to/from a PDF file, you may download the trial version of VeryPDF PDF Toolbox Command Line from this web page to try,

https://www.verypdf.com/app/pdftoolbox/try-and-buy.html#buy

-attachfile: pack arbitrary files into a PDF using PDF's file attachment features.
-detachfile: copy all the attachments from the input PDF into the current folder or to an output directory given after output.

VeryPDF

See Also:

Detecting attachments in a PDF file from C#,
https://www.verypdf.com/wordpress/201309/detecting-attachments-in-a-pdf-file-from-c-38677.html

Attach any file to your existing PDF document,
https://www.verypdf.com/pdfinfoeditor/attach-files-to-pdf.html

PDF Attachment Remover,
https://www.verypdf.com/app/pdftoolbox/pdf-attachment-remover.html

Batch Extracting and removing attachments from pdf,
https://www.verypdf.com/wordpress/201707/batch-extracting-and-removing-attachments-from-pdf-43518.html

PDF File Detacher Command Line,
https://www.verypdf.com/app/pdftoolbox/pdf-file-detacher-command-line.html

https://www.verypdf.com/wordpress/?s=detachfile

PDFToolbox Command Line Options, Encrypt PDF files, Cross Merge PDF files, Overlay, Stamp and Watermark PDF files,
https://www.verypdf.com/wordpress/201505/pdftoolbox-command-line-options-encrypt-pdf-files-cross-merge-pdf-files-overlay-stamp-and-watermark-pdf-files-41661.html

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 to text converter

How to convert from PDF files to text files from my C# application?

Hello. We have purchased the PDF2TXT COM server version and I have tried to integrate into a website that has a C# backend but none of the .dlls can be used. They throw different errors when I try to add them as references in the project. I also tried to apply what the readme file says about registering the the libraries in Windows, without any luck, getting errors again. I used Visual Studio 2017, tried on both Windows 10 and Windows server 2012 R2.

How do we proceed to make the tool work in our application?

Thank you for your time.
Customer
------------------------------------

image
Thanks for your message, please download latest version of PDF2TXT SDK from following URL,

https://www.verypdf.com/app/pdf-to-txt-converter/index.html
https://www.verypdf.com/pdf2txt/sdk/pdf2txt_trial_version.zip

this version does include a PDF2TXTCOM.exe file, please by following steps to use this PDF2TXT COM from your both 32bit and 64bit applications,

1. Please use administrator privilege to run following command line to register PDF2TXTCOM.exe into your system first,

PDF2TXTCOM.exe /regserver

2. You can run following VBS (VB Script) to call PDF2TXTCOM.exe from your 64bit application,

=============================
Dim oTest
dim nRet

Set fso = CreateObject("Scripting.FileSystemObject")
strFolder = fso.GetParentFolderName(wscript.ScriptFullName)
destiantionPath = strFolder& "\verypdf.pdf"

Set oTest = CreateObject("PDF2TXTCOM.PDF2TXT")
oTest.com_SetTXTFormat 1
oTest.com_SetZoomRatio 90
oTest.com_PDF2TXTSetLicenseCode("XXXXXXXXXXXXXXXXXXXXXX")
nRet = oTest.com_Pdf2Txt(strFolder& "\sample1.pdf", strFolder& "\sample1-pdf2txt.txt")
nRet = oTest.com_Pdf2TxtEx(strFolder& "\sample1.pdf", strFolder& "\sample1-pdf2txtEx.txt",0,0,"","")
MsgBox "Convert Success!"
=============================

3. If you wish integrate "PDF2TXTCOM.PDF2TXT" into your C# project, you may add add a reference to "PDF2TXTCOM" from your C# project, then you can use following sample C# code to call "PDF2TXTCOM.PDF2TXT" to convert from PDF files to text files,

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PDF2TXTCOM;
using System.IO;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string appPath = Path.GetDirectoryName(Application.ExecutablePath);
            string strPDFFile = appPath + "\\sample1.pdf";
            string strOutFile = appPath + "\\_sample1.txt";

            System.Type VeryPDFType = System.Type.GetTypeFromProgID
                           ("PDF2TXTCOM.PDF2TXT");
            PDF2TXTCOM.PDF2TXT VeryPDFCom = (PDF2TXTCOM.PDF2TXT)
                           System.Activator.CreateInstance(VeryPDFType);
            VeryPDFCom.com_PDF2TXTSetLicenseCode
                           ("XXXXXXXXXXXXXXXXXXXXXX");
            int nReturn = VeryPDFCom.com_PDF2TXTEx(strPDFFile, strOutFile, 0, 0, "", "");
            MessageBox.Show("Converter finished.");
        }
    }
}

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 to text converter, pdf to text ocr command line

PDF2TXT converts PDF documents into the editable plain text files

We own the txt2pdf application does that also grant us access to the pdf2txt version or is that a separate license?

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

image
Thanks for your message, txt2pdf and pdf2txt are two different products, you need purchase them separately. If you wish to use pdf2txt software, you may purchase it from this web page,

https://www.verypdf.com/app/pdf-to-txt-converter/try-and-buy.html#buy-cvt

VeryPDF

PDF2TXT converts PDF documents into the editable plain text files. PDF2TXT provides batch converting of Adobe Acrobat PDF files to UTF8 plain text files. PDF2TXT is easy to use, it supports GUI, Command Line and API using methods.

VeryPDF PDFtoText utility, which converts PDF files into UTF-8 plain text files. It does this via a command line interface, making it suitable for use in batch files, programs, and scripts — any place where a command line call can be made.

PDF2TXT can automatically apply correct character decoding and produce Unicode output.

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 cloud api

How to rotate some pages of the PDF file 90 degrees to create a jpg file?

Hello,

I made a payment using the link you provided a few days ago.
After payment, I received an email as shown below.
I get an error when I click the key link. (Refer to the attached file)

How do I use the key attached to the email?

Also, there is one more inquiry on how to use it.

We have to rotate some pages of the PDF file 90 degrees to create a jpg.

Should I do this separately, as shown below?

How can I work at once?

$returned_content = get_data('http://online.verypdf.com/api/?
apikey=XXXX-XXXX-XXXX-XXXX&app=pdftoolbox
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=out.pdf&cat=1-2');

$returned_content2 = get_data('http://online.verypdf.com/api/?
apikey=XXXX-XXXX-XXXX-XXXX&app=pdftools
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=out.jpg&-r=150&-rotate=-90');

Customer
-------------------------------
Thanks for your message, your PHP code is not problem, I tried following URLs, they worked fine,

http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX
&app=pdftoolbox
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=out.pdf&cat=1-2

http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX
&app=pdftools
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=out.jpg&-r=150&-rotate=-90

You can use get_data() PHP function to call above URLs from your PHP source code, for example,

<?php
//The Code
/* gets the data from a URL */
function get_data($url)
{
    $ch = curl_init();
    $timeout = 5;
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $data = curl_exec($ch);
    curl_close($ch);
    return $data;
}

//The Usage
$returned_content = get_data('http://online.verypdf.com/api/?
apikey=XXXX-XXXX-XXXX-XXXX&app=pdftoolbox
&infile=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf
&outfile=out.pdf&cat=1-2');
echo $returned_content;
?>

If you encounter any problem with this PHP code, please send to us the detailed error message, we will check the error message and come back to 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)
docprint pro

How to monitor the windows printing queue, capture all print jobs, add signature or company logo, save to PDF files and print them continue?

Hello VeryPDF team,

I am not sure if this is the right address to send an inquiry. If not, please redirect the inquiry to the right team in your company, or let me know the email of that team.

I would like to know if with your current products or a developed plug-in/add-on, it would be possible to do the following:

* We have a windows program that, for each truck that enters in our factory, takes care of capturing all the information associated with the track weight and products it carries
* After the program has all the information, it creates an invoice and send a copy to a windows queue printer, and is printed in paper, 2 copies
* The truck driver signs the 2 copies, and he/she takes one with him/her and the other copy is kept at the factory

We would like to change our process so, instead of the truck driver signing the 2 paper copies, he/she signs in a signature pad (like a Wacom or equivalent device).

We could change our windows program to include the functionality to use a signature pad, but it is an old program that is not easy to change.

So perhaps an alternative could be the following:

* We install a new computer with a program that monitors the windows printing queue
* Each time it finds a new job in the queue, it will show the document in the computer screen, and will activate the signature pad
* The driver will sign the document and the program:
* Will create a new document that merges/combines the original document plus the signature
* Prints one copy for the driver
* Creates a PDF version of the new merged/combined document that also would include a digital signature using the digital certificate of our company, and stores the document in a file server on in an sql server (as a BLOB), with a given name/key
* Once all the previous task are done, the program will return to an idle screen where it will keep monitoring the queue for a new job to arrive and repeat the above steps

So the final question is if any of your current products will be able to do this, or if your company or any of your partners would be able to develop this functionality for us.

Thanks in advance for your support,
Customer
---------------------------------------------
Thanks for your message, I think VeryPDF docPrint Pro Virtual Printer + HookPrinter Layer may useful to you, please look at following web page for more information about this solution,

https://www.verypdf.com/wordpress/201908/how-to-hook-the-printed-data-from-windows-printer-and-add-our-company-logo-as-watermark-to-printout-44771.html

VeryPDF docPrint Pro v8.0 contains two virtual printers and a HookPrinter (Printer Capturer) module, after you install docPrint Pro v8.0 software, you will see two virtual printers appear in the Printer & Fax folder in your Windows system, you can run following command line with administrator privilege to install or uninstall HookPrinter (Printer Capturer) module,

"C:\Program Files (x86)\docPrint Pro v8.0\artprint.exe" -hookprinter

After you enable HookPrinter (Printer Capturer) Module, you can print a document to any of your Windows printers (except for docPrint, because docPrint is used for an intermediate printer), docPrint software will able to pause the print job and capture the print job automatically, you can show a dialog to sign the document at this step, after you finish the signature and close the software, the printing will execute continue.

The final solution will work by following steps,

1. You install a docPrint Pro v8.0 and activate the HookPrinter Layer, the HookPrinter layer will monitor the windows printing queue for all printers.
2. Each time it finds a new job in the queue, it will show the document in the computer screen, and will activate the signature pad.
3. You can sign the document in docPrint Pro software.
4. docPrint Pro will create a new document that merges/combines the original document plus the signature.
5. Prints one copy for the driver
6. Creates a PDF version of the new merged/combined document that also would include a digital signature using the digital certificate of your company, and stores the document in a file server on in an sql server (as a BLOB), with a given name/key.
7. Once all the previous task are done, the program will return to an idle screen where it will keep monitoring the queue for a new job to arrive and repeat the above steps.

Please notice, the signature function in docPrint Pro software is not available currently, this function needs customized development.

You may download the trial version of docPrint Pro v8.0 software from our website to try first, if you encounter any problem with it, please feel free to let us know, we are glad to assist you asap.

https://www.verypdf.com/app/document-converter/try-and-buy.html#buy_pro
https://www.verypdf.com/artprint/docprint_pro_setup.exe

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)