I am trying to use the printspoolerapi to take a print job and reroute it to another printer. So far I believe i have captured the information required through enumjobs, but when setting the print job to another printer I get an empty sheet printed out.
So obviously I am not sending along the file or it's contents, just the data type and print job name.
As far as I can tell I need to get the file and send it to the WritePrint? I believe either the .spl file or the actual file itself should be used for this. (using AddJob for getting the actual file, if I can do that)
Specifically, has anyone successfully done this before? I need to see an example or something like that. I've looked all over and haven't really found something that gives me an example on this.