man pages section 1M: System Administration Commands
검색에만이 책은
이 책의 내용보기:
PDF로 이 문서 다운로드 (8966 KB)

in.lpd(1M)

Name | Synopsis | Description | Examples | Exit Status | Files | Attributes | See Also

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(5), under the service identifier:


    svc:/network/lp

    Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). Responsibility for initiating and restarting this service is delegated to inetd(1M). Use inetadm(1M) 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.

    printers.org_dir

    NIS+ version of /etc/printers.conf.

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

    Spooler translation modules.

Attributes

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPE

    ATTRIBUTE VALUE

    Availability

    SUNWpcu

See Also

SunOS 5.10 Last Revised 1 Aug 2006

Name | Synopsis | Description | Examples | Exit Status | Files | Attributes | See Also