please, check source!
" direct print "
source ->
var xmlData:XML = new XML(content);
// Load report from XML string
report.loadReportFromString(formatContext);
// Clear all existing databases in report
report.dictionary.databases.clear();
report.regDataXML( "Demo" ,"Demo", xmlData);
//report.printerSettings.printerName = "hp LaserJet 1320 PCL 6";
report.print(true);
---->
I'd like to print it out without a screen pop.
How do you put the print option?
If I execute, the following and the the same message appears on the screen.
---->
TypeError: Error #1009: null Object references can not access a property or method.
at stimulsoft.report.painters.components::StiPagePainter/paint()
at stimulsoft.report.components::StiComponent/paint()
at stimulsoft.report::StiReport/printInternal()
at stimulsoft.report::StiReport/print()
at stimulsoft.controls.visual.dialogs::StiPrintSetupForm/onOkButtonClick()
at stimulsoft.controls.visual.dialogs::StiPrintSetupForm/__buttonOK_click()
flex version, I'd like to print it out without a screen pop!!
flex version, I'd like to print it out without a screen pop!!
Hello.
Thank you.
Due to Flash player security restrictions it's impossible to print without Print Dialog and to change printer settings.swyu wrote:please, check source!
" direct print "
source ->
var xmlData:XML = new XML(content);
// Load report from XML string
report.loadReportFromString(formatContext);
// Clear all existing databases in report
report.dictionary.databases.clear();
report.regDataXML( "Demo" ,"Demo", xmlData);
//report.printerSettings.printerName = "hp LaserJet 1320 PCL 6";
report.print(true);
---->
I'd like to print it out without a screen pop.
How do you put the print option?
If I execute, the following and the the same message appears on the screen.
---->
TypeError: Error #1009: null Object references can not access a property or method.
at stimulsoft.report.painters.components::StiPagePainter/paint()
at stimulsoft.report.components::StiComponent/paint()
at stimulsoft.report::StiReport/printInternal()
at stimulsoft.report::StiReport/print()
at stimulsoft.controls.visual.dialogs::StiPrintSetupForm/onOkButtonClick()
at stimulsoft.controls.visual.dialogs::StiPrintSetupForm/__buttonOK_click()
Thank you.