|
Boost Users : |
From: Lalit Seth (sethlalitwo_at_[hidden])
Date: 2007-11-21 04:05:20
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net