You can use CSS to remove stuff you don't want printed. Here's some
example CSS:

@media print {
.navigation {display: none;}
}

What this does is hide anything with a class of navigation when the page
is printed (if you add change print to screen, you can see what it will
look like without printing it). There are all sorts of other things you
can do but browser support can be spotty for some of this stuff (like
page rotation). If you really need to output to look a certain way, your
best bet is to generate a PDF or rich text document.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Nathan Andelin
Sent: Monday, January 22, 2007 1:38 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Using HTML for Statements and Reports

Mike Burdette wrote:
However, when I print the page you sent a link to, it does
not print correctly on 8.5 X 11.

Mike,

My work on using HTML for reports and statements is of an R&D nature,
and preliminary.  Maybe you're running into the same problem I did,
where the browser was automatically inserting page headings and footers
into the page prior to printing.  I wish there were some way to override
that behavior through JavaScript, but the only solution I've been able
to come up with is to provide users with explicit instructions to use
the browser print dialog to manually remove headers and footers from the
output.

Or, maybe browser compatibility, or printer compatibility is coming into
play.

If the printing problems could be worked out with reliability, it seems
that HTML would be a better alternative than PDF for some things.

Nathan.





 
________________________________________________________________________
____________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.