Re: Question about lp5250d and SCS2ASCII
"Alberto" <a.ernestini-UVFfO7pX/[email protected]>
| Newsgroups | gmane.comp.emulators.tn5250 |
|---|---|
| Organization | midrange.com |
| Message-ID | <[email protected]> |
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. "James Rich" <[email protected]> ha scritto nel messaggio news:mailman.24563.1271971826.2580.linux5250-Zwy7GipZuJitq2lpoERdew@public.gmane.org > On Thu, 22 Apr 2010, Alberto wrote: > >> Small but important update : >> >> I've did more tests about and i've noticed another thing : >> >> The "split" seems it not depends from the size. >> This is the scenario i've got : >> 1) spool file of 928 pages get splitted at page 560 >> the last chars (ASCII) of the output file(PCL) i get are >> "1B26612D3030303132482D0DFF &a-00012H-?" > > I'm a little bit confused. Do you want the split to happen or not? At > first I thought you were saying you wanted the spool file to be split, but > now it appears that you don't. > > James Rich > > if you want to understand why that is, there are many good books on > the design of operating systems. please pass them along to redmond > when you're done reading them :) > - Paul Davis on ardour-dev -- This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.