please dont rip this site

Printer Plug and Play IDs

http://www.google.com/search?q=cache:www.nondot.org/sabre/os/S7PlugNPlay/PNP-Parellel-v1.0b.pdf+lptenum+device-id+&hl=en&lr=lang_en

A unique Plug & Play ID will be generated for the device using the following algorithm: The MANUFACTURER & MODEL fields will be concatenated, and then a 4 digit checksum will be generated on the resulting string. After the check sum is computed the string will be truncated to 20 characters if its length exceeds 20 characters. The checksum will then be converted to a 4 character string, and appended to the above truncated string, resulting in a string of 24 characters or less.

A code fragment that illustrates how the checksum & device ID values are generated is listed at the end of this document.

For example, the following device ID string will be generated for the HP LaserJet 4P printer:

"Hewlett-PackardHP_La7EE2"

since the MFG field is Hewlett-Packard, and the MDL field is HP LaserJet 4P.

The parallel port enumerator will then prepend "LPTENUM\" (minus quotes) to the string generated above, and the resulting string will be the Plug and Play ID value. The Plug & Play ID will be used to search all known device information files (INF in Windows) available on the host for a driver which will support the device. Note the ordering of device ID values listed in the INF files will be significant in determining the device driver which is the "best match" for a given device. See the section below on "Ordering Device ID values" for a more detailed description.

http://www.osr.com/ddk/gs_sign_8k4n.htm

http://www.google.com/search?hl=en&lr=lang_en&safe=off&q=lptenum+device-id+&btnG=Google+Search


file: /Techref/os/win/ddk/plugandplayid.htm, 2KB, , updated: 2001/4/16 10:40, local time: 2024/12/27 06:18,
TOP NEW HELP FIND: 
3.144.1.100:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/Techref/os/win/ddk/plugandplayid.htm"> os win ddk plugandplayid</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .