How to create a simple coupon distribution website?
November 15, 2010 9:30 AM Subscribe
Is there a relatively simple way to build a coupon distribution website similar to Coupons.com or SmartSource.com?
The specific stumbling block I'm running up against is that each of these sites has a way for the coupons to be sent directly to the user's default printer, bypassing the page set-up / print dialog box. This is required functionality - what is the easiest way to achieve it?
posted by spilon to computers & internet (5 answers total)
First off -- this is a programming question, not an affiliate marketing question. The sites I used as examples simply have a specific capability that I'm trying to find a simple way to duplicate. Other than this one capability, nothing else about the example sites is relevant.
Example 1: If you go to SmartSource.com and print out a coupon, the site loads up a Java applet first, and then the coupon just pops out of your printer. You are not presented the normal print dialog box. This is intended to prevent you from printing multiple copies or saving the coupon as a PDF.
Example 2: Similarly, if you print a coupon at Coupons.com, they make you download and install a piece of custom software. This piece of software serves the same purpose as the Java applet that SmartSource uses - ie, it sends the coupon direct to the printer with no print dialog box.
What I'm looking for is the simplest way to send something from the browser directly to the printer -- preventing the person from either printing multiple copies or saving as a PDF. Preferably, I'd like the user to not have to do anything to make it happen, or do as little as possible. That's why I don't like the idea of making them download and install custom software -- that just seems troublesome and lame to me. I'd be happy with presenting the user some sort of modified, minimal dialog box, if that's possible. Or the page could just pop out of the printer with no user interaction at all. I'm flexible. Just wondering what's possible. I'd hate to head down one road, and then find out there was a much easier path that I overlooked.
So, could something like this be done with Javascript, for example? PHP? ActionScript? Something else? Or is a Java applet like SmartSource uses the best way to go?
posted by spilon at 8:37 AM on November 16, 2010