Controlling Printing

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Controlling Printing

    Hi Everybody:

    I have been given the task of creating an online coupon. The major
    challenge that I see right now is controlling printing so that only one
    particular coupon can be printed. If anyone knows how I can disable the
    printer after a coupon has been printed I would appreciate it. I understand
    that I may have to write my code so that the user cannot get back to a
    certain page where this coupon might be produced. But an undesirable
    situation might arise when they are already at the coupon page and decide to
    print another one which should not be allowed.

    Any suggestions

    Terry


    Terry Murray Guest

  2. Similar Questions and Discussions

    1. Controlling printing and printer
      I am trying to control Adobe Pro (create OLE object of AcroExch) during the printing phase with a number of different options for a print shop. So...
    2. Freehand printing - right margin decreases when printing multiple copies of file.
      I'm using Freehand mx. Everytime I print more than one copy of a file, the right margin decreases. Thus, if I print five or six copies of a file,...
    3. Printing Dynamically Insantiated MovieClips (multi-page printing)
      I can create multiple pages with just one prompt with new PrinJob() object in Flash MX2004; but ... .... when I try to addpages which is one...
    4. Printing without showing the printing dialog window
      hey - did you ever figure out a solution to the printing without dialog issue? i'm trying to get around the same problem myself. thanks! -jason
    5. One swf controlling another
      Check the Flash documentation for local connection objects. It might just be what you're looking for. -- Patrik Slacker League wrote:
  3. #2

    Default Re: Controlling Printing

    > particular coupon can be printed. If anyone knows how I can disable the
    > printer after a coupon has been printed I would appreciate it.
    You can't disable a user's printer. This is a good thing.
    > situation might arise when they are already at the coupon page and decide
    to
    > print another one which should not be allowed.
    Use client-side script to move to a print page, call window.print(), and
    then redirect. Use server-side logic (session variable, database, what have
    you) to enforce that the user can't go back to the same page.



    Aaron Bertrand [MVP] Guest

  4. #3

    Default Re: Controlling Printing


    "Terry Murray" <tgmurray@rogers.com> wrote in message
    news:IHwmb.800$7B1.729@news04.bloor.is.net.cable.r ogers.com...
    > Hi Everybody:
    >
    > I have been given the task of creating an online coupon. The major
    > challenge that I see right now is controlling printing so that only one
    > particular coupon can be printed.
    Can't be done mate......You can use cookies to prevent people from seeing
    the same page twice, but people can get round that by disabling
    cookies.....You can log their IP addresses, but most dialup users have
    dynamic IP addresses......

    Even if you implement both of these features, there's nothing to stop them
    from hitting "Prnt Screen" and pasting the image into a grahics package like
    Paint before printing them as many times as they want......

    Having said that, one thought has just sprung to mind.....
    You could get your coupon page to generate a code of semi-random numbers
    based on an algorhythm that you define yourself......

    Of course, this would mean you'd need some sort of hardware to validate them
    at the point of sale.....Say a keypad so the numbers can be entered, a flter
    to reject any codes that don't fit your algorhyhm, and a database showing
    which codes have already been used......


    Sam \(primetlc® webmaster\) Guest

  5. #4

    Default Re: Controlling Printing


    "Sam (primetlc® webmaster)" <prime-tee-ell-cee@tiscali.com> wrote in message
    news:3f9ce5c1$1_2@mk-nntp-2.news.uk.tiscali.com...
    >
    > "Terry Murray" <tgmurray@rogers.com> wrote in message
    > news:IHwmb.800$7B1.729@news04.bloor.is.net.cable.r ogers.com...
    > > Hi Everybody:
    > >
    > > I have been given the task of creating an online coupon. The major
    > > challenge that I see right now is controlling printing so that only one
    > > particular coupon can be printed.
    >
    > Can't be done mate......You can use cookies to prevent people from seeing
    > the same page twice, but people can get round that by disabling
    > cookies.....You can log their IP addresses, but most dialup users have
    > dynamic IP addresses......
    >
    > Even if you implement both of these features, there's nothing to stop them
    > from hitting "Prnt Screen" and pasting the image into a grahics package
    like
    > Paint before printing them as many times as they want......
    >
    > Having said that, one thought has just sprung to mind.....
    > You could get your coupon page to generate a code of semi-random numbers
    > based on an algorhythm that you define yourself......
    >
    > Of course, this would mean you'd need some sort of hardware to validate
    them
    > at the point of sale.....Say a keypad so the numbers can be entered, a
    flter
    > to reject any codes that don't fit your algorhyhm, and a database showing
    > which codes have already been used......
    On second thoughts, this wouldnt work either.....There is nothing to stop
    them from continually returning and generating a new coupon with a unique
    code......


    Sam \(primetlc® webmaster\) Guest

  6. #5

    Default Re: Controlling Printing

    "Sam (primetlc® webmaster)" <prime-tee-ell-cee@tiscali.com> wrote in
    message news:3f9d0c29$1_2@mk-nntp-2.news.uk.tiscali.com...
    >
    > "Sam (primetlc® webmaster)" <prime-tee-ell-cee@tiscali.com> wrote in
    message
    > news:3f9ce5c1$1_2@mk-nntp-2.news.uk.tiscali.com...
    > >
    > > "Terry Murray" <tgmurray@rogers.com> wrote in message
    > > news:IHwmb.800$7B1.729@news04.bloor.is.net.cable.r ogers.com...
    > > > Hi Everybody:
    > > >
    > > > I have been given the task of creating an online coupon. The
    major
    > > > challenge that I see right now is controlling printing so that
    only one
    > > > particular coupon can be printed.
    > >
    > > Can't be done mate......You can use cookies to prevent people from
    seeing
    > > the same page twice, but people can get round that by disabling
    > > cookies.....You can log their IP addresses, but most dialup users
    have
    > > dynamic IP addresses......
    > >
    > > Even if you implement both of these features, there's nothing to
    stop them
    > > from hitting "Prnt Screen" and pasting the image into a grahics
    package
    > like
    > > Paint before printing them as many times as they want......
    > >
    > > Having said that, one thought has just sprung to mind.....
    > > You could get your coupon page to generate a code of semi-random
    numbers
    > > based on an algorhythm that you define yourself......
    > >
    > > Of course, this would mean you'd need some sort of hardware to
    validate
    > them
    > > at the point of sale.....Say a keypad so the numbers can be entered,
    a
    > flter
    > > to reject any codes that don't fit your algorhyhm, and a database
    showing
    > > which codes have already been used......
    >
    > On second thoughts, this wouldnt work either.....There is nothing to
    stop
    > them from continually returning and generating a new coupon with a
    unique
    > code......
    Actually, your idea has merit. The unique coupon code would need to
    exist in the database to be valid for redemption. If not, the cashier
    would be instructed to beat the customer about the head with their bar
    code scanner.

    HTH
    -Chris Hohmann


    Chris Hohmann Guest

  7. #6

    Default Re: Controlling Printing

    Chris Hohmann wrote:
    > ...
    > The unique coupon code would need to
    > exist in the database to be valid for redemption. If not, the cashier
    > would be instructed to beat the customer about the head with their bar
    > code scanner.
    >
    Why? don't cashiers carry wet fish any more?

    --
    William Tasso - [url]http://WilliamTasso.com[/url]


    William Tasso Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139