TE Edit Control Win32 / Win64 Help
Product page

TerGetPrinter

Retrieve the current print name and driver information.

BOOL TerGetPrinter(hWnd, name, driver, port)
BOOL TerGetHypertext2(hWnd, LineNo, ColNo, text, code, select)
HWND hWnd;The handle of the window to be accessed
LPBYTE name;Pointer to receive the printer name
LPBYTE driver;Pointer to receive the printer driver
LPBYTE port;Pointer to receive the printer port

Return Value: This function returns TRUE if successful.