> 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; services don't appear to have access to the PrintService. You'll need to use the .zip download rather than the .exe to get the scripts. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org