Bill Walton wrote:
> My app collects visitor info via a set of screen forms and now I've
> got to print the collected info out so that it fits into the spaces,
> etc. on an existing paper form. It's actually going to print (form
> and collected into) to a blank piece of paper most of the time, but
> it also needs to print just the collected info to a preprinted form.
> My solution so far is to use a scanned image of the paper form as
> background. That way the user can turn on background printing if
> they're going to print to blank paper, or turn it off if they're
> going to print to a preprinted form. I'm positioning the text /
> images that are or represent the collected info via CSS (e.g., a
> check mark prints in a specific location on the page if they selected
> the 'yes' radio button for ' question 4' on the screen form). I've
> got two stylesheets, one for 'screen' and the other for 'print'.
> This solution is working ok for page one of the printed form.
> Now I need to add page two of the printed form. I would like to be
> able to print all the pages of the form with one print command. But
> I don't seem to be able to add a second background image.
> I've tried putting the images in two seperate divs (page1 and page2)
> in the stylesheet and then putting both divs on the page. I can't
> get the second image to print. I've tried combining the two images
> into one and then setting the page height in the print css to two
> pages high. About the first page and a half of the image printed on
> the first page of output, no second page.
> I'd sure appreciate it if someone would point me in a direction that
> might work.
Hmmm, how about having your server generate a PDF file on the fly and
serve that back to the visitor? I'm guessing that the point of all this
is to provide the visitor with a printable form which they then print
and sign for sending in via snail mail?
authenticity, honesty, community
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/