Recognising the textual contents of the image file C:\Scan\Image.tif and naming the resulting PDF file after the value of a barcode can be achieved with:
ocrcon "C:\Scan\Image.tif" "C:\Scan\Text.pdf" /rename /barcode