ltpitt
asked on
Read data from serial port using Python
Hello everyone!
I would like to intercept data going to a serial printer using Python and read it...
If this is possible which kind of tools / resources you suggest me to use / learn?
I would like to intercept data going to a serial printer using Python and read it...
If this is possible which kind of tools / resources you suggest me to use / learn?
ASKER
1) Yes, the serial printer is connected to a pc
2) The pc connected to the printer is linux, the other pc I'd want to use will be probably a Raspberry Pi with Linux too
3 & 4) The pc connected to the printer can print without problems
5) No: I simply want to connect the Raspberry Pi instead of the printer and get the data instead of the printer
2) The pc connected to the printer is linux, the other pc I'd want to use will be probably a Raspberry Pi with Linux too
3 & 4) The pc connected to the printer can print without problems
5) No: I simply want to connect the Raspberry Pi instead of the printer and get the data instead of the printer
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It looks clear and straightforward!
Thanks
Thanks
1.) you have a serial printer connected to a PC?
2.) What is your operating system?
3.) You have an application, that can print to your printer?
4.) printing is successful with that application?
5.) you want to print from that application and monitor what is going on the serial port, while the printer is connected and printing?