unique ID from fingerPrint scanner

i am working on a project where i need the digital data saved after the fingerprint scan is completed. when a user enters his ID# i need to extract its template. At the time of enrollment fingerPrint scanner saves the data with ID#. So how can i get the template data which the scanner uses for matching and identifying ID# in FingerPrintScan process.could anyone please help me with this.

No idea, you've neglected to tell us what scanner you're using, there are many on the market.
It may deliberately prevent you getting it even (its sensitive biometric data).

Provide information, not just description.