[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cups to cups question



On Thu 16 Oct 2014 at 14:55:54 +0200, L.M.J wrote:

>  I have a server (serverA) where I use the command "lp -h
> printserver ..." to print to a printer attached on the "printserver"
> : it works fine.

To be clear on this, your full command is

  lp -h printserver -d <queue_name> <file_name>

and the IP of printserver is resolvable?

>  I also registered remote printer on "printserver" via "lpadmin -p
> PRVA -v ipp://remoteserver01/printers/PRVA?waitprinter=false\&waitjob=false\&compression=gzip
> -D "PRVA" -o printer-error-policy=retry-job -E
>  When I print from my "printserver" to PRVA, the spool is accepted
> directly and then, transfered to the CUPS hosted on
> "remoteserver01". Then, CUPS on the "remoteserver01" send the spool
> to the printer "PRVA" : it works.

Fine.

>  Now, I try to print from "serverA" "lp -d PRVA -h printserver ...",
> got this error : "Printer or class not registered". Any ideas ?

Please post the output of 'lpstat -a' when the command is run on
serverA and printserver. The CUPS versions on serverA, printserver
and remoteserver01 would also be useful to know. The can be got
from 'dpkg -l | grep cups'.


Reply to: