Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Closed Points: 75 Time: 05:28 - Dec 22, 2006  

david

window.print() in javascript with background images?

I would like to use the window.print() for the user to print out the page, but I need to include the background images. Is that possible somehow?

Answer Discussion
Tutorials

 

tikepatel

Date:: Dec 22, 2006

Time:: 08:22

You can print page with background image like this way...

# Open an Internet Explorer window.
# Select Tools | Options... from the menu.
# Go to the Advanced tab.
# Make sure Print background images and colors is checked under Printing.
# Click Apply.

david

Date:: Dec 22, 2006

Time:: 08:30

thanks for your response tikepatel, but it was not exactly that solution I was looking for.
I need to make a page that can be printed out without changing the default settings of the normal internet user.
I thought there might be a way of tagging the page or calling another method or with some paramter that would include background images as well. Or even on the background image itself, indicating whether it should be printed out or not.

jgivoni

Date:: Jan 09, 2007

Time:: 14:53

I would imagine it is simply not possible. I am wondering what implications it might have if a script can change the users browser settings. Are there other examples of that?

Jakob

david

Date:: Jan 27, 2007

Time:: 07:18

i can't see what implications there should be with this. You can change the history through javascript as well, but anyway, it's fine that printing has a default way of working, but there might also be a way to override that default, if you knew that your users would want the background also.
Anyway, since it isn't possible, I guess jgivoni has the right answer. tikepatel you get a few points for your contribution as well, although it wasn't exactly what I was looking for.

Question Answered

This question has been closed, and points have been rewarded to the following experts:


tikepatel: 25
jgivoni: 50

You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

No tutorials have been submitted yet. Want to be the first?

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10354

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es