Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Printing in duplex mode using pasta in EBS R12.2.5

Question
71
Views
0
Comments

Summary

Printing in duplex mode using pasta in EBS R12.2.5

Content

I am trying to print a PDF in duplex mode onto a HPLJ4SI printer.  We are running on R12.2.5, redhat Linux

I have done the following:

a) Created a new printer driver PASTA_TC_LEGAL which uses PSTLL SRW driver and has the following arguments:

-pn$PROFILES$.PRINTER -f$PROFILES$.FILENAME -c$PROFILES$.CONC_COPIES -Fpasta_pdf_tc_duplex.cfg

b) Created a file Fpasta_pdf_tc_duplex.cfg in $FND_TOP/resource which has the following commands:

        preprocess=gs -sDEVICE=pswrite -sOutputFile={outfile} -c "<</BeginPage{0.94 0.94 scale}>> setpagedevice" -c "<</PageOffset [20 30]>> setpagedevice" -dPDFFitPage -dNOPAUSE -dBATCH {infile}

      printcommand=lp -c  -d{printername}

   

    This works, but output is in single sided mode;

c) I tried setting the printcommand to:

     printcommand=lp -c duplex -d{printername}

  and job failed with following in log file:

Printing output file.

               Request ID : 15609046

         Number of copies : 1

                  Printer : PRN20D5

APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1

Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.

Action: Review your concurrent request log file for more detailed information.

+---------------------------------------+

d) I also tried using the command

printCommand=lp -c -o sides=two-sided-longedge -d{printername}

Printing output file.

               Request ID : 15609042

         Number of copies : 1

                  Printer : PRN20D5

/bin/sh: FNDSTAX: command not found

APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 127

Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 127.

Action: Review your concurrent request log file for more detailed information.

+---------------------------------------+

 

Finished executing request completion options.

The PDF output of the report is visible when I view the output of the concurrent request.

Any suggestions