|
From: Alan Xu <ala...@gm...> - 2010-07-01 06:55:25
|
Hi, Hubert Thank you for the quick reply. I am trying to use a user account for the service and will update you later! Cheers Alan On Thu, Jul 1, 2010 at 2:17 PM, Hubert Felber <Hub...@ab...>wrote: > Hey Alan, > > Are you using windows? > > The printers are probabely installed for a certain user. Running your > app in console means, that you use that users settings. Running as > service probabely means that it runs with LocalSystem account, which > does not have any printers assigned. > You 'll have to run the service with a user a account that has the > printer installed. > Hubert > > > >>> Alan Xu <ala...@gm...> 01.07.2010 08:11 >>> > Hi, Guys > > I am using *PrinterJob.lookupPrintServices()* to get printer services > in my > java application. It works fine in console, but when I wrapped it to > Java > Service Wrapper, I get nothing. Anyone can help me out or give some > suggestions. > > Thank you very much! > Alan > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |