disable all the print function like java applet did

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lawrence_chtan
Forum Newbie
Posts: 22
Joined: Mon Jan 02, 2006 8:20 pm
Location: SINGAPORE

disable all the print function like java applet did

Post by lawrence_chtan »

Hi guru on the php board

I m having puzzle of this requirement from my supervisor

is that anyway in php to disable the print function.

be it
1. <alt + F> in all the web browser. Print
2. <Ctrl + P> to print
3. Right click to print


any of picture or any of document from the webpage?

as far i notice Java can allow me to do that. but i think it is a little bit too late for me to change all my coding from php to java.....

anyone ever explore in this . Please enlighten me

thanks
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

You can't disable it but you can create a style sheet to hide/show certain items when printed.
Post Reply