ImageWriter II Pi Print Server for Modern Retro Printing

Sideburn

Tinkerer
Jun 16, 2023
267
100
43
California
youtube.com
Well this is pretty freakin' awesome.

Take a Raspberry Pi, Install CUPS, then DO NOT use a USB to serial to Apple 8 pin DIN (because this will not work, the ImageWriter is RS422 and it took me hours to discover that the problem was not the baud rate or handshaking but it just will not work and it will print garbage), but instead, plug a Keyspan USB to Serial adapter into the Pi and then into the ImageWriter II.

Next, (after lots of trial and error and hunting), install the Keyspan firmware onto the pi (from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git) and go into the CUPS web portal and setup the printer and BAM your ImageWriter is on the shared printer network and you can print from your MacBook straight out of Photoshop, Pages, Word, BBEdit, Preview, etc etc. Pretty sweet! Breaths a whole new life into the printer. I am going to be using it a LOT more now :)

Screenshot 2025-04-29 at 2.52.41 AM.png
Screenshot 2025-04-29 at 2.51.05 AM.png
Screenshot 2025-04-29 at 2.51.23 AM.png
Screenshot 2025-04-29 at 2.49.23 AM.png
Screenshot 2025-04-29 at 2.50.26 AM.png
Screenshot 2025-04-29 at 3.18.29 AM.png





if you want to try it here's a step by step:



::: install cups on pi

sudo apt update
sudo apt upgrade -y
sudo apt install cups -y
sudo usermod -a -G lpadmin <your-pi-username>
sudo cupsctl --remote-any
sudo systemctl restart cups

:: install drivers
sudo apt install printer-driver-all -y

:: go to the CUPS web portal and check that its up and running:


::: install keyspan software on pi

sudo mkdir -p /lib/firmware/keyspan
sudo apt install firmware-linux-nonfree

cd /tmp
git clone --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

cp -v linux-firmware/keyspan/usa28x.fw /lib/firmware/keyspan/

::: Now disconnect and reconnect your Keyspan adapter form the pi and check:

ls -l /dev/ttyUSB*
dmesg | tail -25

you should see something like this saying its connected:

[ 2640.837105] usb 1-1.1: Keyspan 2 port adapter converter now attached to ttyUSB2
[ 2640.837498] usb 1-1.1: Keyspan 2 port adapter converter now attached to ttyUSB3

Now go back to the CUPS web portal and setup the printer:

Go to Administration tab, Click Add printer,

9600, 8, n, 1, RTS/CTS Flow Control
Port 0 (1)
 

Attachments

  • IMG_1312.jpeg
    IMG_1312.jpeg
    1.2 MB · Views: 79
Last edited:

John Galt

New Tinkerer
Aug 19, 2025
5
0
1
What model Raspberry Pi are you using? It probably doesn't matter but I'm going to buy one and try this out.
 

joevt

Tinkerer
Mar 5, 2023
160
55
28
Ok thanks. I have a question about the Keyspan adapter though. If I go to that page https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git I can find nothing that seems to be related to it.

Can you point me in the right direction?

I already did a lot of trial and error hunting too and I'm coming up empty.

The instructions include these steps:
Code:
cd /tmp
git clone --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

cp -v linux-firmware/keyspan/usa28x.fw /lib/firmware/keyspan/

It's copying the file keyspan/usa28x.fw in the git archive from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
Here's a list of all the keyspan firmwares:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/keyspan
 
  • Like
Reactions: John Galt

John Galt

New Tinkerer
Aug 19, 2025
5
0
1
Got it, thanks! I became confused by the sequence of instructions. RPi is on the way... I'll report my success (hopefully) soon.
 

John Galt

New Tinkerer
Aug 19, 2025
5
0
1
Well, it was as simple as you described. Perhaps even simpler. As you wrote, pretty freakin' awesome!

My ImageWriters are connected to a wireless to serial device server, so they are in fact truly wireless. The Raspberry Pi "print server" is headless — nothing connected to it except power. I just happened to have a Keyspan USA-28XG USB to serial adapter on hand which simplified initial setup. They also make a USA-19HS — it's current production and probably uses the same drivers.

I can even print to the ImageWriter from an iPhone over AirPrint... but you wrote that too, so I guess I really have nothing else to add 😄
 

Sideburn

Tinkerer
Jun 16, 2023
267
100
43
California
youtube.com
Well, it was as simple as you described. Perhaps even simpler. As you wrote, pretty freakin' awesome!

My ImageWriters are connected to a wireless to serial device server, so they are in fact truly wireless. The Raspberry Pi "print server" is headless — nothing connected to it except power. I just happened to have a Keyspan USA-28XG USB to serial adapter on hand which simplified initial setup. They also make a USA-19HS — it's current production and probably uses the same drivers.

I can even print to the ImageWriter from an iPhone over AirPrint... but you wrote that too, so I guess I really have nothing else to add 😄
Did you need the DP9 type serial because you have an ImageWriter and not an ImageWriter II? I had to use the DIN style.
I am doing the same.. The pi is just plugged into power and connected over WiFi.
 

John Galt

New Tinkerer
Aug 19, 2025
5
0
1
Nope, I have exactly what you have. I just wanted to mention the fact a USA-19HS can probably be used in lieu of the USA-28X models we have.

I happen to have both. The DB9 type connector just happens to be more common, and there are plenty of DB9 adapters / gender benders / cables etc on the market whereas equivalent adapters for Mini-DIN 8 cables have become very hard to find. There were only a few devices that ever used that kind of cable or connector.

The Keyspan / Tripp-Lite USA-19HS remains popular and probably isn't going away any time soon. On that subject there are other USB to serial adapters I have also used in various applications. USB to serial is easy. Wireless is even easier!

In case anyone is interested here is a description of the cable I use for the wireless to serial device server: Lantronix WiBox WBX2100E to ImageWriter II Mini-DIN 8 cable
 
Last edited: