Hello!
How can I hide a page in a form but still have it print? If I set it to Visible (Print Only) then there is a blank page in my form. If I set it to hidden then it won't prit at all ...
just an FYI, it's Page 2 that is intended to be print only. Please help
Thanks!
Views
Replies
Total Likes
Click on the Page itself. Set the default presence to hidden.
While that page is still selected, under the prePrint event, add:
Page2.presence = "visible";
Then, under the postPrint event, add:
Page2.presence = "hidden";
Thanks - I thought about this after I wrote my initial question. The problem is it's not working. I've left off the postPrint script for now. The actions are working fine - the page becomes visible but it won't print. If I click the print button a second time then it will print! It's almost as though the "Print" action is occuring before the "Visible" action. To try and counter this I created a series of buttons so the first one clicked by the user will make the page visible, and then execute in a chain the subsequent buttons which will eventually print. I did this in hopes that it would be visible before printing. But still it's not becoming visible before the "Print" is executed. And the prePrint does the same. It doesn't make sense - what am I missing?
Can I forward this to someone to review?
Thanks!
Views
Replies
Total Likes
Hm. You could program a single button and as long as the commands are in order, it should execute correctly. Try making it visible, then printing.
Funny, because I actually tested this on a form that I brought up before posting, and it was working just fine. If you'd like, I can message you my email address and you can try sending the form to me to look at.
Views
Replies
Total Likes
Yes if I can send to you and you can review where the error is that would be great!
Thanks!
Views
Replies
Total Likes