GetDefaultPrinterName
Rendering and printing
Description
Returns the name of the default printer. This name can be used with the PrintDocument or
NewCustomPrinter functions.
Syntax
Delphi
Function TPDFlib.GetDefaultPrinterName: WideString;
ActiveX
Function PDFlib::GetDefaultPrinterName() As String
DLL
const wchar_t* DLGetDefaultPrinterName(int InstanceID);
const char* DLGetDefaultPrinterNameA(int InstanceID);
Return values
Returns the name of the default printer, or an empty string when no default printer is available