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 18.104.22.168 file the printing works from everywhere BUT
if I write lpr -P ipp://22.214.171.124/Canon file
or lpr -P ipp://126.96.36.199/printers/Canon I get an error message
or lpr -P lpd://188.8.131.52(/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