Printing using javax.print.attribute.standard
- From: "Bhanu" <ratneshmaurya@xxxxxxxxx>
- Date: 31 May 2006 02:37:30 -0700
I am using the javax.print package to print text files
I am adding PrintRequestAttribute and passing it to DocPrintJob
object's print(doc,attr) method
but it has no effect.
What i am doing..
reqAtt.add(OrientationRequested.LANDSCAPE);
docJob.print(doc,reqAtt);
it is printing in Portrait only which is default for my printer.
I would be highly thankful for any suggessions
.
- Prev by Date: Free java ebooks at RedHotjava.com
- Next by Date: Why JavaEE / EJB3?
- Previous by thread: Free java ebooks at RedHotjava.com
- Next by thread: Why JavaEE / EJB3?
- Index(es):
Relevant Pages
|