Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

After installing If reports in Rx-Universe , the reports do not print.  If the computer that the Rx-Universe system is installed on does not contain a JAVA install, then the reports will not print.  You can install the latest version of JAVA from the internet.  If the computer does not have internet accessrun after installation, there are a few things to check. 


Java On Computer

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.  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:
Image Added
Image Added
Image AddedIf 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; those relate to various font and shading options.  At 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 create and see if anything looks like a reason.



Image Added