Results 1 to 6 of 6

Thread: Print Screens

  1. #1
    Join Date
    Aug 2005
    Location
    London
    Posts
    2,864
    Tokens
    828
    Habbo
    Sough.

    Latest Awards:

    Default Print Screens

    I hate people taking pictures of mine. I cant stop them because they use, Print Screen, Can i stop this?
    moderator alert Edited by Nick (Forum Super Moderator): Please don't have images in your signature that exceed your usergroup.

  2. #2
    Join Date
    Jul 2005
    Location
    -
    Posts
    2,995
    Tokens
    0

    Latest Awards:

    Default

    Nope, ive tried looking

  3. #3
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    Ill try and found out for you and post script

    EDit:

    There are really two print screen functions: 1) print current screen
    snapshot, triggered by PrintScreen or Shift- PrtSc or Shift-gray*, and
    2) turn on continuous screen echo, started and stopped by Ctrl-P or
    Ctrl-PrtSc.

    1) Screen snapshot to printer:

    The BIOS uses INT 5 for this. Fortunately, you don't need to mess with
    that interrupt handler. The standard handler, in BIOS versions dated
    December 1982 or later, uses a byte at 0040:0100 (= 0000:0500) to
    determine whether a print screen is currently in progress. If it is,
    pressing PrintScreen again is ignored. So to disable the screen
    snapshot, all you have to do is write a 1 to that byte. When the user
    presses PrintScreen, the BIOS will think that a print screen is already
    in progress and will ignore the user's keypress. You can re-enable
    PrintScreen by zeroing the same byte.

    Here's some simple code:

    void prtsc_allow(int allow) /* 0=disable, nonzero=enable */
    {
    unsigned char far* flag = (unsigned char far*)0x00400100UL;
    *flag = (unsigned char)!allow;
    }

    2) Continuous echo of screen to printer:

    If ANSI.SYS is loaded, you can easily disable the continuous echo of
    screen to printer (Ctrl-P or Ctrl- PrtSc). Just redefine the keys by
    "printing" strings like these to the screen (BASIC print, C printf(),
    Pascal Write statements, or ECHO command in batch files), where <27>
    stands for the Escape character, ASCII 27:

    <27>[0;114;"Ctrl-PrtSc disabled"p
    <27>[16;"^P"p

    If you haven't installed ANSI.SYS, I can't offer an easy way to disable
    the echo-screen-to-printer function.

    Actually, you might not need to disable Ctrl-P and Ctrl- PrtSc. If your
    only concern is not locking up your machine, when you see the "Abort,
    Retry, Ignore, Fail" prompt just press Ctrl-P again and then press I. As
    an alternative, install one of the many print spoolers that intercept
    printer-status queries and always return "Printer ready".
    Last edited by Flisker; 05-03-2006 at 05:36 PM.
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

  4. #4
    Join Date
    Jan 2006
    Location
    Cambridge
    Posts
    1,911
    Tokens
    0

    Latest Awards:

    Default

    thats good, aint tried it yet, put it as a tutorial
    EDTALKING


  5. #5
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    You could try water marking your images.

    Quote Originally Posted by Snoop
    Ill try and found out for you and post script

    EDit:

    There are really two print screen functions: 1) print current screen
    snapshot, triggered by PrintScreen or Shift- PrtSc or Shift-gray*, and
    2) turn on continuous screen echo, started and stopped by Ctrl-P or
    Ctrl-PrtSc.

    1) Screen snapshot to printer:

    The BIOS uses INT 5 for this. Fortunately, you don't need to mess with
    that interrupt handler. The standard handler, in BIOS versions dated
    December 1982 or later, uses a byte at 0040:0100 (= 0000:0500) to
    determine whether a print screen is currently in progress. If it is,
    pressing PrintScreen again is ignored. So to disable the screen
    snapshot, all you have to do is write a 1 to that byte. When the user
    presses PrintScreen, the BIOS will think that a print screen is already
    in progress and will ignore the user's keypress. You can re-enable
    PrintScreen by zeroing the same byte.

    Here's some simple code:

    void prtsc_allow(int allow) /* 0=disable, nonzero=enable */
    {
    unsigned char far* flag = (unsigned char far*)0x00400100UL;
    *flag = (unsigned char)!allow;
    }

    2) Continuous echo of screen to printer:

    If ANSI.SYS is loaded, you can easily disable the continuous echo of
    screen to printer (Ctrl-P or Ctrl- PrtSc). Just redefine the keys by
    "printing" strings like these to the screen (BASIC print, C printf(),
    Pascal Write statements, or ECHO command in batch files), where <27>
    stands for the Escape character, ASCII 27:

    <27>[0;114;"Ctrl-PrtSc disabled"p
    <27>[16;"^P"p

    If you haven't installed ANSI.SYS, I can't offer an easy way to disable
    the echo-screen-to-printer function.

    Actually, you might not need to disable Ctrl-P and Ctrl- PrtSc. If your
    only concern is not locking up your machine, when you see the "Abort,
    Retry, Ignore, Fail" prompt just press Ctrl-P again and then press I. As
    an alternative, install one of the many print spoolers that intercept
    printer-status queries and always return "Printer ready".
    And what you posted isn't related to this post at all?
    kinda quit.

  6. #6
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    pictures of what?

Posting Permissions

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