  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | help | help 2003-09-30 - By Shekhar Suman
Back Hi frnds,
I never use Java printing API and Now i need to use it in servlet. How can do this.
In my servlet I need to print files by using default printer.
I find out few examples related to java.awt.print package but all these examples based on Swing.
I dont need to display the file which I want to print. I have to simply pass the name and path of files to be printed.
Waiting for ur reply.
Shekhar
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1" http-equiv=Content-Type> <META content="MSHTML 5.00.3806.1700" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hi frnds,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>I never use Java printing API and Now i need to use it in servlet. How can do this.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>In my servlet I need to print files by using default printer. </FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>I find out few examples related to java.awt.print package but all these examples</FONT></DIV> <DIV><FONT face=Arial size=2>based on Swing.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>I dont need to display the file which I want to print. I have to simply pass the name and path of files to be printed.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Waiting for ur reply.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Shekhar</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2><BR>---<BR>Outgoing mail is certified Virus Free.<BR>Checked by AVG anti-virus system (<A href="http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003</FONT></DIV></BODY></HTML> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff SERVLET-INTEREST". <p> Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html <p>
|
|
 |