GetPrinterNames
Rendering and printing
Description
Returns a CSV string containing the names of all the available printers on the system. The result is the cached list that was enumerated when the app was started. The new GetLatestPrinterNames function returns the latest list of printers
Syntax
Delphi
Function TPDFlib.GetPrinterNames: WideString;
ActiveX
Function PDFlib::GetPrinterNames() As String
DLL
const wchar_t* DLGetPrinterNames(int InstanceID);
const char* DLGetPrinterNamesA(int InstanceID);
Return values
Returns a CSV string of quoted printer names from the cached list enumerated when the application started. Returns an empty string when no printers are installed.