Excellent!!!! Unfortunately it generates another question :-( I seem to be going 2 steps forward and 1 back with this project.
I can now set a printer to be the default and print a batch of PDF files on that printer. If I then set another printer to be the default and try and print a further batch without closing the Acrobat window which was opened by the first batch they are printed to the first printer so obviously I need to close Acrobat between printing batches. The solution appears to be to use TerminateProcess however this needs the ProcessHandle which begs the question - how do I find the process handle? I can't be certain whether the user will have Acrobat Reader or the full version, nor can I be certain which version as they may well upgrade in the fullness of time. John Weller Wessex Computer Solutions 01380 728880 07976 393631 > > For others following this thread: Check out the OUTSTANDING > www.news2news.com site - a collection of free and subscription based > content about how to use the Win32 api's from VFP. Well written, > accurate with 100's of fully documented copy and paste VFP code > snippets. Highly, highly, HIGHLY recommended! > > The www.news2news.com site gets a "6 out of 5 stars" rating from me. > > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

