Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I rename a printer programmatically?
Message
From
28/10/1998 09:48:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
How do I rename a printer programmatically?
Miscellaneous
Thread ID:
00151536
Message ID:
00151536
Views:
65
Hi all,

I need to rename a printer programmatically (any printer from the printers Window in Windows NT). I have tried using the OpenPrinter() and SetPrinter() api functions, but I get errors in VFP. I am now trying to write a C++ program, but I do not know how to convert the 'pPrinter' pointer to a data structure of type PRINTER_INFO_2 in the SetPrinter function.

Does anyone know how to do this? Am I on the right track?

Thanks in advance,

Maria.
Next
Reply
Map
View

Click here to load this message in the networking platform