Serial port capture printed data
HI,
I have 8 serial ports connected to 8 devices which print out PCL5 data. I want to capture the print jobs and write every job to a uniqiue file. The name of the file should be unique.
I'm looking for a stable script to do this. The program should be able to run alone in background and just look for data on the ports, create a job file name dump the data and close the file when the job is finished.
Basically I want the program to emulate as if it is a printer but instead of paper data I need the file.
Anyone a idea how to do this? I'm a newbie on programming, but a fast learner (I hope)
Want to use Linux.
thanks
|