首页
编程
java
php
前端
首页
编程
java
php
前端
调用GetPrinterW获取打印机信息,获取到状态一直为0
我的打印机处于缺纸、卡纸、门未关等状态,我调用windows API,GetPrinterW获取打印机信息,获取到的status一直为0,为什么呢?
GetPrinter function (Winspool.h) - Win32 apps | Microsoft Docs
The GetPrinter function retrieves information about a specified printer.
https://docs.microsoft.com/en-us/windows/win32/printdocs/getprinter
点击展开全文