@Test
@Ignore
public void testPdfPrint() {
PrintServiceExecutor printServiceExecutor = new PrintServiceExecutor();
PrintMessageHandler handler = new PrintMessageHandler(printServiceExecutor, DocFlavor.INPUT_STREAM.AUTOSENSE);
InputStream is = PrintMessageHandlerTest.class.getResourceAsStream("Spring Integration Print Testing.pdf");
handler.setCopies(2);
handler.setPrintJobName("My Spring Integration Print test.");