Is therea way to disable printing?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Is therea way to disable printing?

  1. #1
    Join Date
    Dec 2003
    Posts
    1

    Question Is therea way to disable printing?

    Im fairly new to Java,(or any other scripting language other than HTML) but I was wondering if there was anyway to disable visitors to my site from printing the pages or at least the images... I visited a site a while back that when you tried to print an image, the printer just left the space where the image was, blank and printed everything else around it... If anyone can help HELP!

  2. #2
    Join Date
    Sep 2002
    Posts
    124
    Hello, and welcome.

    To disable printing from web pages ... hmmm ...

    Try opening up www.google.com and entering :

    "javascript disable printing" as the search criterion, and you'll find quite a lot of useful ideas. Actually, this concept seems to appear quite a few times, and there are ways around blocking the effects, but most people will usually take it for granted if they're prevented from printing directly from web pages.

    The only other thing to add would be something like watermarking pictures on web pages to dissuade people from printing them out and doing whatever it is that offends the copyright holder.

    JM

  3. #3
    Join Date
    Mar 2003
    Posts
    834
    I agree with joyous monkey. NOTE - you're talking about Javascript, not Java - they're not the same thing.
    ArchAngel.
    O:-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center