How to make DOS programs printing faster in Windows
S1 S2
Introduction: This article describes how to speed up the print from the DOS, DOS and Windows compatible printer. If you need a printer to print using the DOS and Windows are not compatible with DOS, Windows only as (GDI) or virtual printer with a USB printer (WinFax to, pdf writer, etc.), please see : Dos how to print a Windows-only printers. Problem: DOS application if it is to run Windows NT-based systems (Windows 2000, XP, 2003, Vista), you may find please. Spool print jobs for a few seconds, sometimes minutes, especially when the network printer. It may also occur on Windows 95,98, Me machine. The problem is mainly two reasons: how to manage the printing device DOS programs using the DOS program on how the machine& 39;s CPU DOS printing devices to manage, DOS era, most printers Dot matrix and is connected to the parallel port (lpt1 and:, lpt2: or lpt3:) to send a DOS program, a typical binary data (characters) to one of these ports (usually to LPT1:). DOTTOMATORIKKUSUPURINTA printing can start as soon as the data before submitting all the data port and has been sent to the program. DOS programmers to click the print did not need the device (port), the print job at the end of the printer for the job is already close. Windows on the things that are different. Laser printers and other e-mail you need to receive full-page newspaper graphical rendering before. Also, running multiple applications / print queue on the same machine printing the need to introduce, especially for network printers. Therefore, DOS program does not work, click the printer port, for printing jobs, then, Windows knows that work is really finished. I& 39;m waiting for the expiration date, the time-out value before deciding on the next working last spool. If you are in this situation, DOS programs you can close once we print. Start printing the job appears to be processed immediately for all the DOS operating system itself has been closed, including the printer port. To avoid this problem resolved best to fix the program of the DOS, the original programmer. Further articles I& 39;ll tell you, how to do this is a popular programming languages such as DOS basic and Clipper. A programmer to determine if the above Windows you can change the timer to make a short delay. Value has not been set too low or the printer to start printing before the DOS program is working to create a truly finished. 1) If you are running Windows NT-based systems (2000, XP, the Vista) timeout, the value is stored in the registry. Using regedit care. It is very dangerous. The wrong behavior if you are running, your machine can also refuse to restart. Registry (Start - & gt; " run - > R e gedit) please click on:. HK EY LOCAL MACHINE] Click: The system then click: cu rrentcontrolset] click: Control, and then: Wow, here to find lpt timeout property. Double-click you can choose, depending on the value of seconds, then restart the machine changes. 2) If the old runnign the Windows OS (9x/me) C to search the drive, System.ini file open Notepad (MS - Word files do not use word processing and other), 386Enh] section [the network] to find the missing cases are as follows: [the network] printbuftime = 10 [ifsmgr] printbuftime = 10 to 10-second timeout to set up, please. And restart the machine changes. DOS CPU usage Unlike Windows, MS - DOS is a single-user operating system. If you plan to run only one program to make the entire maintenance of the CPU itself can also work as soon as possible. This is a common problem caused by the recent Windows machines running on DOS programs: CPU hogging required. Usually, when the polling of the keyboard (during the wait state), DOS programs running in an infinite loop, as fast as possible to check. The DOS is any trouble did not all, Windows on the system as they may, " busy & quot; sure you can not have other tasks (Print Spool, including the process, which usually starts when the DOS program is finished printing and is waiting for user input is usually a menu). Own to check whether, CPU& 39;s DOS program is actually hogging the Task Manager, please try to leave it open in the event. Ctrl Alt + Del key as you click the key & quot; Performance & quot; tab if you go frequently, CPU usage will increase by 100 percent using a DOS program, then , You have this problem. Many DOS programmers to solve this problem and can not be used, keyboard polling routine is usually the low level of routine has been implemented, DOS compiler itself. Fortunately, some patches are released by the popular DOS compilers include & quot; Release CPU " command in the loop. You can find some 100% of the CPU, DOS is a patch, Citrix& 39;s website. The above solutions that page, you can not be applied to the case. tamedos you want to try as a replacement, Windows command prompt, which is supposed to solve this problem.