Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer Driver
Message
From
11/10/2004 03:55:44
 
 
To
07/10/2004 17:59:24
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Title:
Miscellaneous
Thread ID:
00941035
Message ID:
00950339
Views:
18
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform