File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Calling Print services in Servlets
Joined: Nov 05, 2004
Apr 18, 2005 07:11:00
I am Using javax.print API to print Documents through
. But while Doing it in Apache
Server. Null Pointer Exception is Thrown.
PrintService service = PrintServiceLookup.lookupDefaultPrintService();
In this Code Service is Getting null Value.
If I run same programm using servletrunner . then the document is Printed!
Is their any Configuration to set in Apache ?
Joined: Dec 11, 2004
Apr 18, 2005 07:17:00
How to ask a question...
Simple Servlet Examples
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Calling Print services in Servlets
Printing In Servlet Using Apache Tomcat
How to deploy a web service created in .net 3.5 on Apache 6.
Printing from an applet
Web Service Doesn't Parse the Response
Printing to a document
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014