How to print a docx file to a printer?

Recently I'm planning to develop a web service that could print any docx files to a printer.
By comparing many open source libraries (i.e. Apache POI, OpenOffice API, docx4j, etc), I choose docx4j to process docx files. However, I have no clue of how to process a docx file so that the printer could "recognize" it.
I'm a newbie here
Do I need to convert the docx files to PDF or other format to do that?
Any suggestion is appreciate.
Thanks in advance!
By comparing many open source libraries (i.e. Apache POI, OpenOffice API, docx4j, etc), I choose docx4j to process docx files. However, I have no clue of how to process a docx file so that the printer could "recognize" it.
I'm a newbie here

Any suggestion is appreciate.
Thanks in advance!