>I use aprinters() to get all the printers on a user's machine. Weird thing is that when I want to pick a given printer sometimes it does'nt appear in the list of available printers.
>
>And if I come back to it either after closing the application or even trying again later (without closing the app) it works allright.
>
>One system is alone and another one is part of a network.
>
>Any explanation for this behaviour?
>
>Would you recommend something other than aprinter() to get the printers?
Answering your second question:
Re: Getting All Available Printers and their local port Thread #
732227 Message #
732297or
http://www.news2news.com/vfp/?group=57&function=215 (code example in Members section)
If it's not broken, fix it until it is.
My Blog