aspose file tools*
The moose likes Java in General and the fly likes Printing a PDF file in duplex mode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Printing a PDF file in duplex mode" Watch "Printing a PDF file in duplex mode" New topic
Author

Printing a PDF file in duplex mode

Paulo Carvalho
Ranch Hand

Joined: Nov 12, 2008
Posts: 57
Hello

Can anyone give me an example on how can I print a PDF file, using java, and in duplex mode (1 page each side of the paper sheet) ?

I have already a class that asks the printer to be used and prints a PDF file on this printer. But When I indicate that I want duplex mode, it is not taken (like if I did not said that I wanted on duplex mode - no error but the printing result is not the expected).

Thanks
Regards
Vijayender Bandaru
Greenhorn

Joined: Nov 21, 2006
Posts: 21
did you consider itext API

see if this helps...

http://www.nabble.com/Printing-both-sides-with-iText-td22035644.html

also checkout itext homepage
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Printing a PDF file in duplex mode