|
On Fri, 2005-03-11 at 12:59 -0500, Fleming, Gregory (ED) wrote: > > FTSTBARCD O E PRINTER OFLIND(*IN01) > D #CR C CONST(X'0D') > D #LF C CONST(X'15') > /Free > STINKFOOT = '123456789' + #CR + #LF; > Write Detail; > *INlr = *ON; > /End-Free > > > Any ideas ? > > Thanks > > Greg Fleming http://www.idautomation.com/code128faq.html#Code-128CharacterSet Gives CR as 74 and LF as 77, from code set A. I can't remember what the iSeries rules are for encoding and shifting from code128 A,B,C off the top of my head, but it seems like you would want to start out in code C for the digits, then shift to set A for the CR and LF. So, I would try: Start C, 01, 23, 45, 67, 89, Shift A, CR, LF, Stop In hex - 69 01 23 45 67 89 65 6D 6A -- Regards, Rich Current Conditions in Des Moines, IA Overcast Temp 42.8F Winds out of the West at 17mph
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.