GetDefaultPrinterName

렌더링 및 인쇄

설명

기본 프린터의 이름을 반환합니다. 이 이름은 PrintDocument 또는 다음과 함께 사용할 수 있습니다

NewCustomPrinter 함수

구문

Delphi

Function TPDFlib.GetDefaultPrinterName: WideString;

ActiveX

Function PDFlib::GetDefaultPrinterName() As String

DLL

const wchar_t* DLGetDefaultPrinterName(int InstanceID);
const char* DLGetDefaultPrinterNameA(int InstanceID);

반환 값

기본 프린터의 이름을 반환하고, 사용할 수 있는 기본 프린터가 없으면 빈 문자열을 반환합니다