Information générale
Titre:
How do I rename a printer?
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 type of PRINTER_INFO_2 in the SetPrinter function.
Does anyone know how to do this? Am I on the right track?
Thanks in advance,
Maria.
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement