![]() Issue: However, the same COM port does not work as a "Generic / Text only" printer. Result: "Hello world" is printed on the rpi's console. ![]() PS> $port= new-Object System.IO.Ports.SerialPort COM1,9600,None,8,one Windows (sending end): PS> ::getportnames() With serial.Serial(port='/dev/ttyAMA0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=0, rtscts=0) as ser: When using pyserial, I can exchange data between my windows system and my rpi using the following code: I try to read the incoming printing jobs at the rpi end. Legacy System (running Windows 7) -> COM port -> cross-wired rs232 cable -> rpi rs232 extension board for GPIO -> /dev/ttyAMA0 port on latest Raspbian I try to setup my raspberry pi 3 as a virtual printer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |