Cheapest way to connect USB printer

If you connect the tl-wdr4300 by wire, you can follow https://openwrt.org/docs/guide-user/network/wifi/dumbap, except for enabling its wireless (so just the part of cofiguring as client, disabling dnsmasq/ odhcpd), and then follow it up with installing and configuring p910nd as hinted at by frollic (the ideal setting depend on the printer).

Hallelujah! I made it work. Guys, you are a fantastic (helpful, patient) community.

Anyone stumbling across this thread, here is a summary:

The project: Get a USB printer to work on the LAN.
The problem: The (main) router doesn't have a USB port. It's an AX device hence I don't want to replace it.
Solution: Get a second cheap (old) router that has a USB port and connect it to the main router (wired connection). I got a TP-Link TL-WDR4300 for around 10€ which is easy to flash.

Here are the steps I took:

  1. I wired my computer to the old router and got OpenWrt running on it.
  2. Connected my printer to the USB port of my old router, got the "p910nd Print Server" running on the old router by following these instructions: https://openwrt.org/docs/guide-user/services/print_server/p910ndprinterserver (I set up my client as described to check if it worked)
  3. I configured the old router as described here: https://openwrt.org/docs/guide-user/network/wifi/dumbap (steps 1-12). My main router had the IP 192.168.1.1, so I gave my old router the IP 192.168.1.2. The instructions use the same example.
  4. Now wired the old router to the main router (LAN to LAN port, not WAN).
  5. Restarted both routers (might not be needed)
  6. Connected to main router (in my case: by WiFi)
  7. Adjusted/changed the IP in the clients' settings on my computer (https://openwrt.org/docs/guide-user/services/print_server/p910ndprinterserver)
  8. Printed!

:slight_smile:

2 Likes

Went that path as well at home for old HP laser printer: a raspberry pi zero with CUPS. Very small, low consumption but offer more flexibility to expose the printer.
The constraint in my setup was the windows client : no admin right, which meant no local printer could be defined - hence P910 path was not an option. In final solution, the HP laserjet was accessible as a network printer.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.