Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get the printer driver name in Visual FoxPro?
Message
From
06/12/2000 13:28:35
Walter Meester
HoogkarspelNetherlands
 
 
To
05/12/2000 10:22:07
Pamela Bulmahn
The University of Iowa
Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00449332
Message ID:
00450035
Views:
36
Pamela,

I use Focus.fll (available from www.fastwrite.com) just download it and use the following code:
SET LIBRARY TO Focus.fll ADDITIVE
cToken= PRN_GetPrnData(ALLTRIM(cPrintername),5001)
oReport.Selectprinter(STR_ntoken(6,cToken), STR_ntoken(3,cToken), STR_ntoken(5,cToken))
For many other handy functions in Focus.fll look at the Focus documentation available from the same website.

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform