Dear Maureen Beattie,

As Neerav Bhatt said, printing pages exactly as they appear on the screen
isn't possible.
Eventualy you could use a script to resize print screen images, but you
would have to call users permission, an rely on their machines capacitys.

Yet, you can give alternative pages for print to the sites users.
If the site isn't dynamic, you can make versions on msword, as save them as
HTML filtered.
Web pages produced on  word will carry some non standard css declarations
like the size of the page, and measures in non standard units like cm.
Cleaning up the code isn't easy, though, this pages carry most word styles
you have defined on the program.
The tag for the alternative print page will be something like:
<link rel=alternate media=print href="youralternativepage">
where "youralternativepage" can be an office document or any html.
The html documents produced on word by saving them as html filtered will
carry the following tag:
<meta name=Generator content="Microsoft Word 11 (filtered)">
and will carry a word like icon if you look for them on the hard disk.
This isn't a clean method, print version pages will be heavy and hard marked
up,  but it gives supporting browsers all needed information about the
printing jobs.

If the site isn't relying on images to define the layout (since images sizes
on screen depend on the screens resolution) you can use another (much
better) method:
If you use media="print" on a css call or @media on inline style
declarations, you are defining styles that will only be used  for printing.
If you then define the pages as liquid layouts, the probability that they
will print well on paper will be quite higher.
A call for such a style sheet would be:
<link rel="stylesheet" type="text/css" media="print" href="print.css">
and an import one:
<style type="text/css" media="print, handheld">@import "basic.css";</style>
This will only work for browsers supporting css2 though.

Hope it helps,
Isabel Santos
____________________________________________________
----- Original Message ----- 
From: "Maureen Beattie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 24, 2004 8:24 AM
Subject: [WSG] Fw: print page


 Hi  everybody - my client wants the pages on her site setup so that they
print out exactly how they look on the screen. At present the short pages
are printing okay but the longer pages are leaving paragraphs out.

I would appreciate it if someone could explain how to set this up or point
me to a tutorial on the subject.

Regards
Maureen Beattie


*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 

Reply via email to