The recommended technique for printing bar codes in banners is the CTX/PTX technique. This is the simplest to implement. It is also recommended that you use the OUTPARM option, so that an OUTPUT statement is not required in CTDPRINT.
Bar Codes in Banners