1 of 1 people found this helpful
There is a setting on the printer from the front panel called 'Encoder Settings' this must be changed to 'Ethernet Encoding' this might the problem as it will only work in one mode and by default it's set to 'USB Encoding'.
Hay una configuración en la impresora desde el panel frontal llamada 'Encoder Settings' esto debe cambiarse a 'Ethernet Encoding' esto podría ser el problema, ya que sólo funcionará en un modo y por defecto se establece en 'USB Encoding'.
Ok,. two weeks after posting the problem has finally struck with me as well but after swearing quite a lot I found another reason why you get 'Failed to enumerate devces'. If you use an IP address string that doesn't exactly match the one the zebra library retrieves in a
For instance if your IP address string has additional characters such as ascii code 0 that it will fail as zscencodeap doesn't remove additional unwanted characters.
this.ConnectToSmartcardModule(encrypt, out errMsg);
An IPAddress that contains null characters will still allow the system to connect to the printer but in this direct comparison it will fail which results in the enumeration failed.
In the zxp8 v5 driver the ipaddress is held in the registry as an integer i.e. 4 bytes but in v5.2 and the zxp7 driver it's held in a array of 252 ascii characters probably to allow for IPv6. So if you use the registry to get the ipaddress of the printer (which I happen to be doing, don't ask why it's just the way this particular project has had to be done) you get a ip string of 252 characters as the ascii.getstring command converts the entire array.
Hopefully that makes sense.