manager.createPopupMessage("account_print_operation", new AnswarePopupMessage() {
@Override
public void onOkAnsware() {
try {
DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
PrintService service = PrintServiceLookup.lookupDefaultPrintService();
Doc simple_doc = new SimpleDoc(makeAccountsInputStreamPrinting(), flavor, null);
DocPrintJob job = service.createPrintJob();
job.print(simple_doc, null);
} catch (Exception exc) {
showWarningPrint(exc);
}
}