Allowing for one and only one print job

T

Terry Murray

Hi Everybody,

I have been given the task of creating an online coupon system. The only
real challenge that I can identify at this point is allowing only one coupon
to be printed rather than several times. Because printing is done on the
client side, I thought that it would make sense to post this to newsgroups
that cater to the JavaScript folk. Can anyone out there point me to how I
would enforce this, that is, allowing only one coupon to be printed.
Someone told me to look at the window.print() method.

Thanks in advance
Terry
 
F

Fabian

Terry Murray hu kiteb:
Hi Everybody,

I have been given the task of creating an online coupon system. The
only real challenge that I can identify at this point is allowing
only one coupon to be printed rather than several times. Because
printing is done on the client side, I thought that it would make
sense to post this to newsgroups that cater to the JavaScript folk.
Can anyone out there point me to how I would enforce this, that is,
allowing only one coupon to be printed. Someone told me to look at
the window.print() method.

I think this falls under the category of things that cannot be done.
aiui, teh usual practice with internet companies and coupons is to
assign unique serial numbers to each coupon, and check them off against
a database as they are used. This of course implies real-time access to
said database, usually only practical with online purchases.
 
K

kaeli

Hi Everybody,

I have been given the task of creating an online coupon system. The only
real challenge that I can identify at this point is allowing only one coupon
to be printed rather than several times. Because printing is done on the
client side, I thought that it would make sense to post this to newsgroups
that cater to the JavaScript folk. Can anyone out there point me to how I
would enforce this, that is, allowing only one coupon to be printed.
Someone told me to look at the window.print() method.

You can't. All I need to do is photocopy it. If it can be printed, it
can be copied.
Serial numbers, as another poster pointed out, would be the only
workaround to that.


-------------------------------------------------
~kaeli~
Jesus saves, Allah protects, and Cthulhu
thinks you'd make a nice sandwich.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top