}
}
}
//set up printers
PrintManager printManager = (PrintManager)context.getBean("printManager");
Collection<PrintContext> pcs = printManager.getPrintContexts();
for (PrintContext pc : pcs) {
log.info(pc.getName() + " : " + pc.getDescription());
}
try {
Collection<MisoPrintService> mpss = printManager.listAllPrintServices();
for (MisoPrintService mps : mpss) {
log.info("Got print service: " + mps.toString());
}
}
catch (Exception e) {