RE: Unsuccessful printing from Servlet‏

2009-01-11 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Unsuccessful printing from Servlet‏ > > You can change the user under which the Tomcat service runs, using the > "My Computer" .. Manage .. Services .. applet. Actually, I had tried that, setting my normal acc

Re: Unsuccessful printing from Servlet‏

2009-01-11 Thread André Warnier
Caldarale, Charles R wrote: From: Tan Raymond [mailto:hexad...@yahoo.com.sg] Subject: Unsuccessful printing from Servlet‏ PrintServiceLookup.lookupDefaultPrintService(); It return a null value. Are you running Tomcat as a Windows service? Try running it with the startup.bat script instead

RE: Unsuccessful printing from Servlet‏

2009-01-11 Thread Caldarale, Charles R
> From: Tan Raymond [mailto:hexad...@yahoo.com.sg] > Subject: Unsuccessful printing from Servlet‏ > > PrintServiceLookup.lookupDefaultPrintService(); > It return a null value. Are you running Tomcat as a Windows service? Try running it with the startup.bat script instead; servic

Unsuccessful printing from Servlet‏

2009-01-11 Thread Tan Raymond
Hi, I am running Tomcat 5.5 Server from a Windows Vista Home Premium OS. When I try to print from a servlet and use the following code to get a PrintService. > PrintService service = PrintServiceLookup.lookupDefaultPrintService(); It return a null value. However I am able to get the PrintSer