PDA

View Full Version : AS400 RPG BARCODES



Guest.Visitor
12-03-2002, 08:03 AM
Is there any reference or way to program through RPG to print barcodes from data to an Ascii printer such as an Okidata 591?

Guest.Visitor
12-03-2002, 08:03 AM
Two methods come to mind. 1. If the printer is configured as IPDS/AFP, you should be able to code the DDS keyword BARCODE for the data value and the system will do the rest. That is assuming the barcode is not compressed type (ie UPC-E). 2. You could code the ASCII escape characters in your program that will "signal" the printer that the string that follows are ASCII characters that tell the printer what you want to do. Such as, print this data string using this font, or using this barcode id. To use this method, you would need to have the printer book that illustrates the ascii codes needed and you may need a "card" that contains the barcodes you want to use. hth.