Expand my Community achievements bar.

Canel print action

Avatar

Level 2

I would like to cancel print action.

I wrotexfa.event.cancelAction = 1; in prePrint event of my form, but I can still invoke print dialog.

I read http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/wwhelp/wwhimpl/common/html/wwhelp.htm?conte... and they say it is possible.

So my question is how?

5 Replies

Avatar

Former Community Member

Which version of Acrobat/Reader are you using?

Paul

Avatar

Level 2

I need to do this in 8 (8.1 is acceptable) and 9.

Avatar

Former Community Member

If i remember correctly there was a bug in 8 that stopped it fro working properly. I believe it was fixed in version 9. I do not have access to all of those versions at this time to test for you.

paul

Avatar

Level 4

Hmm...just some simple thoughts...

Isn't there a possibility to hide the form for the printer as long as the validation doesn't work?

Wouldn't that do the job too... right?

Avatar

Former Community Member

Yes but I think that you will get blank pages in the objects place.

paul