Re: AW: Open and print pdf files

2002-05-16 Thread Balaji Loganathan
Apart From Chaumette Patrick idea,have you tried the FOPPrintServlet.java example from FOP,it works good for me.I tested only in Windows Envt.Of course it depends whether u use Servlet/JSP. Regards Balaji --- "Chaumette, Patrick" <[EMAIL PROTECTED]> wrote: > Hello Franck, > > on WinNT you can

AW: Open and print pdf files

2002-05-16 Thread Chaumette, Patrick
Hello Franck, on WinNT you can directly send PostScript to a printer with something like this: byte[] psByteArray = ... produced from FOP, a PostScript byte Array File printerFile = new File("\\"); FileOutputStream os = new FileOutputStream(file); os.write(psByteArray); os.close(); Actu