Rob Stote wrote:
In java the ability to print PDF with the "new" Java printfinally wirks for PDF. You set the stream type to PDF and send it to the printer...
Okay, so you are using Java 1.5. How does Java 1.5 print a PDF then? Assuming you dont have a printer that understands PDF. It is important to understand how it works so we can get some idea about how accurate Java's interpretation of PDF will be? It may be very different from Adobe's interpretation.
<snip/>
public class Print {
public static void main(String[] args) {
try {
// Open the image file
InputStream is = new BufferedInputStream(
new FileInputStream("filename.gif"));
Looks like you are printing a gif Image, not a PDF ....
<snip/>
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
