Deepen Win2000 Registry (9)

zhaozj2021-02-08  230

Local and network printers

Introduction

Print, especially network printing, is a major function of the operating system. Windows 2000 provides an outstanding support in this area, including support, assign printer ports, and managing printer properties for G u I installation printers.

To install the printer although the printer is a physical component, it is used as a hardware installation, but in Windows 2000, they are considered a software element called a print queue. Windows 2000 provides a powerful graphical wizard to help you complete the add new physical printer and create a print queue for the printer.

Allocating the printer port In Windows 2000, the port is not an ordinary content. In addition to the ordinary parallel ports and serial ports included with the machine, there are shared network printers, famous pipes, fax systems, HP DLC (Data Link Control, Data Link Control) network drivers Jetd IRECT port, even through IP addresses. And the i NTERNET printing of the LPD (Line Printer Daemon) UNIX server. Each device has an installer or document to guide the system administrator to complete the work of the allocated printer. If some reason is required to use techniques that are not described later in this chapter to change the printer port, then before doing this, be sure to refer to the relevant documentation of the device.

Managing printer properties Windows 2000 has a very useful graphical user interface (GRAPHICAL USE Interface, GUI), you can use it to manage the properties of the printer. This G U i provides you with the ability to add and delete printers and devices similar to printers, while also allowing special properties of each printer, respectively. However, when this G u i does not process the problem that the G u i cannot be handled, you can use the registry to solve the problem.

Enable printing alert

When the remote print job returns a message that prints a server error, Windows 2000 allows the beep warning user to be enabled during each retry (once every 1 0 second). To enable the beep event, you can follow these steps: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to S Y S Y T E M / C U R R E N T C O N T R O L / P R I n T. Click this subkey to select it, display its value in the right window. 4) The entry to the value B e p e n a bl d D is positioned. Use the D WO R d editor to change the value of B E E P e n to 1, and beep is enabled.

Prohibit the printer's browser thread

The computer running Windows 2000 has a feature called "B R O W S E R" that can advertise the existing resources of this machine to other computers on the network. To prohibit the existing printer situation of a Windows 2000 computer, you can modify the registry: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to S Y S Y T E M / C U R R E N T C O N T R O L / P R I n T. Click this subkey to select it, display its value in the right window. 4) The entry of positioning the value D i s a bl e s e r v E R T H r e a d. Use the D WO R d editor to change the value of D i S A B L E R E R T H R E R T H R ER to 1, and stop the printer of the advertisement computer. Reduce data throughput in rapid printing

Quick Print is a feature of Windows 2000, which allows the printer to be sent when the print job is being created by the application. In some cases, this will result in excessive data to the printer (for example, when a network is loaded). To reduce the throughput rate of data by setting a value, you can modify the registry with the following steps: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to S Y S Y T E M / C U R R E N T C O N T R O L / P R I n T. Click this subkey to select it, display its value in the right window. 4) The entry of positioning the value F a S T P R I N T S L O W D O W N T H R E S H O L D. Using the D WO R d editor to change the value of F A S T P R I N T S L O W D O W N T H R E S H O L D to a smaller setting (in milliseconds).

Set the speed of fast printing

Quick Print is a feature of Windows 2000, which allows the printer to be sent when the print job is being created by the application. In some cases, this will cause the printer to shut down because the application is suspended when sending data. To correct this error, you can modify the registry as follows: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to S Y S Y T E M / C U R R E N T C O N T R O L / P R I n T. Click this subkey to select it, display its value in the right window. 4) The entries of the value F a S t p R I n t t H R O T L e Ti M e O u t are positioned. Use the D WO R d editor to change the value of F A S T P R I N T T T Tt H R O T L ETI M ET to a smaller value so that the speed of data is slower (the slowest speed is one byte per frame). Set fast print timeout value

Quick Print is a feature of Windows 2000, which allows the printer to be sent when the print job is being created by the application. In some cases, this will cause the print queue to suspend a job because the application suspended the job in the application when transmitting data. To correct this error, you can modify the registry as follows: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to S Y S Y T E M / C U R R E N T C O N T R O L / P R I n T. Click this subkey to select it, display its value in the right window. 4) The entries of the value F A S T P R I N T Wa I T Ti M e O U T are positioned. Using the D WO R d editor to change the value of F A S T P R I N T Wa I T Ti M E O U T to a large value to accommodate slower applications.

Set the decay time of the print queue

On a busy network, which printer can be printed in a busy network is constantly changing. To avoid users constantly reselect the printer (because the printers originally selected are unavailable), you can set the decay time for the printer list (print queue). To set the decay time, you can modify the registry with the following steps: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to S Y S Y T E M / C U R R E N T C O N T R O L / P R I n T. Click this subkey to select it, display its value in the right window. 4) The entry to the value N e t p r i n t e R d e c a y p e r I o d. Using the D WO R D Editor to change the value of N e T P R i N t e R D E C a Y P R I O D to a smaller value, the list of printers in the browsing dialog will be refreshed more frequently based on the situation on the network. WARNING Due to certain strange reasons, the value of N e T P R I N t E R D E C A Y P E R I O D is from -1 hours equal to 3 600 000 milliseconds. If the unit that is incorrect is a minute, the network is stopped because it continuously issues a refresh request. Control the priority of the printer port thread

Each printer port has one or more threads responsible for sending data to a physical printer. You can control the priority of these threads by modifying the registry: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Windows 2000 is found (usually W I N n). Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to S Y S Y T E M / C U R R E N T C O N T R O L / P R I n T. Click this subkey to select it, display its value in the right window. 4) The entry is positioned to the value P O R t t h R e a d p R I O R I t y. The value of P O R t t h R E A D P R I O R I T T T H R E a D P R I O R I T T T H R E A D P R I O R I T Y is used in Table 9 - 1 using the D WO R D editor.

Table 9-1 Thread Priority Value Description 0 Normal Thread Priority 1 Compared to Normal Thread Priority High 0 x f F f F f F is lower than normal thread priority

Set priority for printer scheduling threads

Tasks assigned a print job involve a thread with priority. If you observe irregular delays during the scheduled print job, you may need to adjust the registry following the steps below: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Windows 2000 is found (usually W I N n). Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to S Y S Y T E M / C U R R E N T C O N T R O L / P R I n T. Click this subkey to select it, display its value in the right window. 4) The entry positioned to the value S c H e D U L E R T H R E A D P R I O R I T Y. Use the D WO R D editor to change the value of S C H E D U L E R T H R E A D P R I O R I T Y as shown in Table 9 - 1. Set priority class for printers

In the old NT system that may be part of the server-based network-based network-based network, the printer priority class can be set by the application and system administrator by modifying the registry, steps below: 1) Open the "Start" menu and select "Run" . Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to S Y S Y T E M / C U R R E N T C O N T R O L / P R I n T. Click this subkey to select it, display its value in the right window. 4) The entries of the value P R i O R I t y cl a s s are positioned. The value of P R I O R I T Y C L A S s is changed to the value shown in Table 9 - 2 using the D WO R D editor. WARNING In Windows 2000, P R I O R I T Y C L A S is replaced by S P O L E R P R I O R I T Y. Setting P R I O R I T Y C L A S S has no effect on Windows 2000, only affects the old version of Windows NT. Table 9-2 Priority Class Value Description 0 Normal Priority Class 1 High Priority Class 0 X f F F F F F FAP Free Priority Class

Set priority for printer fake offline programs

You can give priority categories to printer fake offline programs by adding SP O L E R P R I O R I T Y. To do this, you can do this: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to S Y S Y T E M / C U R R E N T C O N T R O L / P R I n T. Click this subkey to select it, display its value in the right window. 4) Creating an entry S P O O L E R P R I O R I T Y, its type is R e g_D W O R D. The value of the S P O O L E R P R I O R i T Y is used to the value shown in Table 9 - 2 using the D WO R D editor. Set the printer configuration DLL path

The printer is not really configured by Windows 2000, but is configured by the dynamic link library (D l1) provided by the printer manufacturer, which is responsible for providing dialogs and internal hooks to complete work. If a printer cannot locate its configuration D L, it will be wrong when the user tries to configure the printer. To change this error, you can modify the registry as follows: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to System / CurrentControlSet / Control / Print / Environments / [NT Enviro Nment] sub-item, where [NTE NVI RO NMENT] is a description processor Value (Similar to "Windows NT X86"), [Printer Driver Name] is a string that describes the printer (Similar to "EPSON STYLUS Color"). Click this subkey to select it, display its value in the right window. 4) Creating a value of C O N f I g U R A T I O N f i l e. Use the string editor to change the value of C O N F I g U R A T I O N f i L E to specify the correct path of the printer configuration D L1 (acquired by document or using file searches).

Set the path to the printer data file

If a printer cannot find its configuration data file, it will be wrong when the user tries to configure the printer. Data files are usually installed in the registry, and the file may be accidentally removed, renamed or delete it. To change the registry to reflect the current location and name of the file, you can do this: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to locate the system / currentControlSet / Control / Print / Environments / [NT Enviro Nment] sub-item, where [NT EnViro Nment] is a description processor Value (similar to "Windows NT X86"), [Printer Driver Name] is a string that describes the printer (similar to "EPSON STYLUS Color"). Click this subkey to select it, display its value in the right window. 4) Creating a value of D A T A f i l e. Use the string editor to change the value of D A T A f i l E to configure the correct value of the data file (you can access documents after installation or using file search). Set the DLL of the printer driver

In Windows 2000, the printer driver file must be in the location specified by the registry. Sometimes the entry is incorrect, or the file is faded or removed. If you can't let the printer work, use the following steps to check the registry, make sure the drive's path is valid. 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to locate the system / currentControlSet / Control / Print / Environments / [NT Enviro Nment] sub-item, where [NT EnViro Nment] is a description processor Value (similar to "Windows NT X86"), [Printer Driver Name] is a string that describes the printer (similar to "EPSON STYLUS Color"). Click this subkey to select it, display its value in the right window. 4) Locate the entry to the value D R I v e r. Using the string editor to ensure that the value of D R I v E R points to the actual position of the driver D L, the D L1 on that position is valid.

Determine the version of the printer driver

Although most of the printer drivers include the current version number (or equivalent information) in its configuration dialog, some are not. You can use the registry to determine the version number of the printer driver, steps below: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to locate the system / currentControlSet / Control / Print / Environments / [NT Enviro Nment] sub-item, where [NT EnViro Nment] is a description processor Value (similar to "Windows NT X86"), [Printer Driver Name] is a string that describes the printer (similar to "EPSON STYLUS Color"). Click this subkey to select it, display its value in the right window. 4) Locate the entry of VE R S I O N. Use the D Wo R D Editor to view the current version number. Set the driver for print monitor

Each network printer port has a print monitor. If there is a problem with the network port, you can use the following steps to check the registry, make sure the network port driver D L is in the correct location: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Windows 2000 is found (usually W I N n). Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the Tree control of the left window to locate the System / C Urrent C ontrol S et / c ontrol / p rint / m onitor / [p rovider network port], where [P Rovider Network Port] is the network printer port Port name. Click this subkey to select it, display its value in the right window. 4) Locate the entry to the value D R I v e r. Use a string editor to ensure that the path and D L L are valid.

Set the print switch of the specified port

Each printer port receives the formatting control character sent by the L P R Print Monitor. In individual cases (when this value is lost or destroyed), you may need to modify the registry and change the default formatting control character. To do this, you can do it according to the following steps: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Windows 2000 is found (usually W I N n). Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to position to System / C Urrent C Ontrol S etc / c ontroL / P RINT / M onitor / L Ocal P Ort / P Orts / [P O Rt Name] sub-item, where [P O RT Name] is a printer port (for example, "LPT 1:"). Click this subkey to select it, display its value in the right window. 4) Position the entry to the value P R I n T s W i t c h. Using a string editor sets the value of P R i N T S W I t c h to the correct character (as explained in the printer document, it is generally L, but in some cases f). Check each printer settings

The registry contains a lot of information for each printer on the Windows 2000 network. The following describes how to use the registry to see the printer settings at the time of troubleshooting: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to locate the System / CurrentControlSet / Control / Print / Printer / [Printer Name] subkey, where [Printer Name] is the value of the printer's print queue in the printer folder (for example, "Epson Stylus Color "). Click this subkey to select it, display its value in the right window. 4) This value is different for different printers. Check if this value is consistent with the problem you try to solve, the relevant information should be in each printer document.

Set the print vendor's DLL

Each installed print vendor has a registry entry to its D l L. If there is a problem, you can access this entry as follows: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Locate the tree control of the left window to the System / CurrentControlSet / Control / Print / Provider / [P R i N TS E RVICE NAME] subkey, where [Print Service Name] is the name of the print provider. Click this subkey to select it, display its value in the right window. 4) Locate the entry of the value n a m e. Use the string editor to ensure that the value of N A M e points to the correct path and D L (obtained according to the documentation or using file search). Control whether the printer error pops up on the remote machine

You can control whether the printer error is displayed in the pop-up dialog of the remote machine. To do this, please modify a print provider in the registry in the following steps: 1) Open the Start menu and select "Run". Click the "Browse" button to start navigation until the root directory of Wi N D O W S2 0 0 0 (usually W I N N T) is found. Go to the S Y S t e m directory and find R E G E D T 3 2. E X E, select it to the dialog and click the "OK" button. The Registry Editor is launched, and all configuration units are displayed in different laminate windows, respectively. 2) Select "Window" menu item H k e y _ L O c a l _ m a c h i n e, its sub-window display. Maximize this window for use. 3) Use the tree control of the left window to locate the System / CurrentControlSet / Control / Print / Provider / [P R i N TS E RVICE NAME], where [Print Service Name] is the print supplier enclosed with quotation marks. Click this subkey to select it, display its value in the right window. 4) If necessary, add value N e t p o p u p, which type is R e g _ d w o r d. Set this value to 1. Enable the Remote Error pop-up dialog box, set to 0, prohibit popup.

Enable trusted print

转载请注明原文地址:https://www.9cbs.com/read-3284.html

New Post(0)