IRPrinting
: infrared printingIRPrinting illustrates the use of the Serial Communications API for infra-red communications, such as to an IrDA-capable printer.
The example:
Creates a connection to the Comms server
Loads the Comms server module that supports infra-red (“IrCOMM”)
Opens a port
Writes a short message to the port
Closes the port
Closes the Comms server
The write operation times out with an error after four seconds if it is not successful, as will occur if no receiver is present.
RComm
: serial port
RCommServ
: Comms server
TRequestStatus
: asynchronous request status