I figured this out and thought I would share it for anyone else experiencing this problem:
In my Flex Code:
if (ExternalInterface.available)
{
try
{
ExternalInterface.call("onPrintRequest", dataToPass);
}
catch (error:SecurityError)
{
Alert.show("Printing Security Error");
}
catch (error:Error)
{
Alert.show("Printing Error");
}
}
else
{
Alert.show("Printing currently unavailable");
}
In my index.template.html I added this JS method:
<script type="text/javascript">
function onPrintRequest(value) {
var w = window.open("about:blank");
w.document.write(value);
w.document.close();
w.focus();
w.print();
}
</script>
Works like a charm!!!