Skip navigation
Currently Being Moderated

Not able to print pdf files into landscape orientation

Aug 30, 2010 12:02 PM

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

 
Replies
  • Currently Being Moderated
    Aug 30, 2010 1:36 PM   in reply to swadeshk

    Hi Swadesh,

     

    Try using the -rotateAndCenter option.

     

    cat A.pdf | acroread -toPostScript -shrink -rotateAndCenter | lp -d <PRINTERr>

     

    OR

     

    acroread  -toPostScript -pairs -shrink -rotateAndCenter A.pdf - | lp -d <PRINTER>

     

     

    Let me know if this helps.

     

    Regards,

    Rishi

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 1, 2010 8:34 AM   in reply to swadeshk

    Hi Swadesh,

     

    A quick question, whether you are using Adobe Reader(acroread) or PASTA to convert the pdf file sto ps?

    Also can you send me across the pdf as well as the ps file in this case.

    You can attach the files in your reply.

     

    Regards,

    Rishi

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 1, 2010 12:57 PM   in reply to swadeshk

    Try using the -rotateAndCenter option instead of landscape option that I mentioned before.

     

    Regards,

    Rishi

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 18, 2011 12:50 AM   in reply to swadeshk

    Hi

     

    I am also having the same problem. I am on 11.10 , platform  Linux x86

     

    I had our DBA's install the following : acroread-8.1.2.SU1-2.el4.i386 and acroread-9.4.1-1.el4.i386.

     

    Did you manage to solve your problem.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points