I need help in finding a solution to the following problem I have a PERL driven website that gathers information and eventually using cascading websheet format tries to print the data on an IRS form image. Works great if the user removes printing headers and footers and sets margins to 0.25" all around. Currently on loading that page I have a warning alert that pops up to make that declaration. But whereas, "Johnny Can`t Read" or perhaps "Johnny Won`t Read", it is being ignored. They print it out and it is malaligned. Again they don`t look at it and send me garbage I cannot use. What I understand is that the printing function cannot be controlled by the website. (I hope not true) But if it is, perhaps I can detect whether the margins and header/footer has been corrected and keep flagging that it needs to be changed by the user until it is. Can anyone give me some code to do one or the other, please dale@sacbiz.com

In reply to Browser Print Margin Control by PerlGuruWannabee

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.