It puts up the progress dialog shown in Figure 1 and prints output on System.out to let you know what it's doing and to reassure you it hasn't completely hung.
2
ServiceUI 类提供一个单独的方法来显示打印机选择对话框
The ServiceUI class provides a single method to display the printer selection dialog
3
而是显示完全打印对话框,此按钮只在默认打印机上打印整篇文档的一个副本。
Instead of displaying the full print dialog, this button simply printed one copy of the whole document on the default printer.