Long time before I configured printer on the router and I hope that you can refer to this.
Install cups
opkg update
opkg install cups
/etc/init.d/cupsd enable
Add user access
Change /etc/cups/cupsd.conf
Pls make sure you use the IP address correct.
User root
Group root
AuthClass Anonymous
…
Allow from 192.168.8.1/24
Check printer info
chmod 700 /usr/lib/cups/backend/usb
/usr/lib/cups/backend/usb
And you can see the printer information
DEBUG: list_devices
DEBUG: libusb_get_device_list=2
DEBUG2: Printer found with device ID:
MFG:Canon;CMD:BJL,BJRaster3,BSCCe,PLI;SOJ:TXT01;MDL:iP3600
series;CLS:PRINTER;DES:Canon iP3600
series;VER:1.020;STA:10;HRI:ASI;MSI:AOFF,BOFF,DAT,E3,HFSF;PDR:6; Device URI:
usb://Canon/iP3600%20series?serial=13C040
direct usb://Canon/iP3600%20series?serial=13C040 "Canon iP3600 series" "Canon
iP3600 series" "MFG:Canon;CMD:BJL,BJRaster3,BSCCe,PLI;SOJ:TXT01;MDL:iP3600
series;CLS:PRINTER;DES:Canon iP3600
series;VER:1.020;STA:10;HRI:ASI;MSI:AOFF,BOFF,DAT,E3,HFSF;PDR:6;" ""
Configure the printer
go to http://192.168.8.1:631 and add your printer. Pls use your root password.
Use printer in windows
The printer address is http://192.168.8.1:631/printers/Canon_iP3600_series
Use cache
Cups need to cache printer files. If router’s RAM is not big it may cause problem. So you can ask cups to cache in USB devices.
Modify /etc/cups/cupsd.conf
and add your external storage.
RequestRoot /mnt/sda1
TempDir /mnt/sda1