Re: need regedit for a faster printer
- From: Klaus Jorgensen <kj@xxxxxxx>
- Date: Sat, 13 Oct 2007 11:37:45 +0200
Ken Blake, MVP wrote :
On Fri, 12 Oct 2007 22:43:18 +0200, Klaus Jorgensen <kj@xxxxxxx>
wrote:
robert lipsett wrote :thanks for the link it looks like what I need
Please note that if your application supports printing to a file named LPT1 instead of directly to the physical port LPT1, is a much better solution to your problem.
Please note that LPT1 is a reserved name in DOS and Windows and can
*not* be used for a file name. It has nothing to do with whether the
application supports it.
Yep - writing to a device name does not create a typical file on a drive. An application writing to a "file" does not distinguish between a real file name and a reserved device name. The DOS copy command is an example of this (e.g. "copy filename.txt lpt1").
For DOS applications there are usually two ways of outputting print data:
1. To a file (in this case a device name called LPT1)
2. Directly to the printer (via the BIOS or a hardware I/O-port)
Windows grabs both of them.
Using method [1], Windows knows when a print job is finished, and begins printing immediately. In method [2], the DOS application sends data without indicating an end of job, so Windows does not know if the application is still computing print data or if the print job is actually finished.
In a multitasking environment it must know this before sending data to the printer - that's why it waits for about 15 seconds before assuming an end of the print job.
--
/klaus
.
- References:
- need regedit for a faster printer
- From: robert lipsett
- Re: need regedit for a faster printer
- From: Klaus Jorgensen
- Re: need regedit for a faster printer
- From: robert lipsett
- Re: need regedit for a faster printer
- From: Klaus Jorgensen
- Re: need regedit for a faster printer
- From: Ken Blake, MVP
- need regedit for a faster printer
- Prev by Date: populate run history
- Next by Date: Removing start menu picture
- Previous by thread: Re: need regedit for a faster printer
- Next by thread: Re: Change Windows XP logo on Login and Logout screen.
- Index(es):
Relevant Pages
|