With p910nd, a small daemon acting as non-spooling printserver, it’s easy to get non WiFi or non Ethernet Printers in your network. I use this configuration for a Brother (QL-500) labelprinter. You must have installed the regular printer drivers on your PC.
At first you have to install a few packages:
Then you can connect your printer and turn it on. Run dmesg and look for entries like
Change the config file /etc/config/p910nd to the following (assuming you connect a usb printer to the OpenWRT device):
Add the following three blocks to the end of the /etc/config/firewall config file (for printing via WAN, in my case WiFi is in the WAN):
Then restart the firewall and start / enable p910nd:
To add the printer in Windows have a look to the following guide:
Open Control Panel, switch to printers. Click “Add a printer”
Click on “The printer that I want isn’t listed”.
Choose “Add a printer using a TCP/IP….”
Enter the IP-Adress of your OpenWRT device, choose a name for the port and deselect the checkbox for auto query.
This can take a moment…
Leave the default settings.
Choose the driver.
Name the new printer.
Be sure to check the following in printer properties:
And you are ready to print your first page.