Sometime ago I found VBA for it:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mspauto/html/diobjDocument_HV01040519.asp>Hi,
>
>for PDF output you can specify the file name in an INI file. Rick Strahl has an article on his web site that explains this approach. Alternatively, you can use a PDF generator that gives your more control such as XFRX.
>
>I haven't heard anything about being able to programmatically control the Microsoft Document Imaging Printer. However, you might be able to use the keybd_event API function (
http://www.news2news.com/vfp/?group=-1&function=1028) to simulate a user pressing Enter on the printer dialog.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"