How to use VeryStampAddText function to add multiple lines text stamp and keep multiple text lines to right?

Hi! How do I implement or use the multi line stamp? Can I please ask for sample code?

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

image
Thanks for your message, you can use "\n" for multiple line text stamp, for example, the following is a C++ source code to stamp multiple line text stamps to PDF pages and align them to keep center,

void TestForTextAlign()
{
    int id=VeryStampOpen("example.pdf","example-text-align.pdf");
    if(id>0)
    {
        char *sPropertyInfo = "Test Name\n123 Test Address\nHip Road\nTest Locality\nTest Town\nTest County\nGU52 2SD";
        VeryStampSetFunction(id, 131, 1, 1, "", "");
        VeryStampAddText(id, 1, sPropertyInfo, 0, 17, 192, 240, 0, 0, 0, 101, "", 16, 0, "", 0);
        VeryStampClose(id);
    }
}

VeryPDF
-----------------------------------------------
Hi! How do I right align money amounts into a column using verystampaddtext?

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

image
Please refer to the parameters for VeryStampAddText at below,

long VeryStampAddText( long id, long position,
char *string, long color, long alignment,
long shift_lr, long shift_tb, long rotate, long layer,
long hollow, long fontcode, char *fontname, long fontsize,
lont action, char *link, long pageno);

Please notice "Alignment" parameter, you can set "Alignment" to 18 to align text to right,

Alignment
Alignment are used to align text on document pages, it only available for multi-line text stamps,
16: left alignment
17: center alignment
18: right alignment

for example,

void TestForTextAlign()
{
    int id=VeryStampOpen("example.pdf","example-text-align.pdf");
    if(id>0)
    {
        char *sPropertyInfo = "Test Name\n123 Test Address\nHip Road\nTest Locality\nTest Town\nTest County\nGU52 2SD";
        VeryStampSetFunction(id, 131, 1, 1, "", "");
        VeryStampAddText(id, 1, sPropertyInfo, 0, 18, 192, 240, 0, 0, 0, 101, "", 16, 0, "", 0);
        VeryStampClose(id);
    }
}

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)
Posted in PDF Stamp | Tagged , , , , , | Leave a comment

I have created the batch file to merge the docs in one pdf using PDF Toolbox Command Line application

I have created the batch file to merge the docs in one pdf.
eg.
1.pdf 2.pdf -merge -output x.pdf
3.pdf -merge -output y.pdf
7.pdf -merge -output a.pdf
4.pdf 5.pdf 6.pdf -merge -output z.pdf

from the above example only 2 files get merged,
x.pdf
a.pdf

y.pdf and z.pdf are not generated.

For rest of them there is no error but the final merge output file is not generated.

Do you have any idea why it worked for some of the files and not for the rest?

I have created the batch file and I even checked the exact formats for the files which processed with the one which is not processed. not sure what is the issue.

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

image
http://www.verypdf.com/app/pdftoolbox/index.html
http://www.verypdf.com/app/pdftoolbox/try-and-buy.html#buy

Thanks for your message, please change from "-merge -output" options to "-merge -outfile" options, you will able to get them work, for example,

pdftoolbox.exe 1.pdf 2.pdf -merge -outfile x.pdf
pdftoolbox.exe 3.pdf -merge -outfile y.pdf
pdftoolbox.exe 7.pdf -merge -outfile a.pdf
pdftoolbox.exe 4.pdf 5.pdf 6.pdf -merge -outfile z.pdf

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: -1 (from 1 vote)
Posted in PDF Toolbox Command Line | Tagged , , , , , , | Leave a comment

How to enable "High Resolution Printing" permission to password protected PDF files?

I am implementing the verypdf command line foe my customer by buying verypdf product specifically for encrypt pdf password via command line. The command line is called via sap abap programming. However, after encrypted pdf is generated the pdf document cannot be printed. It means the Print function in pdf is disabled. Please could you advise the parameter in command line that I should put it in in order to enable the printing for pdf after it is decrypted.

Additional information,

Each pdf file is encrypted the its individual password and after it is open and successfully. The pdf document cannot be printed because the print function is disabled. I tried to read your suggestion from verypdf encrypt command line product which I bought but I still do not understand how to put the right command line to enable the printing.

Please kindly urgently support because I have to go-live this project on next Monday.

Best regards,
Customer
----------------------------
Thanks for your message, you may run following command line to encrypt PDF file and enable "High Resolution Printing" permission,

encryptpdf.exe -p -w OwnerPassword -e 128 -i D:\verypdf.pdf -o D:\EncryptPDFCmd.pdf

image

You will able to print encrypted PDF file properly with above command line.

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)
Posted in PDF Security | Tagged , , , , , , | Leave a comment

What is the limit number of multiple PDF files that we can merge in one PDF file?

What is the limit number of multiple PDF files that we can merge in one PDF file?

eg. I am having 39 different pdf files, I want to merge them into one pdf and is not working.

I want to know the limit.

Customer
------------------------------------------------
You can run following command lines to merge more PDF files into one PDF file,

"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" C:\A.pdf,1,3 C:\merged.pdf
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" C:\A.pdf,-20,50 C:\merged.pdf
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" C:\A.pdf,1,3- C:\merged.pdf
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" C:\A.pdf,1,2,3 C:\B.pdf,5,2,9 C:\merged.pdf
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" C:\A.pdf,1,1-9 C:\B.pdf,5,2,9 C:\A.pdf,10 C:\merged.pdf
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" C:\A.pdf,even C:\merged.pdf
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" C:\A.pdf,odd C:\merged.pdf
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" C:\A.pdf,reverse C:\merged.pdf
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" mergeform C:\form1.pdf C:\form2.pdf C:\out.pdf
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" crossmerge C:\test1.pdf C:\test2.pdf C:\out.pdf
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" crossmerge2 C:\test1.pdf C:\test2.pdf C:\out.pdf

image

If you have lots of PDF files, such as more than 10 PDF files, you can use a .txt file to merge 10+ PDF files into one PDF file, please by following steps to try,

1. Please run following command line to get all filenames for all of your PDF files,

dir C:\pdf\*.pdf /s/b > C:\files.txt

Note: you can adjust the order for files in C:\files.txt by manual.

2. Please run following command line merge these PDF files into a PDF file,

"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" C:\files.txt C:\out.pdf

The command line application is better than GUI version if you wish merge 10+ PDF files into one PDF file.

The pdfpg.exe application is located in the PDF Split-Merge installation folder.

>>How do I delete individual pages from a pdf file?

This can be done easily, for example if you wish delete page #5 from a PDF file, you can simple run following command line,

"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" "C:\in.pdf,1-4,6-" C:\out.pdf

>>How do I rearrange the sequence of pages in a pdf file?

You can "burst" your PDF file to single page PDF files first with following command line,

"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" burst C:\in.pdf C:\pg

You can general a .txt file for all of these single page PDF files,

dir C:\pg*.pdf /s/b > C:\files.txt

Then you can adjust the sequence of filenames in C:\files.txt file, and then run following command line to merge these PDF files together,
 
"C:\Program Files\PDF Split-Merge v3.0\pdfpg.exe" C:\files.txt C:\out.pdf

Please notice, on the Windows 7 and later systems, you may haven't write permission to C:\ root folder, so you should better use D:\ or another folder to instead of C:\ root folder.

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)
Posted in PDF Split-Merge | Tagged , , , , | Leave a comment

How to replace a text word in a scanned PDF file or an image based PDF file or a graphics based PDF file or a AutoCAD drawing PDF file?

Dear Support,

Please find, attached, a sample PDF File of a typical drawing.

If you open the file you will, for testing purposes only, see two instances of the word "COLLAR".

I have tried replacing the text with your software but I cannot get it to change the text.

Say, change the text from "COLLAR" to "TESTING" for example.

Can you please try the file to see if you are getting the same results?

Also,

Can you please email me a sample "Command Line" text file to allow me to change the text?

The input PDF File, including the path is....

X:\Documents\Drawing Files\0206\A3L-0206-006.pdf

The output PDF File, including the path is....

C:\PDA\A3L-0206-006.pdf

Kind Regards
Customer
-------------------------------------------
Thanks for your sample PDF file, we have checked this PDF file just now, this PDF file contains only graphics, the "COLLAR" text is also the outlines, it's made up of a lot of lines, so you can't use pdftr.exe to replace this word directly.

image

However, you can use "PDF to Text OCR Converter Command Line" to convert this PDF file to a searchable PDF file first, then you can use pdftr.exe to replace "COLLAR" word to "TESTING" new word, please refer to the detailed steps at below.

1. Please download "PDF to Text OCR Converter Command Line" from this web page,

http://www.verypdf.com/app/pdf-to-text-ocr-converter/try-and-buy.html#buy
http://www.verypdf.com/pdf2txt/pdf2txtocrcmd.zip

after you download it, you can unzip it to a folder, then you can run following command line to convert your vector PDF file to searchable PDF file,

pdf2txtocr.exe -ocr -ocrmode 3 D:\downloads\0206_006.pdf D:\downloads\0206_006-ocr.pdf

"0206_006-ocr.pdf" file contains a new text layer, so you can search "COLLAR" text in this new PDF file properly.

2. You can use "VeryPDF PDF Text Replacer Command Line (pdftr.exe)" to replace "COLLAR" to "TESTING" with following command line,

pdftr.exe -searchandoverlaytext "COLLAR=>TESTING" D:\downloads\0206_006-ocr.pdf D:\downloads\0206_006-new.pdf

You will get a new PDF file with "TESTING" word a few seconds.

"VeryPDF PDF Text Replacer Command Line (pdftr.exe)" can be downloaded from this web page,

http://www.verypdf.com/app/pdf-text-replacer/try-and-buy.html#buy-cmd
http://www.verypdf.com/dl2.php/pdftextreplacer_cmd.zip

Please notice, the latest official version of pdftr.exe doesn't support "Hidden Text Layer" yet, so it will fail to replace "COLLAR" to "TESTING" in the OCRed PDF file, but our engineer will release a new version of pdftr.exe shortly, the next version of pdftr.exe will support "Hidden Text Layer", it will try to find a word in "Hidden Text Layer", and place a new word overlay that found word.

After you purchase the "VeryPDF PDF Text Replacer Command Line (pdftr.exe)" software, we will ask our engineer to prepare and send a new version of pdftr.exe to you within two or three business days.

Thank you.
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)
Posted in PDF Text Replacer, PDF to Text OCR Command Line | Tagged , , , , , , | Leave a comment
Page 5 of 1,436« First...34567...102030...Last »