Re: Setting up network access for a CUPS printer Andreas Janssen wrote:
Thanks for your response.
>>>> I have an HP OfficeJet K80 Xi connected to /dev/lp0 of a machine on
>>>> my network which has a firewall. I have opened the ipp port (631) on
>>>> that machine
>>>
>>> TCP and UDP?
>>>
>> TCP
>
> Maybe Cups also needs UDP support. This is at least used for browsing, I
> don't know if it is required if you know the IPs of printer and client.
> But it would be worth a try.
Done. Restarted the firewall.
Restarted the cups server :
cupsd: Child exited with status 98!
cups: restarted scheduler.
root@host:~# lpstat -v
system for hpoj: localhost
system for NetworkPrinter: localhost
system for all: localhost
Printer 'hpoj@localhost' - cannot open connection - No such file or
directory
Make sure the remote host supports the LPD protocol
Printer 'NetworkPrinter@localhost' - cannot open connection - No such file
or directory
Make sure the remote host supports the LPD protocol
Printer 'all@localhost' - cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol
NetworkPrinter is a printer class that contains hpoj (the printer of
interest).
I get the same error as before.
>
>> [...]
>
>>> Can you telnet to the port on the host?
>>
>> No.
>>
>> งป telnet 192.168.1.1:631
>> telnet: could not resolve 192.168.1.1:631/telnet: Name or service not
>> known
>
> Wrong syntax, try
>
> telnet 192.168.1.1 631
Oops.
งป telnet 192.168.1.1 631
Trying 192.168.1.1...
telnet: Unable to connect to remote host: Connection refused
Thanks. |