I want to write a program to enable/disable the LPT port so that I can make sure everyone who uses the printer should gain permission. At the same time, I can use some functions to record who is using the printer and what he wants to print. However, I haven't found any solution to enable/disable the LPT port programmatically on windows.
Asked
Active
Viewed 27 times