Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3301570
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:45:52+00:00 2026-05-17T20:45:52+00:00

I’m thinking of using a print style sheet to fill out a preprinted paper

  • 0

I’m thinking of using a print style sheet to fill out a preprinted paper form. So lets say you had a piece of paper that looked like this:

Name: ________________________
Address: _____________________
City: ________________________
State: _______________________
Zip: _________________________
Favorite ice cream: __________

I would want my webpage (with a print style sheet) to look like this:

        John Smith
            1 Main St
          Springfield
           MA
          01002

When the user prints the page the information would fill out the paper form, like so:

Name: ___John Smith___________
Address: ___1 Main St_________
City: ___Springfield__________
State: ____MA_________________
Zip: ______01002______________
Favorite ice cream: __________

The reason why we are thinking of doing this is that we already have a large stock of color paper forms that we just want to prefill when possible. We may not have all the information (in the example above we don’t have the information about their favorite icecream). So we would want the person we are giving the form to to verify the information we have and add any information that is missing.

Has anyone done this using a print style sheet? Am I just asking for trouble? Should I really just reproduce the entire form in the browser (questions + answers) and print it all out on a blank sheet? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:45:53+00:00Added an answer on May 17, 2026 at 8:45 pm

    If your happy with the use of absolute positioning of DIV’s you could make use of CSS’s support for top, left, right, bottom, width and height being specified in Centimetres within a print style sheet.

    Ie:

    div.name { position:absolute; top:1cm; left:3cm; width:4cm; height:0.7cm; }
    div.address1 { position:absolute; top:1.9cm; left:3cm; width:4cm; height:0.7cm; }
    

    You would just need to measure up your forms and then setup all the DIVs to be position where the lines are on your existing forms.

    When I was trying to do this myself I just setup a grid of nested unordered lists to mark out a 5mm by 5mm grid to help get the initial alignment on the printed page worked out and then just measured up with a ruler what dimensions to use for each element. Oh and you need to set the page (or a div wrapper) to position relative.

    Edit – You may also want to set the div’s to set any overflow to be hidden so you don’t get any long lines wrapping around into another field.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I'm outputting a post title and in our database, it's Hello Y’all
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am reading a book about Javascript and jQuery and using one of the
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have a text area in my form which accepts all possible characters from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.