----- Original Message ----- 
  From: Marc Boncz 
  Hi all,

  Was wondering if anyone here has an answer to a problem that keeps bothering
  me (and I guess not just me) for a long time already: webpages not printing
  completely.

  Most of my webpages are routinely layed out to have a with of about 950
  pixels of content with some background behind them, to make the site nice
  for people who have higher resolution monitors as well. (Nobody uses 800 x
  600 anymore, so 1024 is standard width now, so 900-950 as otherwise the
  window needs to maximised to reproduce corrctly, what is mostly not the
  case).

  Now if I try to print a page of a site, usually the left side is cut off.
  Not only on my site, but on almost any site. But: 900 pixels, on a 300 DPI
  laser, should be 7,5 cm width, or on a 180 DPI inkjet, should be 12,5 cm
  width. Easily fitting on a standard sheet of A4 paper. So somehow explorer,
  or whatever browser, tells the printer to reduce its resolution and print at
  that lower resolution (guess 72 DPI for historical reasons). Usually such
  that about 80% of the page is printed only.

  OK, this is not PHP but rather HTML, but I wonder: is there a command that
  can force the browser to print a page at a specific resolution? As A4 is 21
  cm with this would be 900 pixels/8,4 inch or say 110 DPI. If there would be
  a simple tag to instruct the browser to output the page at 110 DPI instead
  of 72 any page would fit and no need to provide special 'click here for a
  printeable version' features.

  Anybody "been there, done that"?

  Marc
-------------------
this may point you in thhe right direction, hope this helps...

use another css file detailing the new widths and layout etc, name it print.css 
for arguments sake and add a line to your html file...

<link rel="stylesheet" media="print" href="print.css" type="text/css" />

Thats prolly what youre after.. :)

Shad.

Reply via email to