SoFunction
Updated on 2025-04-14

Computer hardware registry modification example (II)

In Windows XP, it is allowed to use registry modification to set the printer:

●Enable printer alarm sound:

Windows XP allows the beep warning user to be enabled every time the job retry (once every 10 seconds) when a remote print job returns a print server error message. To enable the beep event, open the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPrint subkey branch in the registry, and change the value of the key value item "BeepEnabled" in the right window to 1.
●Disable the printer's Browser thread:
There is a "Browser" function in Windows XP that can be used to inform other computers on the network of existing resources on the machine. If you want to disable this function, open the registry HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPrint subkey branch, and change the value of "DisableServerThread" in the right window to 1. If there is no key value item, you can create it yourself.

●Reduce data throughput in fast printing:

A feature of Windows XP when printing is fast, which allows the print job to be sent to the printer when it is created by an application. In some cases, doing so will result in excessive data being sent to the printer, and we can reduce the throughput of the data by setting up the registry. Open HKEY_LOCAL_MACHINESYSTEM Current ControlSetControlPrint subkey branch, and change the data of the key value item "FastPrintSlowDownThreshold" in the right window to a smaller value (unit is ms).

●Speed ​​up printing speed:

Quick Print allows the printer to be sent to the printer when the print job is being created by the application, and if the application pauses while sending data, it causes the printer to be shut down. To correct this error, we can modify the registry. Open HKEY_LOCAL_MACHINESYSTEM Current ControlSetControlPrint subkey branch, and change the value of the key value item "FastPrintThrottleTimeout" in the right window to a smaller value (the slowest speed is one byte per frame).

●Set the quick print timeout value:

Open the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPrint subkey branch and change the key value of the key value item "FastPrintWaitTimeout" in the right window to a larger value to accommodate slower applications.


●Set the decay time of the printer queue:

On a busy LAN, which printer is available for printing is constantly changing at a certain time, and we can increase the frequency of available printers in the LAN to facilitate viewing of instantly available printers. Open HKEY_LOCAL_MACHINE SYSTEM CurrentControlSetControlPrint subkey branch and change the value of the key value item "NetPrinterDecayPeriod" in the right window to a smaller value. The printer list in the browsing dialog box will be refreshed more frequently according to the situation on the network. However, there is one thing to note here: its key value is in ms, that is, milliseconds. If it is mistakenly set to be too small, the network will be stopped due to continuous refresh requests.

●Control the priority of printer port thread:

Each printer port has one or more threads responsible for sending data to the physical printer. You can control the priority of this thread by modifying the registry of Windows XP. Open the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPrint subkey branch and modify the value in "PortThreadPriority" in the right window to the value you need. Among them, 0 means "normal thread priority", 1 means "higher than normal thread priority", and all F means "lower than normal thread priority".

●Control whether the printer error is displayed on the remote computer:

Open HKEY_LOCAL_MACHINE SYSTEM Current ControlSetControlPrintProvider [PrintServiceName] subkey branch, where [PrintServiceName] is a printing supplier enclosed in quotes. Add a double-byte key-value item data in the right window, named "NetPopup", and set its value to 1 to indicate that it pops up the dialog box with a remote error; if set to 0, it prohibits this function.

●Enable trusted printing:
To prevent unauthorized printer servers from obtaining resource control over confidential printers, you may need all print jobs to come from a trusted Server server. To do this, you can modify it in the registry: open the HKEY_LOCAL_MACHINESYSTEMCurrent ControlSetControlPrintProvider LanManPrintServices subkey branch, and change the value of the key value item "LoadTrustedDrives" in the right window to 1.

In all the above operations, if the key value item is not in the original registry, it can be established by itself.