xref: /illumos-gate/usr/src/man/man8/in.lpd.8 (revision 014ec826f15c2551c9f84a5fe6f816ffb5bee7da)
te
Copyright (C) 2004, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
IN.LPD 8 "Feb 25, 2017"
NAME
in.lpd - BSD print protocol adaptor
SYNOPSIS

/usr/lib/print/in.lpd
DESCRIPTION

in.lpd implements the network listening service for the BSD print protocol specified in RFC 1179. The BSD print protocol provides a remote interface for systems to interact with a local spooling system. The protocol defines five standard requests from the client to the server: starting queue processing, transferring print jobs, retrieving terse status, retrieving verbose status, and canceling print jobs.

The in.lpd service is managed by the service management facility, smf(7), under the service identifier:

svc:/network/lp

Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(8). Responsibility for initiating and restarting this service is delegated to inetd(8). Use inetadm(8) to make configuration changes and to view configuration information for this service. The service's status can be queried using the svcs(1) command.

in.lpd uses the config/log_from_remote property to allow or disallow remote access. The default value of this property, localhost, disallows remote access.

inetd waits for connections on TCP port 515. Upon receipt of a connect request, in.lpd is started to service the connection. Once the request has been filled, in.lpd closes the connection and exits.

EXAMPLES

Example 1 Allowing Remote Access

The following command allows remote access to in.lpd.

# inetadm -m svc:/application/print/rfc1179:default bind_addr=""
EXIT STATUS

The following exit values are returned: 0

Successful completion.

non-zero

An error occurred.

FILES
/etc/printers.conf

System printer configuration database.

printers.conf.byname

NIS version of /etc/printers.conf.

/usr/lib/print/bsd-adaptor/bsd_*.so*

Spooler translation modules.

SEE ALSO

svcs (1), printers.conf (5), attributes (7), smf (7), inetadm (8), inetd (8), svcadm (8)