The media/black bar sensor detects the dark, pre-printed bar on the media, so a path in the center of the paper must be kept free of dark, pre-printed graphics.
Dark, pre-printed graphics refer to any symbols, barcodes, text and/or colored areas that have been applied to the receipt paper rolls before they have ever been used in the printer.