• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Merge an overlay onto every page of a pdf

Guest
Oct 14, 2019 Oct 14, 2019

Copy link to clipboard

Copied

I know this has to have been answered somewhere, but I can't find it. 

I'm creating a PDF of printed invoices that normally print on pre-printed paper. I'd like to be able to create a PDF of a blank invoice and overlay that onto the PDF file of invoices printed from the program that uses the preprinted invoice paper. I'd like to be able to have a macro do that from a vbs script if possible.

 

Running on Windows Server 2012.

TOPICS
Create PDFs , Edit and convert PDFs , PDF forms

Views

1.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 14, 2019 Oct 14, 2019

Copy link to clipboard

Copied

You can do it manually using the Add Background command, or by using JavaScript, which can probably be called using VBA.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 14, 2019 Oct 14, 2019

Copy link to clipboard

Copied

Thanks. I'm going to try that!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 27, 2022 Aug 27, 2022

Copy link to clipboard

Copied

LATEST

Here is a detailed explanation of what worked for me, should others happen upon this page.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 14, 2019 Oct 14, 2019

Copy link to clipboard

Copied

VBS is a Microsoft procuct and does not work wihtin a PDF. PDFs use a variation JavaScript designed for PDFs.

 

You can use the template object to overlay pages in a PDF..

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 14, 2019 Oct 14, 2019

Copy link to clipboard

Copied

What I want is to be able to script the process of creating a new PDF document with the overlay(template) merged onto the original. I can use Javascript if that's what's required.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 14, 2019 Oct 14, 2019

Copy link to clipboard

Copied

There is an option to on the Print UI to print only the form field content.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines