Estimating the distance from scanned barcode

Is it possible to get an estimate of how far away the scanner is from the scanned barcode, using any of the available APIs?

 

(LS2208 and DS2208)

 

best regards,

--Jan