Yep, it's consistent. It took me a while to make some progress on
this. I tried redoing the Centronics side of the cable, and
here's my source vs what the pi sees:
10 PRINT "Hello, world!"
20 GOTO 10
10 PRMN\ "Lmllo, orll!"
20 OO\O 10
I'm not sure how to troubleshoot...
I found this in the retroprinter handbook:
Missing Characters or Repeated Characters:
This is generally because the equipment sending the printout is using
a specific timing mechanism and not necessarily adopting the correct
Centronics signal methods for acknowledgement of data.
We have added the following configuration options to help address
this:
/root/config/handshaking
This allows you to specify how the handshaking is handled between
the computer and the Retro-Printer. This can help overcome issues
with lost characters or repeated characters when the equipment
misses the busy / acknowledge signals.
The parameter takes a value between 0 and 4.
0 = Busy On (for 5ms), Busy Off, Ack On (for signal time), Ack Off
1 = Ack On (for signal time), Busy On, Ack Off, Busy Off
2 = Busy On (for 5ms), Ack On (for signal time), Busy Off, Ack Off
3 = Ack On (for signal time), Ack Off, Busy On (for 5ms), Busy Off
4 = Busy On and Ack On (for signal time), Ack Off and Busy Off
Default is 0
Any idea how the M100 handshakes?
Will
On 3/17/24 7:18 AM, Mike Stein wrote:
Is it consistent, i.e. do you always get the same garbled output
for a given file?
At a fast glance it looks like bits 2 and/or 3 are being
dropped; have you checked the computer to Pi cable and connectors?
m
On Sun, Mar 17, 2024 at 2:14 AM Will Senn <[email protected]>
wrote:
I am finally coming back around to this. I bought a
retroprinter a year and half ago or so and shelved it out of
frustration. Now, I know a lot more about this sorta stuff
and so I pulled it out, updated the software to latest and
tried to get it working.
The PI prints a test page fine, but it won't print anything
I send it from the M100. After hours of troubleshooting, it
appears that whatever codes the pi is sending aren't DMP-15,
EPSON ESC/P or Plain Text codes... When I do llist, I see
the data coming across to the retroprinter and have set up a
file to capture, but I can't find anything that will make
sense of the data.
Here's a sample:
10 PRMN\ "lmllo"
1= RMS\ORM
=0>NORM=0\O1>RMALR,M-,Q,,M-,C,,M,0-,C,,M,1->CL,M-=0>NM\\M
20 M=0
2= O=0>OOS]B<0
30 OOS]B<=
It looks like reasonably valid data and not complete
gibberish, but who am I to judge. Is it one of:
Epson ESC/P 9 Pin - didn't work, when I tried it
Epson ESC/P 24/48 Pin
HP Printer (PCL3 or PCL5)
HP Plotter (HP-GL)
IBM ProPrinter
Plain Text- didn't work, when I tried it
Postscript
Printronix-P Series
Printronix-S Series
Seiko QT-2100P
Siemens PT-88
Apple Image Writer II
Seiko STP
Star Micronics SP700
Tandy DMP-105- didn't work, when I tried it
Help and thank you.