: : : hello everyone, my first message board on this website, i guess i was a virgin before. now to the business. i need help with simple code. i am using JS code to print web page after it loads however after i print the page i want the page to be reloaded to another page. nothing i did or wrote works. can anyone help me?
: : : thankx very much
: : :
: : :
: : Try to set the window.location property after the print command.
: :
: i tried it but it did not work. thanks, any other suggestions? maybe do you know if it is possible in javascript or any web-base programming language to print a web page without the printing window opening. the print should go directly to the printer.
: thanks for your help.
:
:
I don't know how to do it in another way. I do know that it is impossible to bypass the printer window. Otherwise people could design a webpage, which prints itself and reloads to print again and again. The print window gives user the ability to cancel it.