Command Properties

Property Description
StatusInit

Command used to place the printer into command mode if needed, to obtain the status.

This property is only needed if you must switch the printer to a command mode before obtaining the configuration string. There is a delay of StatusInitDelay milliseconds after the command is sent. After the delay, the read buffer is cleared without being saved in case there was a response to the command.

The four commands that are sent in association with a GetStatus call are sent in the following order, if they are defined:

  1. StatusInit: Delay StatusInitDelay milliseconds. Discard anything returned by printer.

  2. StatusPrefix: Delay StatusCommandDelay milliseconds. Discard anything returned by printer.

  3. GetStatusCommand: Delay StatusCommandDelay milliseconds. Save and use reply from printer.

  4. StatusPostfix: Delay StatusCommandDelay milliseconds. Discard anything returned by printer.

StatusInitDelay

Delay in milliseconds to be done after the StatusInit command.

Delay is not performed if StatusInit is an empty string or not specified.

GetStatusCommand

Command used to prompt the printer to send its status string to the mobile device.

This command is sent to the printer to retrieve a status string that is returned to the application. After the command is sent there is a delay of StatusCommandDelay milliseconds, then the read buffer is read and converted to a string to be returned.

See StatusInit for additional details about how these status commands interact.

StatusCommandDelay

Delay in milliseconds to be done after each of the StatusPrefix, GetStatusCommand, and StatusPostfix commands.

This delay is performed after the StatusInit command if defined, after the GetStatusCommand command is sent, and after the StatusPostfix command is sent if defined. The delay is performed before the read buffer is read or cleared.

StatusPrefix

Command used if needed to prepare the printer for the GetStatus command to be able to retrieve the status.

This property is only needed if there is a command that must prepare the printer before obtaining the configuration string.  There is a delay of StatusCommandDelay milliseconds after the command is sent.  After the delay, the read buffer is cleared without being saved in case there was a response to the command.

See StatusInit for additional details about how these status commands interact.

StatusPostfix

Command used to return the printer to its printing mode after a status string is retrieved.

This property is only needed if you must switch the printer to a differentback to printing mode before after obtaining the configuration status string. There is a delay of StatusCommandDelay milliseconds after the command is sent. After the delay, the read buffer is cleared without being saved in case there was a response to the command.

See StatusInit for additional details about how these status commands interact.

This section may also include the following Message properties: