Keep Empty PDF Image Fields Visible Without Printing Them in Adobe Acrobat
Question details
Keep an empty PDF image-field placeholder visible on screen without printing it, while allowing an imported image to print.

- 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.
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.
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.
In Adobe Acrobat, open the PDF and choose All tools > Prepare a form. Select the image button and open its Properties.
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.
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; }
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.

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.

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.




