SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot daemon's Avatar
    Join Date
    Apr 2001
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Disable page printing

    Hello.
    I what to buil a webpage that can't *easily* be printet. I know I can't savely disable this for "advanced users" (you can allways take a screenshot and then print the screenshot). But the obvious ways like File->Print should not work.
    Does anybody have a idea how I could do this?
    I think printing from flash files doesn't work (at least I saw a flash page where I couldn't print the location map). Can anyone confirm this?

    Thanks, Chris

  2. #2
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,608
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You can't do ANY of that disabing from PHP, since PHP is processed by the SERVER and printing is done on the CLIENT.

    Try a client-side scripting forum for help on this.
    Ian Anderson
    www.siteguru.co.uk

  3. #3
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Moved into javascript forum - maybe someone here has information that will assist.


  4. #4
    Hi there! Owen's Avatar
    Join Date
    Jan 2000
    Location
    CA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    On newer versions of IE you can setup print templates -- make a template that generates a blank page and IE should print that instead of the page. Do a search on MSDN for more information.

    Owen

  5. #5
    Hi there! Owen's Avatar
    Join Date
    Jan 2000
    Location
    CA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or put your data in a java app--I don't think those can be printed either.

    Owen


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •