ABAP

* A simple example
REPORT TEST1.
NEW-PAGE PRINT ON NO-HEADING.
WRITE: / ‘CIA Test Bar code.’.

* Barcodes are BLACK (COLOR OFF). Not Bold. Not Italic.
FORMAT COLOR OFF INTENSIFIED OFF.

* These 3 lines print the barcode
PRINT-CONTROL FUNCTION ‘BC25L’.
WRITE: ‘1234567890’ NO-GAP.
PRINT-CONTROL FUNCTION ‘ESCAP’.

WRITE: ‘ ‘ NO-GAP. " Required from 2.1
WRITE: / ‘More output’.

All printer controls must be in UPPERCASE. Use NO-GAP to prevent unwanted SPACE characters.

View the spooled print job using HEX to verify the output is as expected. No unwanted spaces or other printer controls should appear between BC25L and ESCAP.

Because P=1 the bar code will automatically print with the correct check character.

 

 


Copyright © 2000 CIA (BAR CODES) UK. All rights reserved. Reproduction prohibited.