#74338 - 2003-04-07 02:25 PM
switch off printer
|
attiahia
Hey THIS is FUN
Registered: 2000-03-27
Posts: 268
|
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.
|
|
Top
|
|
|
|
#74339 - 2003-04-07 02:33 PM
Re: switch off printer
|
Jochen
KiX Supporter
   
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
|
|
Top
|
|
|
|
#74340 - 2003-04-07 02:42 PM
Re: switch off printer
|
attiahia
Hey THIS is FUN
Registered: 2000-03-27
Posts: 268
|
No please. Since the printer is connected locally to the PC (LPT1) I think\hope there is a way. thank you.
|
|
Top
|
|
|
|
#74343 - 2003-04-08 05:40 AM
Re: switch off printer
|
attiahia
Hey THIS is FUN
Registered: 2000-03-27
Posts: 268
|
jplos I want to do this because most of our employees ignore the instructions and leave their PC’s and printer (local & network) on after the work hours. I know how to switch off PC at specific time but not yet the printer.
All Do you think that any other language (like Perl or VPS) or any other third-party program\command can do such thing? Any other suggested discussion site to place such question?
Thank you.
|
|
Top
|
|
|
|
#74344 - 2003-04-08 09:03 AM
Re: switch off printer
|
davistev
Lurker
Registered: 2003-04-08
Posts: 3
Loc: Nagoya, Japan
|
How do you switch off the PCs at a specific time? Sorry I know its off topic but this is one of my challenges as well.
Dave - Japan
|
|
Top
|
|
|
|
#74345 - 2003-04-08 09:28 AM
Re: switch off printer
|
attiahia
Hey THIS is FUN
Registered: 2000-03-27
Posts: 268
|
In kix script I will use Shutdown command then I will us AT command to schedule the script executing everyday at the end work hour. Before run the Shutdown command in the script I will use find\ list command to check if there is any active program in the task manger. User will get a message and option to stop the Shutdown command.
Thank you.
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 2375 anonymous users online.
|
|
|