4 Replies Latest reply on Sep 29, 2007 12:52 PM by Harshinie Dayaratne

    Not identify network printer when JBoss start as windows ser

    Harshinie Dayaratne Newbie


      In my application i try to print pdf documents using
      Runtime.getRuntime().exec("CALL START /MIN AcroRd32.exe /h /p ")

      Further I identify the default printer by

      when i start jboss through run.bat the application works ok. it identifies the default printer of the machine.

      however when start jboss as a windows service the appliaction does not identify the default printer.

      A shared network printer is installed in to this machine. It seems that shared network printer is not identified by the application when I start jboss as NT service.

      I have used Java Service Wrapper provided by Thanuki software.org to register Jboss as windows service.


      Please help me to resolve this issue.

      Thanks in advance