JavaScript

Moderators: None (Apply to moderate this forum)
Number of threads: 2061
Number of posts: 5164

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
redirecting page after printing Posted by pawel1978 on 12 May 2005 at 6:52 AM
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

Report
Re: redirecting page after printing Posted by zibadian on 12 May 2005 at 7:15 AM
: 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.
Report
Re: redirecting page after printing Posted by pawel1978 on 12 May 2005 at 8:49 AM
: : 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.

Report
Re: redirecting page after printing Posted by zibadian on 12 May 2005 at 9:38 AM
: : : 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.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.