Re: Printing PDF on the client default printer.

2004-12-01 Thread Manoj_Nair

This is how I did it..

1) I used a invisible signed applet within the jsp page which renders the
screen.
2) The user selects the documents to be printed and passes  this info to
the applet.
3) The applet take this info and calls a servlet which creates the
corresponding XMLs.
4) The XSLTHandler within the applet then renders the pdf to the default
printer on the client side. The XSLT input handler
takes in the XSD and the created XML as its parameter during
instanciation..

Sorry to be short as i am busy here but can get in detail if reqd..

Thanks
Manoj





  
  "Charles Ohana"   
  
  <[EMAIL PROTECTED]To:   
<[EMAIL PROTECTED]> 
  rp.com>  cc:  
  
   Subject:  Re: Printing PDF on 
the client default printer.  
  11/30/2004 12:19  
  
  PM
  
  Please respond to 
  
  fop-dev   
  

  

  




wow!!! sounds great... Where can we get that ???  Thanx.
 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Tuesday, November 30, 2004 9:02 AM
 Subject: Printing PDF on the client default printer.

 Just wanted everyone to know that I have successfully implemented client
 side printing using FOP

 Eg: If the XML file gets created on the webserver which is located in Los
 Angeles and the user in London, then the XML is converted to PDF and the
 PDF file is printed on the clients default printer in London.

 Thanks
 Manoj


 -Forwarded by Manoj Nair/LA/SPE on 11/30/2004 09:00AM -

 To: [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]
 Date: 10/21/2004 10:13AM
 Subject: Printing PDF on the client default printer.

 **
 I had posted this in the fop-user group and the responses indicated that
 there is no way this can be implemented currently. Just wanted an opinion
 from the fop-dev crowd.
 Thanks
 **

 My requirement is to render an XML as  a PDF and then print the PDF on the
 clients default printer. I dont want the PDF to prompt user to open the
 acrobat reader.

 I already have an applet on the client side which uses PrinterJob class to
 popup the printer selection box on client side.

 Now how do I redirect the content from server to this printer?

 Should I use Driver.RENDER_PRINT / Driver.RENDER_PCL set in the fop driver
 renderer ? and what content type should the response object return?

 Thanks
 Manoj

 PS: I have successfully use the FopPrinter example ( FopPrintServlet ) to
 print pdfs on the app servers default printer but what I need is to be
 able
 to print on the clients default printer and not on servers printer.








Re: Printing PDF on the client default printer.

2004-11-30 Thread Charles Ohana



wow!!! sounds great... Where can we get that 
???  Thanx.

  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  To: [EMAIL PROTECTED] 
  Cc: [EMAIL PROTECTED] 
  Sent: Tuesday, November 30, 2004 9:02 
  AM
  Subject: Printing PDF on the client 
  default printer.
  
  Just wanted everyone to know that I have successfully implemented client 
  side printing using FOP
   
  Eg: If the XML file gets created on the webserver which is located in Los 
  Angeles and the user in London, then the XML is converted to PDF and the PDF 
  file is printed on the clients default printer in London.
   
  Thanks
  Manoj
   -Forwarded by Manoj Nair/LA/SPE 
  on 11/30/2004 09:00AM -To: [EMAIL PROTECTED]From: [EMAIL PROTECTED]Date: 
  10/21/2004 10:13AMSubject: Printing PDF on the client default 
  printer.**I had posted this in the fop-user group and the responses indicated thatthere is no way this can be implemented currently. Just wanted an opinionfrom the fop-dev crowd.Thanks**My requirement is to render an XML as  a PDF and then print the PDF on theclients default printer. I dont want the PDF to prompt user to open theacrobat reader.I already have an applet on the client side which uses PrinterJob class topopup the printer selection box on client side.Now how do I redirect the content from server to this printer?Should I use Driver.RENDER_PRINT / Driver.RENDER_PCL set in the fop driverrenderer ? and what content type should the response object return?ThanksManojPS: I have successfully use the FopPrinter example ( FopPrintServlet ) toprint pdfs on the app servers default printer but what I need is to be ableto print on the clients default printer and not on servers printer.


Printing PDF on the client default printer.

2004-11-30 Thread Manoj_Nair
Just wanted everyone to know that I have successfully implemented client side printing using FOP Eg: If the XML file gets created on the webserver which is located in Los Angeles and the user in London, then the XML is converted to PDF and the PDF file is printed on the clients default printer in London. ThanksManoj -Forwarded by Manoj Nair/LA/SPE on 11/30/2004 09:00AM -To: [EMAIL PROTECTED]From: [EMAIL PROTECTED]Date: 10/21/2004 10:13AMSubject: Printing PDF on the client default printer.**I had posted this in the fop-user group and the responses indicated thatthere is no way this can be implemented currently. Just wanted an opinionfrom the fop-dev crowd.Thanks**My requirement is to render an XML as  a PDF and then print the PDF on theclients default printer. I dont want the PDF to prompt user to open theacrobat reader.I already have an applet on the client side which uses PrinterJob class topopup the printer selection box on client side.Now how do I redirect the content from server to this printer?Should I use Driver.RENDER_PRINT / Driver.RENDER_PCL set in the fop driverrenderer ? and what content type should the response object return?ThanksManojPS: I have successfully use the FopPrinter example ( FopPrintServlet ) toprint pdfs on the app servers default printer but what I need is to be ableto print on the clients default printer and not on servers printer.

Printing PDF on the client default printer.

2004-10-21 Thread Manoj_Nair
**
I had posted this in the fop-user group and the responses indicated that
there is no way this can be implemented currently. Just wanted an opinion
from the fop-dev crowd.
Thanks
**

My requirement is to render an XML as  a PDF and then print the PDF on the
clients default printer. I dont want the PDF to prompt user to open the
acrobat reader.

I already have an applet on the client side which uses PrinterJob class to
popup the printer selection box on client side.

Now how do I redirect the content from server to this printer?

Should I use Driver.RENDER_PRINT / Driver.RENDER_PCL set in the fop driver
renderer ? and what content type should the response object return?

Thanks
Manoj

PS: I have successfully use the FopPrinter example ( FopPrintServlet ) to
print pdfs on the app servers default printer but what I need is to be able
to print on the clients default printer and not on servers printer.