The AS/400 has lots of ways to send data down to a PC - pretending to be a printer is the worst option available.
The AS/400 can be a fileserver for a PC network, just have an AS/400 script copy the output to a file in this part of the system and PC user can copy it just like any other file. The AS/400 terminal emulation software (called PC-Support in early 1990's) has a file transfer facility to download data from AS/400 files to PC files. This process can even be scripted from command line on PC side. The PC-Support software also provided a GUI interface which generated SQL to retrieve data from AS/400 tables that could be downloaded to PC's. I suspect that what your boss meant to say (or someone told him) was that he wants to capture to disk what currently coming out on paper. This is much easier to do if you intercept the process at the time the report is generated, not during delivery to printer. You should equest that the print job be altered (or cloned, then altered) to output results to a file for download. Frank At 05:54 AM 10/15/02, Richard Worwood wrote: >I've been given a little challenge by my boss which I'm kinda hoping one of >you kinda people can help me with. We need to capture some data from a >AS/400 system held centrally. The data can only be exported by way of a >print job from the AS/400 which prints it through a server not controlled by >us to a jet direct print server using port 9100 instead of the traditional >LPR/LPD Mechanism. I need to find a way to substitute a pc for the print >server so the jobs can be dumped to a text file on the hard disk of the >machine. > >I've been thinking about netcat type stuff but have never attempted >something like this before so am not quite sure where to start. If anyone >has any suggestions they will greatfully received. > >Regards > >Richard > > > > >-- >redhat-list mailing list >unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe >https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list