Hi Marcus,
If u want to print the document.. without print dialog use
HINSTANCE ShellExecute(
HWND hwnd,
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory,
INT nShowCmd
);
Here use in place of second parameter lpOperation use "print" .. For further details refeer to MSDN.
Try it out if u can't make it out then I will mail u code.
Thanks
Ravi