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

Re: TCP/IP printing under Debian



On Mon, 14 Jul 2003 23:20:06 +0200
"Leif B. Kristensen" <leifkris@alfanett.no> wrote:

> The trick was to define it as an "AppSocket/JetDirect" printer in the
> cups interface, (which I eventually got working,) and use the static
> IP-address in the Device URI, like "socket://192.168.0.20:9100/".

If you add a line to /etc/hosts for your printer

192.168.0.20 hp4m

you can refer to it by name:

socket://hp4m:9100

In addition whenever you want to ping it to make sure you can reach it, you
can ping hp4m instead of 192.168.0.20. :)

Kevin



Reply to: