Feature #3313
implement SYSTEM-DIALOG-PRINTER-SETUP
Start date:
Due date:
% Done:
100%
billable:
No
vendor_id:
GCD
Related issues
History
#1 Updated by Ovidiu Maxiniuc almost 7 years ago
- Related to Bug #1830: implement SYSTEM-DIALOG-GET-FILE support added
#2 Updated by Ovidiu Maxiniuc almost 7 years ago
- Status changed from New to WIP
Added conversion support in task branch 1830a, revision 11159.
The full-syntax construct like this:
will be converted in java as:
Notes:
The full-syntax construct like this:
SYSTEM-DIALOG PRINTER-SETUP NUM-COPIES 3 + 2 LANDSCAPE PORTRAIT UPDATE OKpressed IN WINDOW CURRENT-WINDOW.
will be converted in java as:
PrintingService.createSetupDialog() .setCopyCount(plus(3, 2)) .setOrientation(PrintingService.LANDSCAPE) .setOrientation(PrintingService.PORTRAIT) .update(okpressed) .setWindow(currentWindow()) .execute();
Notes:
- the static method call handles the mandatory parameters;
- each non-static method call (except
execute
) from the chaining represents an option that sets up the server-side configuration of the statement; - finally, the
execute
method does the actual call on client side that will open the chooser dialog, based on options selected.
#3 Updated by Greg Shah almost 7 years ago
I like the approach. Go ahead with this.
#4 Updated by Greg Shah almost 7 years ago
- Related to Feature #1795: implement printing support (real GUI printing not the child process stuff used in CHUI) added
#5 Updated by Greg Shah almost 7 years ago
- Subject changed from implement SYSTEM-DIALOG PRINTER-SETUP to implement SYSTEM-DIALOG-PRINTER-SETUP
#6 Updated by Hynek Cihlar over 6 years ago
Runtime support of the print dialog in the limited support for the internal PDF printer was merged to trunk in 1795b as revision 11184.
#7 Updated by Greg Shah over 6 years ago
- % Done changed from 0 to 100
- Status changed from WIP to Closed
- Assignee set to Hynek Cihlar
For now, the implementation is not directly mapped to the Windows printer dialog. Instead it is designed to support a PDF-only output.