Use the lpadmin command
to add a printer queue with localhost specified as the host name.
the lpadmin command with the -s option to specify localhost as the host
name when setting up a local print queue. This modification was added to
enable print servers to maintain the same print host name, localhost, independent of the
machine host name.