次の方法で共有


3.1.4.11.2 LPRMON

This section describes the implementation of XcvData methods in LPRMON. This monitor module is used to control printers over a network on machines that have implemented Unix print server functions and expose them through the Line Printer (LPR) Protocol, as defined in [RFC1179].<388>

For network port naming, see section 2.2.4.10. For more information about the values listed in the Value column in the following table, see section 3.1.4.6.5.

Value

Description

"MonitorUI"

This action returns the name of the client-side interface monitor. The pOutputData parameter is a pointer to a buffer that receives the string representing the name of the interface monitor.

"AddPort"

This action adds an LPR printer port. The pInputData parameter is a pointer to a string representing the name of the port. The pOutputData parameter is not used.

"DeletePort"

This action deletes an LPR printer port. The pInputData parameter is a pointer to a string representing the name of the port. The pOutputData parameter is not used.

"CheckPrinter"

This action checks on the LPR printer port. The pInputData parameter is a pointer to a string representing the name of the port connected to the printer.