Hi, I have a java application which does PDF Priting which I can execute like java -classpath <path to lib> PDFPrinter <filename> <printername> <Copies> <Orinetation> This works well on windows and linux. I want to execute the same from C++ code which will spool a new process and execute this. I am having a windows service which will actually perform this. I need help for a) Spooling a new process using boost so that it works for Windows and Linux. b) Security issues like under windows service will be running under account 'SYSTEM' new process spooled will be again under SYSTEM user hence what all is needed to make sure System has access to printers and/or specific printer. Note: I have tried std::system but again it behaves different for c++ console application and c++ service under windows. Thanks