Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

swindmiller

macrumors member
Original poster
Oct 21, 2011
48
0
I am working a small site for our company to be used with our iPhone 4s'. I am using the window.print() command to print the current page and this is working fine.
What I want to be able to do is print a different page without having to goto that page first or when I click to goto the 2nd page have it automatically open the print option, and if possible go back to the first page after printing.

Basically I want a button on Page1.html that will print Page2.html without having to show it.

If this is not possible then have a button on Page1.html that will open Page2.html and automatically open the print option...then if possible go back to Page1.html after printing is done.

I have found a few ways to do this but could not get it to work on the iPhones browser.

Can this be done?

Thanks,
Scott
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.