Home > Software engineering >  Code to close the printer task
Code to close the printer task

Time:09-22

Hope that through code shut down all the tasks under the specified printer, because the task error, some task to be suspended, want to write a function to close out these tasks,

CodePudding user response:

From the top,,,,,,,

CodePudding user response:

Operating system application software do you do not do,
Printer failure through the printer function to exclude,
Of course you can according to different versions of Windows, compiled a complete set of steps, written to help manual under common problems in processing,

CodePudding user response:

http://www.autohotkey.com

CodePudding user response:

Printing and Print Spooler Functions provides
The following functions provides are 2 print.



AbortDoc
DeviceCapabilities
EndDoc
EndPage
The Escape
ExtEscape
SetAbortProc
StartDoc
StartPage


The following functions provides are 2 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

  •  Tags:  
  • API
  • Related