Reputation: 1
As mentioned in https://learn.microsoft.com/en-us/windows-hardware/drivers/install/identifiers-generated-by-usbprint-sys, Windows calculte a CRC value according to printer's manufacturer name and the model of the device to match the printer driver. But how to calculate it? I try many ways but still can't get the same result as the example that's given by Microsoft.
Upvotes: 0
Views: 87
Reputation: 112627
This document provides code to compute the CRC. Note that the example given on your linked page is fake -- the CRC is not 3115. Do you have any examples of actual IDs that you're trying to match?
Upvotes: 0