4.1.2 Supported RCL Commands

Reflection for the Web supports the CLOSE PRINTER, OPEN PRINTER, LET, LOG, SET, and TRANSFER commands.

NOTE:Reflection for the Web ignores the QUIET and CONTINUE commands (returns a success completion code, but does nothing). Any other unrecognized RCL command will result in a failure completion code (unless completion codes are disabled or are not requested by the host).

CLOSE

The CLOSE PRINTER command closes the printer as a "to" device. CLOSE PRINTER has no effect if the printer is already closed.

OPEN

Reflection for the Web supports the OPEN PRINTER command.

LET

LET assigns a string, number, or logical value to a variable. By default, variables V0 through V9 are available and each variable can contain a 0 to 80 byte string. Strings longer than 80 bytes will be truncated.

Use the SET VARIABLES command to change the number of variables supported. Use the SET VARIABLE-LENGTH command to change the allowable variable length.

LOG

The LOG command sends, or logs, incoming data to the printer. Use LOG without any options to turn logging on; use LOG OFF to turn logging off.

SET

SET commands are used to configure Reflection. See Supported SET Parameters.

TRANSFER

The TRANSFER command does a type 3 block transfer to the host. Either a string or the value of a SET command can be transferred.