public class SwingPrintManager extends Object
SwingPrintManager
manages and executes print requests. See PrintManager
class
for more printer based functions.Modifier and Type | Method and Description |
---|---|
static void |
executePrintJob(PrintJobConfiguration cfg,
AbstractPrintDialog dialog)
Executes a print job using a configuration specified in the given
PrintJobConfiguration
object. |
public static void executePrintJob(PrintJobConfiguration cfg, AbstractPrintDialog dialog)
PrintJobConfiguration
object.
The print job runs asynchronously or synchronously depending on the
PrintJobConfiguration.isAsynchronousPrinting()
setting.
cfg
- the PrintJobConfiguration
that provides the configuration for the print job
to be executed.dialog
- a print dialog instance to be displayed before the print job execution starts.
This parameter may be null
.Copyright © 2024 levigo holding gmbh. All rights reserved.