printer link to terminal emulation

have the following lines in .bash_profile. "ln-s /dev/ttyp0 /dev/lpw10" and ln -s /dev/ttyp0 /dev/lpc10"
this allows a terminal emulation running on xp to print locally.
I would like to capture the print file and store the output in a directory.
Any ideas as to how to capture the print output?
Application running on Suse 8
Thanks
:wall:

Try linking them to an empty file instead. The contents may end up in the file.

If the terminal emulation program allows printing through the Windows printer manager, you should be able to print to any printer, including a text only generic printer to disk.
You might also consider printing through Samba