Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Reports on web

  1. Jul 26, 2005 #1
    We have a linux server and some win clients.
    Our webbased accounting system is soppused to make reports in different formats like .DOC.
    The system is written in PHP. How can we generate that format?
  2. jcsd
  3. Jul 26, 2005 #2


    User Avatar
    Staff Emeritus

    I did a google search to see if there was a program in php that could do the conversion but there are none. Doc is a closed format and unless your willing to put in time to reverse engineer the format then no. PDFs on the other hand can be generated on the fly as well as the Oasis (xml based) format used in Openoffice.


    If your not going to sell this software your better off using: pdflib


    http://www.pdflib.com/products/pdflib/download/601/PDFlib-6.0.1p1-Linux.tar.gz [Broken]
    Last edited by a moderator: May 2, 2017
  4. Jul 26, 2005 #3


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    (I'm not familiar enough with PHP to see if these are directly applicable to you.)

    Is .RTF acceptable?

    http://www.wlug.org.nz/RTF [Broken] says "You can also give an RTF file a ".DOC" extension and then MicrosoftWindows users will be able to transparently open it in MicrosoftWord, blissfully unaware what format the file is actually in."

    Here's a start:

    The following need a Windows machine. Maybe you could set up a local Windows machine (real or virtual?) that could serve your linux servers with the required files.

    http://schmidt.devlib.org/java/libraries-word.html points to:
    "Java Bean Word Processing. Freeware. Read and write Word 97 and 2000 files. Needs a driver that runs only under Windows."

    Here's something in Python
    more from
    Last edited by a moderator: May 2, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook