WIth Repetier-Host you can not do that. You would need to add a plugin to the host that has access to the information, but that would be c# programming.
One solution would be to print over Repetier-Server instead (host can connect to it). The server has a web API so you can query and send commands easily. The API is documented on www.repetier-server.com