I want to switch off the printer through the script. Is it possible to do this through changing value of specific registry key?
The following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\HP LaserJet 4000 Series PCL6
Has interesting keys like:
Status=180
StartTime=0
UntilTime=0
Action=0
Any help will be appreciated. Thank you.