Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Print HELP page / print specific page

$
0
0

My form has a hidden HELP page that is accessed by clicking a button.  It is the last page and has a button to close/hide it again.  I set the form up so that the HELP page, whether visible or not, is not counted in the total number of pages/page count ("Page # of ##") displayed at the bottom of all of the other pages.  I further put in the Action Builder to hide the HELP page upon saving or printing.

 

However, someone wants to print the HELP page.  I can put a "Print HELP" button on the HELP page and even code it to print a single page--BUT...

 

The Action Builder sequence hides the HELP page upon pre-printing.  Oops.

 

I want a user to be able to print the HELP page only by clicking the "Print HELP" button.  When clicked, I want the HELP page--and only the HELP page--to print.  (Paper conservation.)  Otherwise, I want to maintain the auto-hiding of the HELP page upon saving or printing.

 

 

 

Radzmar gave this bit-o-code:

  var pp = event.target.getPrintParams(); 

  pp.interactive = pp.constants.interactionLevel.full;

  pp.printRange=[[1, 1], [3, 4]]; 

  event.target.print(pp);

 

And there is the pageCount routine to get to the last page:

 

 

  xfa.host.currentPage = xfa.layout.pageCount();

 

 

 

However, the pre-print coding of my form hides the HELP page prior to printing.  Suggestions on bypassing the pre-print hiding of the HELP page when it is the HELP page itself that needs to be printed?


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>