2 Replies Latest reply on Dec 11, 2009 12:59 AM by jaikiran pai

    JBoss: can not find printer on Windows 2003

    Dave Chen Master

      We deploy and run JBoss 5.1.0GA on windows 2003. On the machine, we configure two printers:
      1. network printer
      2. a shared printer on another Window XP machine.

      PrintService[] printServices = PrinterJob.lookupPrintServices();

      The result did not include the shared printer, but the network printer only.

      Outside jboss on the same Windows 2003 machine,
      PrinterJob.lookupPrintServices()
      returns the two printers correctly.

      I do not understand why. Does JBoss do anything with it?
      Thanks for help.
      Dave