Can u pls tell me how to convert pdf files to postscript format..kindly help me.....
[EMAIL PROTECTED] wrote: I encountered the same requirements. javax.print runs well, but printers don't recognize PDF files in native. So we generate PostScript files for printing purpose. Users can download PDF files and can also print files in PostScript format. It works fine. Extranet [EMAIL PROTECTED] - 12/04/2003 04:45 AM Please respond to [EMAIL PROTECTED] To: struts-user cc: Subject: Re: [OT] Re: Printing PDF Files in java Hi kirk, Thanks for the reply....Actually i planned to use signed applets with RMI for remote printing but since i couldnt able to accomplish printing the PDF file even if u get the original file[through applets saving in local machine] i couldnt go ahead....... Any ideas???? other than using JavaScript Thanks Prashanth Kirk Wylie wrote: Prashanth.S wrote: > Hi all, > Is there any way in java tp print PDF files by getting stream out of PDF > files and giving the same to printer???? > > I did lot of R&D on the above topic using javax.print package avilable > in jdk1.4,third party libraries like PJX,itree and JFreeReport but > nothing provided me the solution.My requirement is to print user > selected files in his local printer. The javax.print stuff is local to the JVM being executed. Assuming that you're dealing with a server-side application (i.e. your question is marginally relevant to the struts-user list), you can potentially accomplish this using JavaScript. But since essentially you'd have to (on the client using JavaScript): 1) Grab the file 2) Launch Acrobat Reader and instruct IT to print the file This might be easier said than done. But someone else might have experience with doing this using JavaScript. The important thing I wanted to express is that you won't be able to do it using Java raw because in a server-side application you don't actually have any Java running on the client's machine: the java is entirely executing on the server. Kirk Wylie M7 Corporation --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now