I would like to use an usb to com adapter to sniff data sent from computer 1 that should arrive to a printer.
I'd connect computer 2 in the place of the printer so I'd have classic com port on computer 1 side and usb port on computer 2 side.
I can program using python (pyserial should be ok to read the data) and bash.
Which kind of tools should I use to turn the sniffed data into human readable text?
Or, maybe, is it simply possible to emulate a printer on computer 2 and turn directly data into text or pdf or anything readable?