N
nightstar
I am creating a web page that will contain multiple Iframes. One of
the Iframes will contain a bill of sale that is generated by a script
on x.mydomain.com/somefile.php?someparameters. One of the Iframes will
contain a PDF of a multiple page scanned document (this iframe can be
printed via the acrobat reader print button). The other iframes will
contain a jpeg of a scanned document which comes from
y.mydomain.com/somelocation/file.jpg.
The first iframe containing the bill of sale and each iframe containing
a jpeg could need to be printed. I will need to add a button on the
parent page (not within the iframe) to the bill of sale and each jpeg
iframe there after. This way the user can choose which documents to
print.
I have a function on the order of:
function (framename)
{
framename.focus();
framename.print();
}
then i make a button for each iframe, each iframe has a different name.
On my local development client I can get the bill of sale to print
(which is on the same x.domain.com as this multiple iframe script is
on) When I goto print the jpegs (on y.mydomain.com) I get an access
denied.
Is there an easy way of doing this. Any help appreciated.
the Iframes will contain a bill of sale that is generated by a script
on x.mydomain.com/somefile.php?someparameters. One of the Iframes will
contain a PDF of a multiple page scanned document (this iframe can be
printed via the acrobat reader print button). The other iframes will
contain a jpeg of a scanned document which comes from
y.mydomain.com/somelocation/file.jpg.
The first iframe containing the bill of sale and each iframe containing
a jpeg could need to be printed. I will need to add a button on the
parent page (not within the iframe) to the bill of sale and each jpeg
iframe there after. This way the user can choose which documents to
print.
I have a function on the order of:
function (framename)
{
framename.focus();
framename.print();
}
then i make a button for each iframe, each iframe has a different name.
On my local development client I can get the bill of sale to print
(which is on the same x.domain.com as this multiple iframe script is
on) When I goto print the jpegs (on y.mydomain.com) I get an access
denied.
Is there an easy way of doing this. Any help appreciated.