Printing documents from a script

Hi, I have a script that puts documents in a view, It works great. What I want to do next In the script is. Have it start printing all the documents in the view automatically. Without any breaks, in other works the script doesn’t ask you to print… just starts printing.

Can this be done in a script? how

Please be as descriptive as possible.

Thanks Kevin M.

Subject: Printing documents from a script

You can send raw output to the printer via Win32 API. See here → for an example. But getting it formatted may prove to be quite a task. Although I haven’t tried it, an easier approach may be to try writing the data to MS Word/Excel via OLE and printing it from there.dgg