Reports do not print

If reports in Rx-Universe do not run after installation, there are a few things to check. 


Java On Computer

Please refer to the instructions on how to install OPENJDK (Open Java) Here is the link → JAVA - OpenJDK 8 installation - Windows 10x64

1) Java needs to be installed on the main Rx-Universe computer in order to use FOP/PDF reports. While Rx-Universe does try to install Java as part of the installation, continuing changes to security settings means this sometimes may not work. If Java is not installed, you can install Java from the Rx-Universe dongle (November 2014 or later dongles).  There is a JAVA folder on the dongle that contains 2 sub-folders "x64" and "x86".  If the computer that Rx-Universe is installed on uses a 64-bit operating system, then run the application contained in the "x64" folder, otherwise, use the application contained in the "x86" folder.  It is important to make sure you restart the acurcl service after installing Java in order to have the Thin Clients able to create reports. Follow the instructions from the application to install Java.

2) When installing Java on a computer, when you are all done, you should be able to type "java -version" at a command prompt, and get a response similar to:


If you can't run java from the command prompt, then the reports won't work.

3) When installing Java, there is an oddity with it; you need to install the 32-bit version if you have a 32-bit version of Windows, and the 64-bit version if you have the 64-bit version of Windows.  However, the default installation use the BROWSER to determine whether to download the 32-bit or 64-bit version of java; so if you have a 64-bit Windows, but run a 32-bit browser, you end up with the 32-bit version installed, which is in the \Windows\SysWOW64 folder, and not in \Windows\System32, which means it won't run from the command line.  For more information on this, see http://forums.adobe.com/message/5606293 and scroll down towards the end of the page.


Creating PDF from Command Line

These instructions show how to manually run the steps that create a PDF report, using the valuation report as an example.

1) Try to run the valuation report
2) That should create XML\RXRVALnn.XML (nn = station number)
3) Open command prompt In the C:\RxUniverse folder (or wherever Rx-Universe is installed)
4) Type
JAVA -jar FOP\SAXON.JAR -o PDF\RXRVALnn.FO XML\RXRVALnn.XML XSL\RXRVAL.XSL

You need to replace nn with the station number you are using.
There should be no error messages, and the above statement should create file PDF\RXRVALnn.FO

5) Type
FOP\FOP.BAT -c FOP\FOP.XCONF PDF\RXRVALnn.FO PDF\RXRVALnn.PDF -r

You need to replace "nn" with the station number you are using.

You might see a bunch of messages; that relate to various font and shading options.  In the end, it should create a file PDF\RXRVALnn.PDF.

If it doesn't create the PDF, or if the PDF is 0 bytes, you'll need to scroll through the messages that are created and see if anything looks like a reason.


Thin Client

When a user is trying to run a report or printing invoice all the Java required will be on the server-side. Once the server is able to print invoice/Reports an internal command will send it to the local PC via Cobol service (ACU Service 5640). If this is not working it could be indicative that there is a permission issue. Making sure that the users specified in the "ACURCL.CFG" file (Generally Omics) as full read/write on the entire Rx-Universe Directory and sub-directory is needed. Additionally you may have to specify the domain name before the user name in the "ACURCL.CFG" file ie: DOMAIN\OMICS.