|
Hello All-
Been struggling with trying to get Latvian/Lithuanian language support
running. On the AS/400 we use cp1112, which properly represents all of the
nice characters we need. On the output side, we have some ibm6400 printer
beasts ready to support cp921, which also has all the characters we need.
so far so good.
The problem is actually doing the cp translation.
I understand that transmaps.h is the conversion table used by lp5250d. I
have created two tables one a 1112-921 conversion, and a second 921-1112
conversion. I have also added two lines at the index at the end "921" and
"1112" with appropriate references. I have recompiled the tn5250 package
and installed. I then ammended the tn5250rc to include the map=1112
statement for my printer. When I run the lp5250d eotest, it connects and
immediately dumps. When I review the trace file, it appears that something
is forcing things back to cp37... and dumping the connection.
Anybody have an idea what is going on?
vr00110@lvsrv26:~> more eotest.trc
lp5250d version 0.17.2, built on Feb 15 2006
host = rtb48.baltic
Non-Blocking
tn5250_char_map_new: map = "1112"
HOST, This->status = 8 0
GotVerb(2):<IAC><DO><NEWENV>
GotVerb(3):<IAC><DO><NEWENV>
HOST, This->status = 8 0
GotVerb(2):<IAC><DO><TERMTYPE>
GotVerb(3):<IAC><DO><TERMTYPE>
GotSB:<IAC><SB><NEWENV><SEND>
<USERVAR>IBMRSEED<7E 79 98 9A 52 E7 79 E3>
<VAR><USERVAR><IAC><SE>
SentSB:<IAC><SB><NEWENV><IS>
<VAR>DEVNAME
<USERVAR>eotest1
<VAR>IBMMFRTYPMDL
<USERVAR>*WSCST
<VAR>IBMWSCSTNAME
<USERVAR>QWPDEFAULT
<VAR>IBMWSCSTLIB
<USERVAR>*LIBL
<VAR>TERM
<USERVAR>IBM-3812-1
<VAR>IBMFONT
<USERVAR>12
<VAR>IBMTRANSFORM
<USERVAR>1<IAC><SE>
GotSB:<IAC><SB><TERMTYPE><SEND><IAC><SE>
SentSB:<IAC><SB><TERMTYPE><IS>IBM-3812-1<IAC><SE>
HOST, This->status = 8 1
GotVerb(2):<IAC><DO><END_OF_REC>
GotVerb(3):<IAC><DO><END_OF_REC>
HOST, This->status = 8 1
GotVerb(2):<IAC><WILL><END_OF_REC>
GotVerb(3):<IAC><WILL><END_OF_REC>
HOST, This->status = 8 1
GotVerb(2):<IAC><DO><BINARY>
GotVerb(3):<IAC><DO><BINARY>
HOST, This->status = 8 1
GotVerb(2):<IAC><WILL><BINARY>
GotVerb(3):<IAC><WILL><BINARY>
tn5250_char_map_new: map = "37"
Dumping buffer (length=73):
@record +0000 004912a0 90000560 060020c0 003d0000 .... .-. .{ .
@record +0010 c9f9f0f2 c8e5c2c8 e4c24040 c5d6e3c5 I902HVBHUB EOTE
@record +0020 e2e3f140 40400000 00000000 00000000 ST1
@record +0030 00000000 00000000 00000000 00000000
@record +0040 00000000 00000000 00
@eor
tn5250_stream_get_record: offset = 11
Here is the config:
eotest {
host = rtb48.baltic
env.DEVNAME=eotest1
map = 1112
trace = /home/vr00110/eotest.trc
env.IBMMFRTYPMDL = *WSCST
env.IBMWSCSTNAME = QWPDEFAULT
env.IBMWSCSTLIB = *LIBL
outputcommand = scs2ascii > /home/vr00110/eotest.txt
}
Elmars Ositis
Head of IT
HVB Bank Latvia AS
Elizabetes iela 63
Riga, LV-1050
Latvia
tel:+371 708 5531
fax: +371 708 5507
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.