Prev Previous Post   Next Post Next

how to disable automatic printer detection?

Posted: 11-21-2003, 11:23 PM
I have an application that has to print a line at a time to a dot-matrix
printer, as a security log.
The application thus needs to have exclusive access to the printer, and the
problem is that
the Windows print spooler, if it knows about the printer, also tries to
obtain exclusive access
to the printer. On Windows 2000 we just didn't set up a local printer.

On XP, however, every time the system starts up, at the first logon, Windows
autodetects
the printer & sets up a local printer for it.

Is it possible to disable automatic printer detection?

Alternately, is there a way to print a line at a time that's compatible with
the spooler
service that (a) does NOT eject a page after each enddoc call, and (b)
doesn't
create a spool file for each little one-line print job (these can happen up
to several times
a second, so it's best not to brutalize the disk unnecessarily). Right now
we're just
opening "LPT1", but if there's another way, I'd like to hear about it.

Thanks,
Brian Knittel


Reply With Quote

Responses to "how to disable automatic printer detection?"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic scene/clip detection casey Windows XP Movie Maker 6 10-14-2003 03:56 PM
Disabling automatic hardware detection Bryan Windows XP Hardware 1 08-03-2003 10:04 PM
how to disable parallel port plug and play device detection Mário Simões Windows XP Security & Administration 0 07-12-2003 06:06 PM
printer detection Don Windows XP Printers / Scanners / Fax 0 07-10-2003 08:58 PM
Disable Automatic Hardware detection Caibee Windows XP Device Drivers 0 07-10-2003 05:26 AM