ok, now it works for me. i changed "print" in "printto" and add the name of the printer, looks like this:

ShellExecute(0,"printto","printfile0.jpg","PDF","",1);

My first printer is a XPS Printer and thats not work with jpg.

Last edited by Dragonfly; 06/21/11 13:48.

Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D