what does portedDocFlavors returns for you? Maybe UTF-8 is unsupported? Edit: “text/plain; charset=utf-8” seems to be unsupported. Try. This page provides Java code examples for vor. The examples are extracted from open source Java projects from GitHub. Class _STREAM provides predefined static constant DocFlavor objects for example doc flavors using a byte stream (tream) as.
|Published (Last):||13 August 2010|
|PDF File Size:||15.13 Mb|
|ePub File Size:||7.88 Mb|
|Price:||Free* [*Free Regsitration Required]|
I have written code to run the printer programatically in Java. I have to set the value of docflavor to print the.
It can’t print the text file. It only prints the jpeg format file.
Specifying Document Types
I am using HP Deskjet F printer for this. Following is my code. Maybe UTF-8 is unsupported?
As far as I understand your Windows printer cannot print text files. Sign up or log in Sign up using Google.
How to set DocFlavor for printservice in Java for WIndows – Stack Overflow
Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown.