import {
winspoolGetDefaultPrinter,
winspoolOpenPrinter,
} from "win32-api/fun";
import { apiDef } from "win32-api/winspool";
I obtained the printer and handle through WinspoolGetDefPrinter and WinspoolOpenPrinter, but when calling apiDef WritePrinter doesn't get a function, can you tell me why
import { winspoolGetDefaultPrinter, winspoolOpenPrinter, } from "win32-api/fun";
import { apiDef } from "win32-api/winspool";
I obtained the printer and handle through WinspoolGetDefPrinter and WinspoolOpenPrinter, but when calling apiDef WritePrinter doesn't get a function, can you tell me why