File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
logging what is printed
Denise L Smith
Joined: Mar 04, 2006
Jun 07, 2007 07:43:00
to see if something has actually been printed??
I'm already using a different print stylesheet (which works awesome..so much better than making print versions of pages)
<LINK href="/theme/stylesheet.css" rel="stylesheet"
type="text/css" title="default" media="screen">
<LINK href="/theme/print.css" title="print" rel="stylesheet"
I call the window.print() method and that works great too. The issue isn't how to get it to print but rather to confirm that the print actually happened.
window.print() only opens the print dialog-people can choose to cancel. My need is one of logging what was actually printed.
Any ideas would be helpful...
perhaps using the browser to confirm that the print button on the dialog box was clicked or testing the media type in the link for css.
The courage to learn anything...that's what I look for.
Joined: Nov 08, 2001
Jun 07, 2007 07:55:00
I agree. Here's the link:
subject: logging what is printed
Providing site wide printable version for pages.
Print view for web-page
JSP with Stylesheet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015