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
Win a copy of
this week in the
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
I agree. Here's the link:
subject: Calling Print services in Servlets
Web Service Doesn't Parse the Response
How to deploy a web service created in .net 3.5 on Apache 6.
Printing to a document
Printing from an applet
Printing In Servlet Using Apache Tomcat
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014