× 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 again, i am still working on this "problem" and i want to share my
thoughts with you all.

At the start i've thought it was a "Iseries" problem caused by some strange
data sent from the Iseries to the lp5250d, but the same "bad" spool file
sent to another Iseries system and printed via lp5250d has the same problem.
I suspect that it could be a "codepage" problem.
Let me explain better : i use lp5250d under my Ubuntu 9.04 box and the LANG
variable is set to it_IT.UTF8 .
I've noticed by example that italian specific chars like òàùìè that are
shown on the spool file will get badly translated on UTF8 with a graphic
char or something like this on the output pcl file.
Now imagine if a character like this apppears on a page and the emulator
"thinks" it's a EOF char , it probably could close the file.
Couln't this could happen also with other chars ?
I am still trying to find the right way for make you reproduce the problem,
so i'll let you know asap !! :-)
Thanks for your time!
Ciao.
Alberto.


"Alberto" <a.ernestini@xxxxxx> ha scritto nel messaggio
news:mailman.24831.1272099037.2580.linux5250@xxxxxxxxxxxxxxx
Hi Scott, let me organize about, i will tell you exactly how to reproduce
the problem .
Thanks.
Ciao.
Alberto.

"Scott Klement" <tn5250@xxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:mailman.24724.1272043072.2580.linux5250@xxxxxxxxxxxxxxx
Can you tell us how to reproduce this problem? You don't have to debug
lp5250d for us -- just tell us how we can create the same problem on our
machines.


On 4/23/2010 2:52 AM, Alberto wrote:
Hi James , thanks for your answer!
I'm sorry for the mistake, probably caused by my very BAD english and
no, i
don't want that the split happens because i sometimes do some kind of
"postprocessing" of the output file and i really need to have only one
file.
Means one spool file with one output file, nothing more and nothing less
:-)

Looking at the spool file from the AS/400 side, dumping it with CPYSPLF
*FCFC and *PRTCTL it seems there isn't nothing special at the page
where
the file get splitted.
Then i've generated a output file using Iseries Access for Windows using
the
same configuration of lp5250d, and at the page where the split happens
there
is no trace of the ÿ character, and the file is complete.

If i concatenate the two files i get when the problem happens, the
output
pcl file is absolutely valid and usable.
So the lp5250d seems that sometimes receives some unpredictable char
from
the AS/400 and closes the output file before the writer has completed
the
job, then the writer still sends the remaining pages and the emulator
creates a new file.
This is what i've noticed, let me know if you need more informations and
tests.
Thanks a lot!
Ciao.
Alberto.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.