Well, there is no ready to use function in CVI to do that. So you have the options to start from scratch by getting the specs of the barcode, the manual of your printer and doing some lowlevel graphics programming. Or to get/buy a 3rd party library. Googling for "barcode print library" shows up at least one product which promises to do the task.