Language monitors are user-mode DLLs that serve two purposes:
They provide a full duplex communications path between the print spooler and bidirectional printers that are capable of providing software-accessible status information.
They add printer control information, such as commands defined by a printer job language, to the data stream.
Microsoft provides a language monitor, Pjlmon.dll, which supports printer job language (PJL), and provides bidirectional communication for PJL printers. This monitor is included in the Microsoft Windows Driver Kit (WDK) as the sample language monitor.
Customized language monitors can be written to support other job control languages, for unidirectional or bidirectional printers.
Language monitors are optional and only associated with a particular printer type if included in the printer's INF file, as described in Installing a Print Monitor.
If you clear Enable bidirectional support check box in the Ports tab of the printer properties dialog box, the spooler will not call the StartDocPort, WritePort, EndDocPort, GetPrinterDataFromPort, ReadPort functions of the language monitor. The spooler will continue to call the OpenPortEx, ClosePort, SendRecvBidiDataFromPort functions even when Enable bidirectional support is cleared. The Enable bidirectional support check box does not affect the calls to the language monitor that are made when an application calls functions in the bidirectional communication API.
If a language monitor is associated with a printer, the language monitor receives the printer's data stream from the print processor, modifies it, and passes it to the printer's port monitor. For more information, see Language and Port Monitor Interaction.
Build date: 11/28/2012