IBarcodeGenerator.get_old_barcode_image method. Generate barcode image using the set of parameters (for old-fashioned Barcode field).... Draw ( img ) font = ImageFont . load_default () d . text...text (( 10 , 40 ), error , font = font , fill = ( 255 , 0 , 0 ))...