Versions Compared

Key

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

...

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 Removed
Image Removed
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; 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 Removed