Expand my Community achievements bar.

Cancel a print job

Avatar

Level 4

Greetings everyone,

I have a form with a 2D barcode on it that needs to display on the final printed version.  However, when the user prints, if there is no barcode present (or for that matter, just form fields not filled out), I need to disable the printing functionality of reader or acrobat (client side).  The end goal is this:

user fills out form

passes form to an authorizer

authorizer fills out their section

2D barcode generated with data encoded

if barcode exists (meaning everything checked out): print

else: disable printing.

printed form is faxed to a watched folder

I tried messing with the pre-print event, but I couldn't really figure it out.  It's not a show-stopping issue, because I can just check for a barcode in the livecycle, but I'd much rather save trees, and save server-side validation...might as well make the client work

Is it possible to modify the access of File->print in acrobat or reader using javascript?  I tried searching the web and have yet to find a solution.

Thanks in advance,

Alex

1 Reply