Printers app and office documents

Hi, i have the Printers app working on my NCP install on RaspberryPi4 with Buster64.
Also i have Collabora built in CODE server and Collabora app working perfectly. The only thing that does not work and i have no idea how to solve, is that i have no way to print office files directly from the server, if i want to do so, i would have to download it as PDF, upload it to nextcloud and then print the PDF.
I thought files that can be opened on the server (i have installed libre office to do that) could also be printed directly, but that does not work for some reason. anyone has a hint on how to print these files?