• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

window print problem

 
Mahesh Mamani
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

A new window is displayed from a website(javascript:launchwin()) which contains some text and JPEG image below the text. Am trying to print this window. I use the window.print() option in the onClick prperty of the Print button, as shown in the code below.

The image is not printed in a few attempts, what could be the reason for the same??? Is there any other option for printing the contents of the window.


Thanks in advance,
Mahesh
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only thing I can think is you are showing the image as a background. The image will not print if it is a background since it is a setting. If that is not the case then I am not sure.

Eric
 
Mahesh Mamani
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is code for the image part in the BODY tag of the HTML:




Can you please suggest now?

Thanks,
Mahesh
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34214
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mahesh,
Given that HTML, it should print. Go through the browser options. (I don't recall the name of the option in IE, but there is one for printing images.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic