Internet thermal printer
What this project is intended to be:
- A toy printer (for my son) with some light and sound signal connected to the Internet and accessible by some web interface. Anyone with password (basic auth configured in .htaccess) could send a graphic and/or text message to the printer which would immediately flash the light, beep the buzzer as well as print the message. Protocol to the printer (on the network level) : whatever a.k.a my own & super-simple.
What this project shall not become. EDIT: It evolved.. (note to myself because I tend to complicate things):
- An over-engineered wireless CUPS compatible Postscript full featured printer which also makes coffee.
After deciding that I would try to make such a thing which took approx. 1 second after seeing Jim’s site I went to allegro.pl (local EBay. BTW we have ebay.com.pl here in Poland, but allegro seems to be winning the battle) and found something printer-ish alike and seemingly broken, with some parts missing. It is a Intermec PW40 mobile printer. Useful links I found on this printer:
- Manuals - Intermec site (those are for PW50, but I assume they are compatible in some way).
- Intermec community - they even have forum, and some community around the site. Photos after dismantling the thing:
![]() |
![]() |
![]() |
Main Board | Main board mounted on the plastic frame. | Main board |
![]() |
![]() |
![]() |
Main board | Bottom view. Without the casing. | Printer from above without the casing. |
![]() |
![]() |
![]() |
The head. It is 2005 made I believe. | Thermal head sticker. | Thermal head closeup |
![]() |
||
7.2V Batteries, pretty dead. |
The sticker is important because it has markings which informs you about certain resistance levels in the head. My head is a “C” type.
Looks like it uses ESC/P like Jim’s printer and 7.2V battery pack also. Looks promising (at least some standard language). Elements found on the main board of PW-40:
- Toshiba TMP95C061BF : some 16 bit microcontroller. TLCS-900 family. No free C compiler available according to Wikipedia.
- NEC D431000AGW : SRAM 1Mb
- ST M29F040B : Flash 4Mb.
- LinearTechnology LTC1384CG : this is what I was looking for : a RS232 transceiver.
- CS8130 : IR transceiver.
I’ve written the LTC chip looks promising, because it connects the printer to the outside world, and gives a hint where to start hacking. It translates RS232 high voltage levels to TTL, but since I wanted to drive the printer directly from some µC I needed to bypass the LTC. After some research I determined what follows : RS 232 port (this with RJ socket) is connected to pins 14 (232 input) and 15 (232 output). Corresponding TTL pins are : pin 13 (logic output), and 12 (logic input). So as far as I am reasoning correctly :
- Pin 13 is connected to the Toshiba’s RX pin.
- Pin 12 is connected to the Toshiba’s TX pin.
- The whole device can be powered from 12V supply (I read that somewhere).
- Let’s try it! It seems to work. At least a PC and the printer are communicating. Wiring looks like this:
Costs so far:
- Printer : 25PLN ($8).
- 10 rolls of thermal paper 20PLN ($7)
Intermec provides a CUPS driver for Linux which enables you to use their printer as regular printer in the OS. Apparently PW40 isn’t supported. I successfully compiled and installed the software, but printing a random text file gave me some gibberish. After that I tried to communicate with te printer in ESC/P language directly, but with no luck. I described my problems on the Intermec forums and still waiting for some reply. In short the problem is, that I don’t really know for sure if this is me doing something wrong, or the printer is broken (it was sold on auction as broken, but the seller couldn’t tell for sure if it is really broken or not). So after two evenings the situation looks that I am able to print only one character in a row. If I’m sending more than 1 character to print, it hangs. To make matters worse, my printer won’t print a self test page as it is described in the manual. It feeds paper a little and that’s all. At the other hand I found a datasheet of the printer head used in my printer, but using it directly would be a triumph of form over the content I’m afraid, and I don’t have enough time for that (i.e. making my own printer from scratch). But I’m overambitious you know, so who knows…