OpenWrt Forum Archive

Topic: printserver p910nd on ASUS WL-500gP + Kamikaze 7.07

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have problem when I connect 3 printers (1st direct to ASUS 2nd and 3rd via USB hub). Sometimes order of ports for each printers is changing.
For example I have set port 9100 for 1st and 9101 for 2nd printer, but after night when I turn the printers on when trying to print on 1st printer it prints on 2nd.

Any ideas?

It looks to me like I need to set each printer to set the same /dev/usb/lpX each time I turn on printers or reboot router. Is it possible?

How can I identify which listening port is for which printer? After "netstat -an" I see router is listening on ports 9100, 9101, 9102, but I have no idea which one is which. X-wrt shows even model of printers, but don't shows on which port p910nd is listening to.

Is it possible that my problem is because of USB hub connected to one of USB port in ASUS?

This problem never occurs in the middle of work but only in the morning when I turn on printers. The router is on 24/7.

bump

Hi,
afaik p910n uses the /dev/lpx devices to "speak" to the printers.
Afaik OpenWRT always assigns the first one (lp0) with the first connected printer so
your only way is to start the printers always in the same way. So first printer 1, wait 10 sec, then the next one.
Or you could try using cups using the DeviceURI option (well, this will only work if your printers arent the same type)
which will always assign the same printer to the same queue.

with best regards
p90

PS: Please excuse my bad english

p90 wrote:

(...)you could try using cups using the DeviceURI option (well, this will only work if your printers arent the same type)
which will always assign the same printer to the same queue.

I have 3 different printers, so could you tell me more about this DeviceURI? How can I set each printer to the same lpX every time?

Thanks for reply.

Hi,
I used this webside to install and configure my cups server including the DeviceUrl Option.
http://blog.jameslick.com/?p=867
If you have any problems I will try to help you.

with best regards
p90


PS: Please check if all directories are in place once you have cups installed. I myself had a prob due to a missing tmp directory.

The discussion might have continued from here.