PrimoPDF comes as a installed printer and so you can use it to print the files and I am sure you can print using C-C++