hey wise monks,

I have a web-site on which users can print vouchers and delivery-labels (with which they pay for parcel-services).

My PROBLEM is:
How can I prevent users from printing one formular (or voucher) more than one time?
The forms have certain series-numbers and if someone would print a form with one number several times, s/he would only have to pay once to the parcel-service, which our client doesn't like too much, i.e. wants us to prohibit.
If not- we're going to have to cancel contracts, for which I have invested lots of time and my boss his money....

So far I have been using the JavaScript-function print() for printing because it was the easiest way ;-)

In the window (which opens the browser) you use for printing it is possible to choose the number of copies you want to print = not good...
Is it possible to set the number of possible copies fix? or do you have/know a possibility to print out online-forms without having to open this certain window?
We're looking (desperately) for a way to at least prevent that users print out several same forms directly from the web-site.

We would be very grateful for ideas and heeelp.
thank you very much
cmuebro

In reply to Print HTML-documents just once by cmuebro

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.