希望通過代碼關閉指定列印機下的所有任務。因為出現了任務出錯,有些任務被掛起,希望寫一個函式去關閉掉這些任務。
uj5u.com熱心網友回復:
自頂。。。。。uj5u.com熱心網友回復:
你是做應用軟體不是做作業系統。列印機故障就得通過列印機功能來排除。
當然你可以針對不同的Windows版本,整理出一套完整的操作步驟,寫入幫助手冊歸在常見問題處理下。
uj5u.com熱心網友回復:
http://www.autohotkey.comuj5u.com熱心網友回復:
Printing and Print Spooler FunctionsThe following functions are used to print.
AbortDoc
DeviceCapabilities
EndDoc
EndPage
Escape
ExtEscape
SetAbortProc
StartDoc
StartPage
The following functions are used to access the print spooler.
AbortPrinter
AbortProc
AddForm
AddJob
AddMonitor
AddPort
AddPrinter
AddPrinterConnection
AddPrinterDriver
AddPrinterDriverEx
AddPrintProcessor
AddPrintProvidor
AdvancedDocumentProperties
ClosePrinter
ConfigurePort
ConnectToPrinterDlg
DeleteForm
DeleteMonitor
DeletePort
DeletePrinter
DeletePrinterConnection
DeletePrinterData
DeletePrinterDataEx
DeletePrinterDriver
DeletePrinterDriverEx
DeletePrinterKey
DeletePrintProcessor
DeletePrintProvidor
DocumentProperties
EndDocPrinter
EndPagePrinter
EnumForms
EnumJobs
EnumMonitors
EnumPorts
EnumPrinterData
EnumPrinterDataEx
EnumPrinterDrivers
EnumPrinterKey
EnumPrinters
EnumPrintProcessorDatatypes
EnumPrintProcessors
FindClosePrinterChangeNotification
FindFirstPrinterChangeNotification
FindNextPrinterChangeNotification
FreePrinterNotifyInfo
GetForm
GetJob
GetPrinter
GetPrinterData
GetPrinterDataEx
GetPrinterDriver
GetPrinterDriverDirectory
GetPrintProcessorDirectory
OpenPrinter
PrinterMessageBox
PrinterProperties
ReadPrinter
ResetPrinter
ScheduleJob
SetForm
SetJob
SetPort
SetPrinter
SetPrinterData
SetPrinterDataEx
StartDocPrinter
StartPagePrinter
WritePrinter
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/65409.html
標籤:API
上一篇:《求助》掃碼比對
