Hello Carlos:
I needed also the DriverName, this was about 3 years ago, I asked to some people here in UT and came to use the FOCUS.FLL (an old version that was free, I guess it was from 1997 or 1998). I used something like this:
lcToken= PRN_GetPrnData( ALLTRIM( "PrinterName"), 5001)
=STR_setsep( ",")
lcDriver= STR_ntoken( 6, lcToken)
lcPort = STR_ntoken( 5, lcToken)
So I'll find out if what you say also works in Windows 2000 SP4
Luis
>I'm using RDC and I need to work with diferent printers
>
>oRpt.SelectPrinter(DriverName, PrinterName, PortName)
>
>I can know PortName And PrinterName using "APrinters()"
>
>How can I know a DriverName?
>
>--------------------------------------------------------------
>
>Because nobody helps me I found the answer.
>
>You only need the second parameter, “the printer name” (at least in Xp and Win 2000)
>
>
>You can put anything On the DriverName and PortName.
>
>I was looking this answer for more than two years.