Package org.springframework.integration.print.core

Examples of org.springframework.integration.print.core.PrintServiceExecutor


  @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.");
View Full Code Here


  }

  @Test
  @Ignore
  public void testShowSupportedAttributes() {
    final PrintServiceExecutor printServiceExecutor = new PrintServiceExecutor();
    final String info = printServiceExecutor.getPrinterInfo();
    LOG.info(info);
  }
View Full Code Here

TOP

Related Classes of org.springframework.integration.print.core.PrintServiceExecutor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.