wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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

Printing a PDF file in duplex mode

Paulo Carvalho
Ranch Hand

Joined: Nov 12, 2008
Posts: 57

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).

Vijayender Bandaru

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

see if this helps...


also checkout itext homepage
wood burning stoves
subject: Printing a PDF file in duplex mode
Similar Threads
Getting Default Printer attribute setting
Print a document using java API
How can I print my pdf file to printer using swt and save the pdf file
How to reverse Pages using java Printing?
Printing Error while printing txt file