Below is code sample that includes closing the document after printing. so virtually to users it appears as if the document never opened.
hope this helps
Ujjwal B Soni <baroda, gujarat, india> <+918866008962>
"Helping hands are better than praying lips......"
An important point to realize is that the web app (and the PDF) have no control over whether the user opens it, saves it or prints it. There's nothing the web app developer can do to make the document print on the client side, if the user chooses not to do that.