I suspect this is bug 4700712: Win32PrintJob.print() misuses available()

it will be fixed in 1.4.2, although that doesn't help you until then.

-phil.

> Date: Mon, 31 Mar 2003 11:17:11 -0700
> From: Cinzia Sinicropi <[EMAIL PROTECTED]>
> Subject: [JAVA2D] Cannot print a file on the network
> To: [EMAIL PROTECTED]
>
> Hello,
>
> I'm having problems printing a file from a network location, a shared drive as
well. This is some of the error message:
>
> javax.print.PrintException: java.io.IOException: Stream closed
>  at sun.print.Win32PrintJob.print(Win32PrintJob.java:385)
>
>
> It doesn't seem to mind if the file is located in the same directory as the
application, that is it works fine in that instance. I've checked permissions,
and this does not seem to be the issue. The file is loaded with a
BufferedInputStream:
>
> InputStream stream = new BufferedInputStream(
>                 getClass().getResourceAsStream( path ) );
>
> If you know of anything I should be checking....
> Thank you very much
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to