0 Replies Latest reply on Oct 9, 2019 9:22 PM by Simon Kao

    How to add the network printer in JBoss application server ?

    Simon Kao Newbie

      Hi All,

       

      How to connect a network printer to JBoss app server ?

       

      I have a Java application server running in the JBoss 7.0.6 of Linux.

       

      How to add the network printer to Jboss server so the Web application can print the label ?

       

      I tried this method to lookup the local printer services but it return empty.

      PrintService[] services = PrintServiceLookup.lookupPrintServices(DocFlavor.SERVICE_FORMATTED.PRINTABLE, null);

       

      I just figured out that I need to add the network printer into Jboss server for printing.

       

      Thanks,

      Samuel