|
From: Hubert F. <Hub...@ab...> - 2009-10-07 09:12:23
|
Hi, Probabely: Your printers are stored under a user account, that's why it works from batch file. As your service runs under the account "system", you don't have access to the printers configured for that certain user account. You 'll have to run your service with the same user account as you configured the printers. Hubert >>> Riyaz Saiyed <riy...@mi...> 07.10.2009 11:07 >>> Hi, We've a printing application that takes a printer name as argument and load that printer.I've configured tanuki wrapper to start and stop this application. If I start this application via running a batch file, it work perfectly. But if I install this application as windows service an run application via starting a service, it does not load printer. The exception message I get here is : "Can not load specified printer : MTW_Printer. Printer not found." With batch file approach, it locates printer : "Specified Printer found : Win32 Printer : \\172.22.192.230\MTW_Printerr" Here both the messages are application specific and application generates it when it tries to load printer. Regards, Riyaz ----- Regards, Riyaz.. -- View this message in context: http://www.nabble.com/Can-not-load-printer-from-windows-service-tp25783037p25783037.html Sent from the Java Service Wrapper mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |