Patent ID: 7889384

Claim:
A method for managing complex payload on a point of sale (POS) printer, the complex payload including a plurality of commands from a Unified POS application running on a host, the method comprising: converting on the host the plurality of commands of the complex payload from a Unified POS format to a native POS format used by the POS printer, wherein each of the plurality of the commands is usable as an individual command by the POS printer; using at least one native POS printer driver on the host to organize at least a portion of the plurality of commands in the native POS format into a single entity, the at least the portion of the plurality of commands containing more than one of the plurality of commands; using the at least one native POS printer driver on the host to provide a payload identifier corresponding to the single entity, the payload identifier indicating a correspondence between the at least the portion of the plurality of commands and the single entity; sending the single entity from the at least one native POS printer driver to the POS printer, wherein the POS printer is not a Unified POS printer, wherein a plurality of operations are performed at the POS printer corresponding to the at least the portion of the plurality of commands; and using the at least one native POS printer driver to track the at least the portion of the plurality of commands by only tracking the single entity instead of individually tracking the commands of the at least the portion of plurality of commands, wherein the tracking the single entity includes determining whether the single entity has reached and been processed by the POS printer, as assisted by an indication from the POS printer to the at least one native POS printer driver on the host that the single entity has been received and processed, and determining that an error has occurred for the single entity by determining whether one or more errors have occurred for any of the plurality of commands in the single entity at the POS printer, as assisted by an indication from the POS printer to the at least one native POS printer driver on the host that the single entity has the error, wherein in response to determining the error has occurred for the single entity, resending the single entity to the POS printer without locating one or more individual commands in the at least the portion of the plurality of commands that have the one or more errors.