HP Forums
IR print on a computer - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not remotely HP Calculators (/forum-9.html)
+--- Thread: IR print on a computer (/thread-10165.html)



IR print on a computer - salvomic - 02-14-2018 11:19 AM

hi,
I'd like to print from HP-42s or HP-41CX or DM 42 or HP-50g, not only in a HP 82240B, but in a PC or Macbook via something like a sort of infrared receiver and a program, to have Postcript prints (like with PILbox and Pyilper)...

Ideas?
Has anyone tried with an IR?

Salvo


RE: IR print on a computer - Massimo Gnerucci - 02-14-2018 11:32 AM

(02-14-2018 11:19 AM)salvomic Wrote:  hi,
I'd like to print from HP-42s or HP-41CX or DM 42 or HP-50g, not only in a HP 82240B, but in a PC or Macbook via something like a sort of infrared receiver and a program, to have Postcript prints (like with PILbox and Pyilper)...

Ideas?
Has anyone tried with an IR?

Salvo

It would be too easy...
Since the protocol is Red-Eye or SIR and not IrDA you cannot use the IR sensors available on some PCs.

I remember I saw on eBay, some 15-20 years ago, a kludge to connect on the serial port of a PC that permitted to receive IR data from HP calculators: there were several offered, but they always went for too much to justify the use I could have had for them.


RE: IR print on a computer - salvomic - 02-14-2018 11:42 AM

(02-14-2018 11:32 AM)Massimo Gnerucci Wrote:  It would be too easy...
Since the protocol is SIR and not IrDA you cannot use the IR sensors available on some PCs.

I remember I saw on eBay, some 15-20 years ago, a kludge to connect on the serial port of a PC that permitted to receive SIR data from HP calculators: there were several offered, but they always went for too much to justify the use I could have had for them.

thank you Massimo, I knew that the problem is with SIR (not IRDA), I didn't knew about those kludges.
What a pity! So at the moment it is easier to print on a Mac from the 41c or 71c than from a more recent calculators...
Anyway, let's hope Smile

Salvo


RE: IR print on a computer - Massimo Gnerucci - 02-14-2018 11:47 AM

I just found the article I was looking for.

From Martin Hepperle; you need a receiver and an Arduino.

Still interested?


RE: IR print on a computer - salvomic - 02-14-2018 12:00 PM

(02-14-2018 11:47 AM)Massimo Gnerucci Wrote:  I just found the article I was looking for.

From Martin Hepperle; you need a receiver and an Arduino.

Still interested?

Interesting article!
I'll read it in the afternoon.

thanks!


RE: IR print on a computer - ijabbott - 05-18-2018 11:29 PM

I built one, but rather than opening up and hacking the C4103A IR transceiver unit, I used an external box containing a cheap Arduino Nano clone.

[Image: 27327694827_7e64f8f3ae_c.jpg]
HP C4103A IR transceiver unit plus homemade Red Eye protocol decoder unit based around an Arduino Nano clone (running Martin Hepperle's decoder software).

The inline 8-way Mini DIN socket came from an Apple Mac Mini serial extension cable, easy to find on eBay. Just make sure one of the ends is female and cut it off.

[Image: 40392215500_e3f8f44449_c.jpg]
Close-up of 8-way Mini DIN socket on my Arduino based Red Eye protocol decoder. The socket and it's flying lead came from an RS232 extension cable for an Apple Mac Mini.

I soldered the required signal wires, ground and 5V wires directly to the Nano. Note that the 5V rail was a few hundred millivolts below 5V due to the presence of a Schottky diode between the USB 5V rail and the Nano 5V rail on the back of the Nano. I shorted this diode out (not shown in the photo below) to get the full 5 volts going to the C4103A transceiver. I used hot melt glue and cable ties to secure the cable and hot melt glue to stick the Nano to the inside of the lid of the ABS project box. Then I cut slots in the main part of the project box for the cable exit and the Mini USB connection.

[Image: 28326191118_27b724fc93_c.jpg]
Arduino nano clone acting as a USB serial interface to a HP C4103A IR transceiver unit, running Martin Hepperle's Red Eye protocol decoder software for HP 82240A/B IR printer emulation.

The ABS project box was an MDRX2KL06 from https://www.ebay.co.uk/itm/182041466795. Internal dimensions 54mm x 24mm x 14mm (external 58x28x18mm).