How to combine two PDF pages into one single PDF page? How to use -underlay option in pdftoolbox software?

Hi,

I am in need of a solution that monitors a folder/subfolders on server 2012 R2, and when a new .doc or .docx file is found, will convert to pdf and overlay the first page with a letterhead (also pdf). The output file needs to be placed in the same folder. I have tried the toolkit which is almost there, but cant find how to overlay just the first page with letterhead. Do you have a folder monitor solution that works too? thanks for your presales advice.

Customer
------------------------------------------
Thanks for your message, you may download PDF Split-Merge from following web page to try, you can use PDF Split-Merge to merge "first page with a letterhead PDF" file and other pages into a new PDF file,

http://www.verypdf.com/app/pdf-split-merge/try-and-buy.html

If you wish overlay letterhead to existing PDF pages, please look at following web page for more information,

http://www.verypdf.com/wordpress/201304/how-to-overlay-pdf-to-another-pdf-35885.html

http://www.verypdf.com/wordpress/201205/pdf-overlay-set-beautifully-background-for-pdf-files-27923.html

VeryPDF
------------------------------------------
Thanks. I have tried these. As the letterhead has background graphics, when I try and overlay it, it blocks text from the document. If I do it the other way round, it only outputs the first page of the document instead of 6-7 Pages. Any thoughts?

Also do you have a folder monitoring solution?

Thanks
Customer
------------------------------------------
Hi again,

Two files attached - one just dummy text approx. 5 pages, and letterhead pdf.

I am looking for a solution that scans the folder "documents" and its customer individual sub-folders and identifies when a new .doc(x) file has been added.

When it is found, it converts the file to pdf in the background and then overlays the letterhead to the first page only.

I have tried the pdftoolbox solution - issue seems to be when I use the letterhead file to overlay, the background graphics on the page blocks out the text. When I do it the other way around, works perfectly but only seems to output one page and ignores the rest of the report.

Id like it to run on Server 2012 R2, and output to the same folder the original file was found in.

Do you have a folder monitor program? I was looking at folder monkey?

Thanks for your help.
Customer
------------------------------------------
Thanks for your message, you may download VeryPDF PDF Toolbox Command Line from following web page,

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

You can run following command line to combine two PDF files as two layers in the new PDF file,

pdftoolbox.exe D:\downloads\dummy.pdf -underlay D:\downloads\letterhead.pdf -outfile D:\downloads\out.pdf

Please look at screenshots at below,

image

image

image

If you wish batch process all files in a folder and its sub-folders recursively, please look at following web page for more information,

http://www.verydoc.com/blog/how-to-do-batch-conversion-with-verypdf-command-line-software.html

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)

Related Posts

This entry was posted in PDF Toolbox Command Line and tagged , , . Bookmark the permalink.

One Response to How to combine two PDF pages into one single PDF page? How to use -underlay option in pdftoolbox software?

  1. VeryPDF says:

    You can run following command line to combine two PDF files as two layers in the new PDF file,

    pdftoolbox.exe D:\downloads\dummy.pdf -underlay D:\downloads\letterhead.pdf -outfile D:\downloads\_out.pdf

    We haven't a monitor application yet, however, you can run following .bat file to monitor a folder automatically,

    ------------------------------------
    REM @ECHO OFF
    REM Underlay all PDF files in D:\test folder with D:\VeryPDF\letterhead.pdf file, place output PDF files to D:\output folder,
    REM You can change these files and folders by yourself

    :retry
    for %%F in (C:\test\*.pdf) do (
    D:\VeryPDF\pdftoolbox.exe "%%F" -underlay D:\VeryPDF\letterhead.pdf -outfile "D:\output\%%~nF.pdf"
    )
    ping -n 5 127.0.0.1 > nul
    goto retry
    ------------------------------------

    You can put above contents to a .bat file, run it, this .bat file will monitor C:\test folder automatically.

    Please feel free to let us know if you encounter any problem with this method.

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

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!