× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Art,

Yes I have accomplished what you are asking in the past when printing from
OS/400. The OKI manual will give you the ASCII hex equivalents to the basic
commands.

You then can enter the ASCII values (ex. CHR$(27) is hex 1B) as ASCII
Transparent hex values (for this single value example X'03011B in your
program) or you can use Transparency and Convert Data keywords to enter the
values that need to become ASCII hex information as EBCDIC Values in your
program. By this I mean you would code the numeric 1 and the capital B as
EBCDIC characters in your field and when you run the conversion against them
with the OS/400 keywords in your program, they become the ASCII hex value 1B
heading towards the printer.

I can send your more information off list if you need it.

Best Regards,

/Paul
--
Paul Tykodi
National Product Manager
Print4sight Inc.

p: 603-431-0606 x115
f: 603-436-6432
E-mail: p.tykodi@xxxxxxxxxxxxxxx
www.print4sight.com

>date: Thu, 4 Sep 2003 12:17:18 -0400
>from: "Art Tostaine, Jr." <artjr@xxxxxxxxxxx>
>subject: Okidata 395 barcode print?
>
>Anyone doing this without any extra hardware?  We have some 395's hooked
>up through JetDirects.
>
>According to the manual, I could print the barcode using Lprint commands
>in Basic (great), like this:
>
>50 PRINT #1, CHR$(27) ; CHR$(16) ; "B"; CHR$(10) ; "1234567890"
>
>Is there any chance I could get these codes converted to Ebcdic so that
>I could put them in my spooled output, would they even get past the
>jetdirect?
>
>Any info appreciated.
>
>Art Tostaine, Jr.
>CCA, Inc.
>Jackson, NJ 08527


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.