How to disable Auto-Rotate and Center option?

View: New views
1 Messages — Rating Filter:   Alert me  

How to disable Auto-Rotate and Center option?

by mcevikce :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am not sure my other post went through but I am having problem getting PdfWriter.PrintScalingNone work. I have :
PdfWriter pdfWriter = PdfWriter.getInstance(doc, a_out);
pdfWriter.setViewerPreferences(PdfWriter.PrintScalingNone);

but for some reason it is still centered and auto rotate. Am I doing something wrong?

I am using acroread version 5.0.
here is the command I am running:
/usr/local/bin/acroread -toPostScript -size legal -landscape < rw.pdf | lp -d printer1