dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: formatting a page for printing

  1. #1
    Join Date
    Aug 2004
    Posts
    3

    formatting a page for printing

    Dear experts,
    I am trying to format a page so that when a user prints a document, the layout will be exactly as the one shown on the link below:

    http://www.websamba.com/afparishioners/certific.pdf

    It is formatted on an 8/11 paper.

    The text may change but the length of each text is generally the same.

    Any help would be greatly, greatly appreciated.

  2. #2
    Join Date
    Jun 2004
    Location
    Kansas City, MO
    Posts
    1,607
    From my experience their is no real good way to do reports on the web. Using style sheets, page breaks and alot of trial and error.

    I assume you have the font size of the text and the font type. All you have to do is create some classes to mimick these font styles and apply them to the correct text.

    Since the length of your text will remain the same you will not have to worry about page breaks(wish i had it that easy).

    Again the rest is style sheets and trail and error.

    I create a report, print it and compare to what i am trying to copy.
    It takes a couple of tries but youll get it.

    You may have to fool with <br> or cellspacing and cellpadding to get the right amount of space between the text.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles