If you try to print reports from Reports Builder and receive the following Reports Builder errors:

  • REP-57054: In-process job terminated: The report generated successfully but distribution to destinations failed.
  • REP-50159: The report generated successfully but distribution to destinations failed.
  • REP-50151: Destination ID name_of_rdf/rep failed with error An error occurred while sending the file to the printer: Name_Of_Printer – Cannot run program “C:\Oracle\Middleware\asinst_1\config\reports\bin\rwlpr”: CreateProcess error=2, The system cannot find the file specified.

The file ‘rwlpr.exe’ might be missing from the C:\Oracle\Middleware\asinst_1\config\reports\bin\rwlpr directory. To fix the problem, you can:

  1. The file ‘rwlpr.exe’ is located in %ORACLE_HOME%\bin.
  2. Copy the file to %ORACLE_INSTANCE%\config\reports\bin.

You should now be able to print from Reports Builder.