Hi fzed, Do you restrict using specific printing tool to print students result, like Jasper reports or TCPDF? and who is targeted to see this results , students or teachers?
I am expert in PHP codeIgniter , and I can easily program a procedure to calculate statistics an smooth and accurate way.
I am waiting from you more details