Page 1 of 1
Supress printer dialog
Posted: Sat Aug 06, 2011 3:30 am
by uasy
On "Print" button of Reports.FX, we have the following sequence:
1. Dialogue with a choice of pages
2. Dialogue with a printer choice
3. Printing
Exists a way to supress steps 1 and 2?
Big thanks!
Supress printer dialog
Posted: Mon Aug 08, 2011 1:36 am
by Vladimir
Hello,
Unfortunately, these dialogs in the viewer cannot be disabled.
The system print dialog cannot be disabled, it always displays by the Flash Player. The page selection dialog can be skip if you print the report using the code:
Thank you.
Supress printer dialog
Posted: Sun Aug 21, 2011 6:53 am
by uasy
In AIR platform we can supress printer choice dialog.
In "ActionScript 3 Reference" for class flash.printing.PrintJob writed
"....
public function start2(uiOptions:PrintUIOptions = null, showPrintDialog:Boolean = true):Boolean
Parameters:
uiOptions:PrintUIOptions (default = null) — An object designating which options are displayed in the Print dialog that is shown to the user. If the showPrintDialog parameter is false, this value is ignored.
showPrintDialog:Boolean (default = true) — Whether or not the Print dialog is shown to the user before starting the print job
.."
You can create this in Reports.Fx for Flex product?
Big thanks!
Supress printer dialog
Posted: Mon Aug 22, 2011 8:47 am
by Vladimir
Hello,
We will try to implement it, but this will only work for AIR applications.
Thank you.
Supress printer dialog
Posted: Tue Aug 23, 2011 4:18 am
by Vladimir
Hello,
We have added a new option:
StiOptions.print.showSystemPrintDialog = true;
The update will be available in the next prerelease build.
Thank you.