Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting a Windows printer from FPW 2.6
Message
From
19/06/2000 17:43:00
Ray Crosier
Creative Consulting Services
North Bennington, Vermont, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Selecting a Windows printer from FPW 2.6
Miscellaneous
Thread ID:
00381992
Message ID:
00381992
Views:
39
I need to "automatically" select a windows printer in a FPW 2.6 application, to print bar code labels during receipt entry. I have used the MS KB articles on "HOWTO: Change the default windows printer from foxpro" which uses the LISTPRINT, GETPRINT and PUTPRINT routines. It works, mostly, but about once per week, the workstation loses all printer drivers completely!

I have been working with the WNetAddConnection and WNetCancelConnection API functions today with no success.

Can anyone suggest a workable, reliable method to temporarily select a windows printer from FPW 2.6? One that leaves the default printer alone?
Next
Reply
Map
View

Click here to load this message in the networking platform