PDF Printing Issues

Keep Empty PDF Image Fields Visible Without Printing Them in Adobe Acrobat

John WilsonJohn Wilson Nov 19, 2026 869 views

Question details

Keep an empty PDF image-field placeholder visible on screen without printing it, while allowing an imported image to print.

Keep Empty PDF Image Fields Visible Without Printing Them in Adobe Acrobat
Product
Adobe Acrobat PDF forms
Device & OS
not provided
Scenario
A PDF form uses an image button as a placeholder for an image that a user can import.
Observed behavior
The empty placeholder should appear on screen but not in print; once an image is imported, the image should appear in print.
Before you start

Open the PDF in Adobe Acrobat and confirm that the image placeholder is a button form field. You need access to Prepare a Form and the button's properties to set its display behavior and action.

Solution 1Recommended

Set the Empty Button to Nonprinting and Enable Printing After Import

Use this method when users import an image through a PDF button and the image should print after a successful import.

The button's display setting applies to the whole field, not just its placeholder. Start with the empty button set to display on screen only, then change it to printable after an image is successfully imported.

1
Open the button properties

In Adobe Acrobat, open the PDF and choose All tools > Prepare a form. Select the image button and open its Properties.

2
Make the empty field nonprinting

On the General tab, set Form Field to Visible but doesn't print. Add a placeholder caption on the Options tab if users need a visible prompt.

3
Add an import action

On the Actions tab, select Mouse Up as the trigger and Run a JavaScript as the action. Click Add and enter: if (event.target.buttonImportIcon() === 0) { event.target.buttonSetCaption(""); event.target.display = display.visible; }

4
Test both states

Save the PDF, click the button to import an image, and check Print Preview. Also test an empty copy: the placeholder should be visible on screen but absent from the printed page.

Set the Empty Button to Nonprinting and Enable Printing After Import
Check your PDF viewer: PDF JavaScript and image import support vary by viewer and permissions. The script clears the button caption after a successful import; if you add a reset action, restore the placeholder caption and the nonprinting display setting when the field becomes empty again.
Free Microsoft Office alternative

Work with PDFs and Office Files in WPS Office

WPS Office is a free, lightweight alternative for everyday PDF and Office document work. Its familiar interface and format compatibility make it easy to bring existing files into your workflow. Use Acrobat for the scripted image-button behavior described above.

Open and review PDFs before printingCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar interface for everyday document tasksMove existing Office files into a lightweight workspace
microsoft office alternative - wps office

Frequently Asked Questions

Can I keep an empty PDF button on screen but exclude it from printing?

Yes. In Acrobat's Prepare a Form tool, open the button's Properties and set Form Field to Visible but doesn't print on the General tab.

How do I make the imported image print?

In the button's Mouse Up JavaScript action, set event.target.display to display.visible after buttonImportIcon() returns 0, indicating a successful import.

Why might the image import button not work in every PDF viewer?

Some viewers do not support Acrobat PDF JavaScript or image-import actions, and permissions can also restrict them. Test the saved form in the viewer your recipients will use.

What should happen if a user cancels image import?

Leave the button's current display setting unchanged. The sample action changes the caption and display only when buttonImportIcon() reports a successful import.