Hi,
Can anybody say me how can I send a document
directly to a printer?
I have tried the following code to render the
document to a printer using "Driver.RENDER_PCL", but it doesn´t work (i get the
exception "file.io.FileNotFoundException")
String printer
="////ntsrv_200//prn1";
FileOutputStream out = new FileOutputStream(printer); Driver driver = new Driver(input.getInputSource(),out);
driver.setRenderer(Driver.RENDER_PCL);
driver.run(); out.close(); Thanks in advance
-------------------------------------------- Gorka Echevarría Vélez BILBOMÁTICA, S.A. [EMAIL PROTECTED] -------------------------------------------- |
- RE: Send a document directly to a printer Gorka Echevarría
- RE: Send a document directly to a printer Alistair Hopkins
- RE: Send a document directly to a printer Dvorák Zdenek
- Re: Send a document directly to a printer Thieler Jens