CPrint.GetPrinterNamemethod
Returns the name of the attached printer.
Syntax
FUNCTION GetPrinterName () AS DWSTRING
Return value
DWSTRING. The name of the attached printer. If there is not a printer attached, it returns an empty string.
Description
Returns the name of the attached printer.
Reference
- Include file
CPrint.inc - Defined in AfxNova/CPrint.inc:272
- Documented in Printing/CPrint Class.md
- Topic: CPrint Class