Ask a Question related to ASP Database, Design and Development.
-
Terry Murray #1
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
-
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... -
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,... -
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... -
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 -
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: -
Aaron Bertrand [MVP] #2
Re: Controlling Printing
> particular coupon can be printed. If anyone knows how I can disable the
You can't disable a user's printer. This is a good thing.> printer after a coupon has been printed I would appreciate it.
to> situation might arise when they are already at the coupon page and decideUse client-side script to move to a print page, call window.print(), and> print another one which should not be allowed.
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
-
Sam \(primetlc® webmaster\) #3
Re: Controlling Printing
"Terry Murray" <tgmurray@rogers.com> wrote in message
news:IHwmb.800$7B1.729@news04.bloor.is.net.cable.r ogers.com...Can't be done mate......You can use cookies to prevent people from seeing> 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.
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
-
Sam \(primetlc® webmaster\) #4
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...like>
> "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 packagethem> 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 validateflter> at the point of sale.....Say a keypad so the numbers can be entered, aOn second thoughts, this wouldnt work either.....There is nothing to stop> to reject any codes that don't fit your algorhyhm, and a database showing
> which codes have already been used......
them from continually returning and generating a new coupon with a unique
code......
Sam \(primetlc® webmaster\) Guest
-
Chris Hohmann #5
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...message>
> "Sam (primetlc® webmaster)" <prime-tee-ell-cee@tiscali.com> wrote inmajor> 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. Theonly one> > > challenge that I see right now is controlling printing so thatseeing> >> > > particular coupon can be printed.
> > Can't be done mate......You can use cookies to prevent people fromhave> > the same page twice, but people can get round that by disabling
> > cookies.....You can log their IP addresses, but most dialup usersstop them> > dynamic IP addresses......
> >
> > Even if you implement both of these features, there's nothing topackage> > from hitting "Prnt Screen" and pasting the image into a grahicsnumbers> 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-randomvalidate> > based on an algorhythm that you define yourself......
> >
> > Of course, this would mean you'd need some sort of hardware toa> them> > at the point of sale.....Say a keypad so the numbers can be entered,showing> flter> > to reject any codes that don't fit your algorhyhm, and a databasestop>> > which codes have already been used......
> On second thoughts, this wouldnt work either.....There is nothing tounique> them from continually returning and generating a new coupon with aActually, your idea has merit. The unique coupon code would need to> code......
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
-
William Tasso #6
Re: Controlling Printing
Chris Hohmann wrote:
Why? don't cashiers carry wet fish any more?> ...
> 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.
>
--
William Tasso - [url]http://WilliamTasso.com[/url]
William Tasso Guest



Reply With Quote

