At the moment we are using the command
cat file.pdf | acroread -toPostScript -shrink -rotateAndCenter | lp -s -dprintername to print PDF files to a network printer. This is in a Linux (RedHat) machine with Adobe Acrobat 9.5.5 installed.
The problem we are facing now is the incorrect layout. The right and left side are cropped. This PDF file has specifically set the right and left margins to '5' points. Other PDF files with default margin values prints out OK.
But if I open the file using the GUI Acrobat Reader and print, it prints out OK. From the "Print" dialog window, and then clicking "Properties", I can see the print command is
lpr -P ricoh-aficio-3030 -o Option_10=False -o Option_30=None -o Option3=False -o Option1=None -o Option_20=False -o Option_25=False -o ColorModel=Grayscale -o Resolution=600dpi -o PageSize=A4 -o PageRegion=A4 -o InputSlot=Auto -o Duplex=None -o Collate=False -o MediaType=Auto -o OutputBin=Default -o StapleLocation=None -o RIPrintMode=0rhit -o JobType=Normal -o Password=None -o UserCode=None. I tried running this in the terminal, the alignment/layout is still not right.
What are the options in the command
acroread to set the page scale to "Shrink to Printable Area"?
I have tried the
-scale option. Setting the value to
50 deems no change at all.
I have also tried using the
lpr commands directly (without the
acroread commands) and putting in the necessary options such as fit-to-page, scaling, page-left/right, etc., but the printout is still the same.