unable to print file: server-error-service-unavailable
I'm trying to set up printing over ip network but can't get it to work.
If I write lp -d Canon -h 220.127.116.11 file the printing works from everywhere BUT
if I write lpr -P ipp://18.104.22.168/Canon file
or lpr -P ipp://22.214.171.124/printers/Canon I get an error message
or lpr -P lpd://126.96.36.199(/printers)/Canon I get an error message saying: unable to print file: server-error-service-unavailable
What is wrong?
I have to get the lpr command to work, because all programs use lpr instead of lp