RE: LookupPrinterService problem

2006-03-08 Thread Asensio, Rodrigo
I changed the windows user of the service and it works ok. Thanks a lot. Rodrigo -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 08, 2006 12:40 PM To: Tomcat Users List Subject: RE: LookupPrinterService problem > From: Asensio, Rodrigo [mai

RE: LookupPrinterService problem

2006-03-08 Thread Peter Crowther
> From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] > Starting the Tomcat as Windows Service it cannot find > printers What user is the service running as? Also note that profiles are never loaded for processes running as Windows services, so any profile information that may be set for a given u

LookupPrinterService problem

2006-03-08 Thread Asensio, Rodrigo
Hello guys I'm running Java1.5 and Tomcat5.5 Starting the Tomcat as Windows Service it cannot find printers with this code. PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null); But in my IDE, as Java stand alone, or running Tomcat from command line it works perfectly.