Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer Driver
Message
De
11/10/2004 03:55:44
 
 
À
07/10/2004 17:59:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Titre:
Divers
Thread ID:
00941035
Message ID:
00950339
Vues:
19
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform