escapee I:\test.txt /pdf /window 1 /x
For example, this console command would simply convert a PCL print file to PDF with no windows visible
Transpose this command to a C++ program
#include "stdafx.h"
#include "process.h"
#include <iostream>
#include "windows.h"
int main(int argc, char* argv[])
{
int return_code;
return_code=system("escapee I:\\test.txt /pdf /window 1 /x");
printf("Return code =%d\n",return_code);
return (return_code);
}
|