I am working on a R12 imnplementaion where I have to print labels on Zebra printer in landscape orientation using acroread through PASTA printing. Oracle Application uses xml publisher to generate these pdfs. All the printouts come in portrait orientation even I choose landscape. I have used acroread version 5 and 9.3.3. Can someone help me on this? I have used below syntaxes:
I was using
acroread -toPostScript -pairs -shrink -landscape BTLYOMSHIPLABEL_3479320_1.PDF BTLYOMSHIPLABEL_3479320_1.PS |lp -d label
and It was not working.
I found a hit on metalink and it says that we should not use –pairs in the command line. If I remove –pairs, then we can’t pass {inline} {outline} parameters. Then I have tried all the below commands:
cat BTLYOMSHIPLABEL_3479320_1.PDF |acroread -toPostScript -landscape |lp -d label
cat BTLYOMSHIPLABEL_3479320_1.PDF |acroread -toPostScript -shrink -landscape |lp -d label
Thanks & Regards
Swadesh
Rishi,
thanks for your help. Last night, I was able to resolve one issue and now got stuck on other. PASTA is using acroread to convert from PDF to PS. Then it sends the output to print server CUPS. The problem was the default orientaion on CUPS for this printer was 'Portrait' and so it was overriding the setting from PASTA.
After changing the detault setting on CUPS server to 'Landscape', I am getting below 2 issues:
1) This label prints 2 pages. the 1st page still prints in 'Portrait' but the second pages prints in 'Landscape' orientation now. I don't know why it is still printing 1st page in 'Portrait' orientation.
2) The 2nd page i.e. the 'Landscape orientaion' cuts on side.
I am using this syntax:
preprocess=acroread -toPostScript -landscape -shrink -pairs {infile} {outfile}
Thanks & Regards
Swadesh
North America
Europe, Middle East and Africa
Asia Pacific