Copy link to clipboard
Copied
I have created an interactive PDF in InDesign, and the client wants to be able to print it out using a "Print" button within the interactive pdf. Due to the nature of the design, with interactive items overlapping each other, I need to create a separate layout with the elements that the client want to be visible when printed. Is there a way to add a button in either InDesign or Acrobat that will print out a completely separate document?
Copy link to clipboard
Copied
You can use printing and non-printing layers to achieve that.
Copy link to clipboard
Copied
How do I use those?
Copy link to clipboard
Copied
I have Acrobat Pro DC 2015
Copy link to clipboard
Copied
You should do it in InDesign.
Copy link to clipboard
Copied
Ok, a couple of things. I submitted this question to the InDesign forum and they said to try the Acrobat forum. Also, can I embed and entirely different file into that? because the Interactive PDF is the dimensions of an IPad, and the print version is designed to print on 8.5x11.
Copy link to clipboard
Copied
It's possible to add layers in Acrobat, but I think ID is the more natural
place to do it. In Acrobat you would do it via the Layers panel on the
left. Click the Options button and then select Import As Layer, and then
set the settings for it. After you do that right-click it and select
Properties. You will then be able to set when that layer is visible.
Creating layers with different page sizes might be tricky, but try it...
Copy link to clipboard
Copied
I am going to try this in Acrobat but do you know how to do it in InDesign?
Copy link to clipboard
Copied
Not off the top of my head. You can try asking over at the ID forums...
Copy link to clipboard
Copied
Can you set pages in a pdf to not be visible but they print. Also concurrently can you make pages visible but not print?
Copy link to clipboard
Copied
No, only layers or fields.
Copy link to clipboard
Copied
Can I give a button the name print but actually tell it to launch an embedded .pdf file. Then the user could use the normal print button in Adobe to print the print-layout version.
Copy link to clipboard
Copied
Here is a simple way to put it. How do I make pages not visible when viewing a pdf digitally, but then print out when I print the pdf?
Second Simple question, How do I set a page as a none printable page?
Copy link to clipboard
Copied
Neither of these things is possible.
Copy link to clipboard
Copied
I've done something like this by using an attachment. In the on-screen document, I set a link to "Open a Printer Friendly Version". Here's how:
By default, the link will open the for-print attachment and close the on-screen document. If that's the behavior you want, there's no more to do. If you'd prefer it opens in a new tab, go back to the on-screen document and enter form-edit mode.
Although it requires the user opens the on-screen document in Reader (not a browser plugin), this is the best way I've found to have 2 separate documents deploy together without them getting bound up in each other's functions.
Copy link to clipboard
Copied
So I have figured out what I need to do to hide the pages I want to be hidden until I print. And the proper print functions for my "Print" buttons. but now I am trying to add the same functionality to File>Print and I am not getting the same results. THis is what I have done:
I turned the pages I do not want visible, but want to print into page templates and unchecked their visibility. I then added var a=getTemplate("Page Templatei Title");a.spawn(); to the "Print" button to spawn these pages before printing. I then added the this.deletePages({nStart: #,nEnd: #}); to delete these pages after printing. I got this to work as desired.
Now I am looking to add these javascript commands to the File>Print menu item. How would I do so?
I tried adding the above javascripts to Document Actions>Document Will Print and Document Did Print, respectively, but it did not have the same effect. Is this the correct place to add these?
Copy link to clipboard
Copied
You can't attach code to the Print command under the File menu. You would need to create your own Print button, either in the file or in the menu items (using a folder-level script).
Copy link to clipboard
Copied
I have already created buttons that do this. Also if I can not add javascript to the File>Print menu item then why does Acrobat have a place for me to add javascript to it?

Get ready! An upgraded Adobe Community experience is coming in January.
Learn more