views:

1021

answers:

4

I am designing this site which is for technical engineers to take prints from and the page sizes are varied. When pages are printed tables get cut up into 2 halves which makes it difficult for them to read. Is there any code which can make the prints fit into one A4 sheet per page.

The other solution is that i make PDF's of each page in A4 size and put a 'print this page' button on every page, but that seems a little unprofessional, any ideas?

+6  A: 

Try using the CSS media attribute to specify different CSS for printing.

You also need to bear in mind that each browser will implement printing in its own way (just like CSS rendering).

ck
+2  A: 

Use a print CSS. It all depends on how the user will set the print settings in the dialog, and remember, web!=print.

cherouvim
+1  A: 

The best way i have found to maximize A4 layouts is to have my CSS for print use % instead of Pixels, this will make sure that no items are out of the A4 print area.

Dahquim
+1  A: 

As CK suggested make use of CSS with Media Type as "print". You can learn best practice of using this method on CSS Design: Going to Print.

Saneef