× 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.


  • Subject: WSCST - Char Substitution
  • From: Kirk Goins <KirkG@xxxxxxxxxxxxxx>
  • Date: Wed, 1 Mar 2000 08:44:43 -0800

I have a client that has several Zebra label printers doing barcode.
Currently they all attach via parallel ports on the back of dumb tubes.
These dumb tubes use 5224 emulation. Barcodes are being created in a
*M36 machine on a V4R4 720. These all work fine, just like the they
should. The RPG code has quoted strings for the control codes. Their
printer wants to see a '5E'x as the control char. In the *M36 that char
looks like upside-down sideways "L". Somewhere from the RPG code to the
printer that gets turned into a caret "^" which is what the printer
needs as it control char. 

Now we want to print to a network attached PC with a Zebra printer on a
local LPT port. To do this from a *M36 the best way for printer control
is to map the *M36 device to an OS/400 outq, but this is causing a
problem. The '5E'x is being translated to a '5F'x. This of course causes
the printer to print all the quoted control strings instead of acting on
those codes.

When I look the spoolfile on the OS/400 outq it has the upside-down
sideways "L"  '5F'x. This type of thing is a known problem when mapping
to a OS/400 outq from a *M36 printer. What I want to do is to use the
WSCST function to remap the '5F'x to the '5E'x. I did this a
llllloooooonnnnnngggggg time ago for a displaystation issue, but never a
char sub on a printer. I have looked at the WSCST man think I know what
I want to do, but would like to here from anyone who has done this
recently.

Thanks 
---------------------------------
Kirk Goins
IBM Certified AS/400 Technical Solutions
Pacific Information Systems - An IBM Premier Business Partner
503-290-2104
kirkg@pacinfosys.com
---------------------------------


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.