smiley
06-16-2004, 05:25 PM
Hi all,
I have a html & php application deployed on local machines.
This uses Opera in full screen mode.
There are 3 frames.
I would like to be able to send 1 frame to a local printer.
In IE & Mozilla I could use a simple javascript to do this but in Opera it sends the 3 frames to the printer.
Is there some PHP code that will achieve what I need?
Sample javascript that works in IE & Mozilla is below. ('main' is the frame to print.)
function myprint() {
window.parent.main.focus();
window.print();
}
I have a html & php application deployed on local machines.
This uses Opera in full screen mode.
There are 3 frames.
I would like to be able to send 1 frame to a local printer.
In IE & Mozilla I could use a simple javascript to do this but in Opera it sends the 3 frames to the printer.
Is there some PHP code that will achieve what I need?
Sample javascript that works in IE & Mozilla is below. ('main' is the frame to print.)
function myprint() {
window.parent.main.focus();
window.print();
}