Forum Home
Press F1
 
Thread ID: 32412 2003-04-18 01:56:00 JAVA Sending Table (not screen) to Printer GrahamB (750) Press F1
Post ID Timestamp Content User
136611 2003-04-18 01:56:00 On my website I want to be able to send part of the screen ( a nested table) to the printer.

The reason is that I want to minimise the print size to a single page by eliminating the header and footer sections.

Is there any way this can be done with a (relatively) simple instruction?

I am using the following at present:

Send To Printer (javascript:window.print())

TFYH

Regards
Graham Bockett
GrahamB (750)
136612 2003-04-18 06:19:00 you could ask a Javascript group or use CSS

<style type="text/css">
@media print {
header {font-size:1pt}
footer {font-size:1pt}
}
&lt;/style>


you might have to experiment around
E.ric (351)
1