Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Troubleshooting OIPI to export PDF

I am using Set_Printer commands to use OIPI classic (not OIPI.net) to export a document as a PDF file. I started getting the following error message today.

If I click the "Continue" button, it will just repeat this message again.

I'm not sure what is causing the problem, because the code to generate this PDF file has always worked before. Any thoughts on what might be causing this? Could antivirus software block the OCX files needed? Any thoughts on what to look for on our server environment?


  • Just to clarify on my initial post... In using the Set_Printer commands there is no error message at all, it just fails to export the PDF file and doesn't even throw an error code.

    I get this message when I try to use the option to create a PDF from the OIPI Print Preview screen.
  • I've never seen that before. I'm going to assume that the report you are exporting is on par with previous reports you've exported (i.e., not noticeably bigger). It appears to be using your OI folder as the default path. Try setting your Sort Path to %TEMP%:

  • My default directory already is set to %TEMP%
  • Looks like it may have been a windows server/networking issue. Reboot of server seems to have solved the problem.
Sign In or Register to comment.