CardExchange Producer is capable of capturing and storing a Mifare can capture and store a MIFARE DESFire’s card UID at the time of print. The card UID can be converted to decimal and hexadecimal with the help of Python scripting in the Card Designer.
...
Create a new MIFARE DESFire definition, and set up the configuration of the DESFire application according to your preferences.
...
Insert a Text box on the card.
...
Step 3:
A window will pop - up, and you change the “Fixed Value” to “Script”.
...
After you change the “Fixed Value” to “Script” you define it as uid_var. Then another A new window will appear , it’s where you attribute the uid_var the value of UID. Then Press Ok.
...
Your Insert new object window should look as like the following image that follows , and then you click on the arrow on the left side of varuidvar_uid.
...
Step 6:
Select MIFARE DESFire UID.
...
Go to functions.
...
On the Functions tab, insert the Python Script.
...
Close the properties window, save the changes made, and you should have the expected result.
Please let us know about your results.
Thank you.
To convert the DESFire to UID, follow this next article to achieve the hex format in the card design: