File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes appending signature during print Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "appending signature during print" Watch "appending signature during print" New topic
Author

appending signature during print

Govinda Gopala
Greenhorn

Joined: May 12, 2011
Posts: 18
guys i hav a situation

i want to print a form(jsp )

during printing a signature has to be appended

this should not be visible in the jsp(normal viewing)

only during printing this has to be appended

how to do this
Swastik Dey
Ranch Hand

Joined: Jan 08, 2009
Posts: 990

Have a div where you display your signature, initially hidden


on click of print button , before you print make the div visible



Swastik
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50693

You can use CSS to make element visible only during printing.

Nothing at all to do with JSP, so this post has been moved to a a more appropriate location.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
The HTML in the head


The signature HTML



The regualr CSS


The print.css



Eric
 
IntelliJ Java IDE
 
subject: appending signature during print
 
Threads others viewed
Can I have Controlled Prinitng in JavaScript
Printing Reports
Losing Session Data!!!
Printing from a J2EE app
Print option on every page
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture