70 Chapter 5: Programming commands

Print raster monochrome graphics (ColorPOS®)

ASCII

GS 0x82 n1…..n72 (576 dots) for 80 mm paper, or n80 (640 dots) for 82.5 mm paper

Hexadecimal

1D 82 n1…..n72 (576 dots) for 80 mm paper, or n80 (640 dots) for 82.5 mm paper

Decimal

29 130 n1…..n72 (576 dots) for 80 mm paper, or n80 (640 dots) for 82.5 mm paper

Value and range of n: n1 to n72/n80 corresponds to one dot row data for a thermal receipt printer.

Each bit defines whether or not a dot of the current color will be printed. This command is used for printing a monochrome graphic in real-time. Offsets, page and any other modes or overlays, including watermark do not apply and are overridden by this command. A complete rendering of the intended final image should have been done by the application before sending the dot rows.

If two-color paper is indicated by the set paper type command, then the raster will be printed in the color that is defined by the set current color command.

Print raster color graphics (ColorPOS®)

ASCII

GS 0x83 n1…..n144 (576 dots 80 mm paper) / n160 (640 dots, 82.5 mm paper)

Hexadecimal

1D 83 n1…..n144 (576 dots 80 mm paper) / n160 (640 dots, 82.5 mm paper)

Decimal

29 13 n1…..n144 (576 dots 80 mm paper) / n160 (640 dots, 82.5 mm paper)

Value and range of n: n1 to n144 / n160 corresponds to one dot row data.

For each printed dot row starting at the top left, two-part bit strings are used to define (in the first half), all dots that are of either color (i.e. not white). The second half string defines only the dots where the color = black. Thus all dots which are on in the first half string but not on in the second half string, select the secondary color. The parameter of this command is thus a string of bytes for one dot row with the same structure as defined for the thermal color format file given in the download color

logo command.

This command is used for printing a single raster of color graphics in real-time. Offsets, page and any other modes or overlays, including watermark, and current color do not apply to this command. A complete rendering of the intended final image has to be done by the application before sending the dot rows.

Download logo image (ColorPOS®)

ASCII

GS 0x84 m n1 n2 d1…..dx , x = (n1 * n2*8 ) * m

Hexadecimal

1D 84 m n1 n2 d1…..dx , x = (n1 * n2*8 ) * m

Decimal

29 132 m n1 n2 d1…..dx , x = (n1 * n2*8 ) * m

Value of m:

1

= monochrome

 

2

= two-color

Max n1 =

576/8 for 80 mm paper or

 

640/8 for 82.5 mm paper

The latest value from the set current logo command will be the logo index to be used to store the downloaded graphic.

m identifies whether the image is monochrome (which requires one parameter bit row description) or two-color, which requires a pairing of bit descriptions for each row.

n1 * n2 define a rectangular image n1 bytes wide and n2 bytes long. n1*8 specifies the number of dot columns, and n2*8 the number of dot rows. That is, each row is defined by an integral number of bytes and the number of rows is also an integral number of bytes. Note that n2 can be any length, subject to memory space availability.

For each color dot row starting at the top left, a two part parameter byte string is used to define first, all dots that are not white, and the second half defines all dots where the color = black. Thus all dots that are on (=1) in the first half but not on in the second half select the paper-color. A sequence of these raster row strings is used to specify the complete logo. In the monochrome case, only one bit is needed per row. This is the same structure as used for the definitions of print raster monochrome graphics and print raster color graphics.

This command is used for storing a logo of n1 by n2 size indexed by the current logo value.

After downloading a logo to the printer, wait 100 ms to allow the printer time to write the logo to flash.

A776 (B780) Programming Guide

A776-PG00001 C 12/09

Page 82
Image 82
Cognitive Solutions B780, A776 Print raster monochrome graphics ColorPOS, Print raster color graphics ColorPOS, Max n1 =

B780, A776 specifications

Cognitive Solutions A776 is an advanced technology platform designed to enhance decision-making processes through the application of artificial intelligence and cognitive computing. This state-of-the-art solution seamlessly integrates multiple technologies to optimize business operations and drive innovation across various sectors, including finance, healthcare, and manufacturing.

One of the main features of A776 is its robust data processing capabilities. Leveraging powerful machine learning algorithms, the platform can analyze vast amounts of data in real-time, identifying patterns and insights that would otherwise be overlooked. This enables organizations to make informed decisions based on actionable intelligence, significantly improving efficiency and productivity.

Another key characteristic of the A776 system is its natural language processing (NLP) capability. This feature allows the platform to understand and interpret human language, making it easier for users to interact with the system and obtain valuable insights. By integrating NLP, Cognitive Solutions A776 can provide intuitive user experiences, enabling workforce members to query data using everyday language rather than complex coding skills.

The A776 is also built on a flexible architecture that supports seamless integration with existing IT ecosystems. This interoperability allows organizations to harness their current data sources while taking advantage of the innovative features offered by A776. The platform’s API support enables smooth connections with third-party tools, enhancing collaboration and expanding its range of applications.

Security is a major focus of the Cognitive Solutions A776. The platform is equipped with advanced encryption protocols and compliance measures to ensure that sensitive data is protected against breaches and unauthorized access. This commitment to security helps businesses maintain customer trust and safeguard their competitive advantage.

Scalability is another defining feature of the A776. As businesses grow and evolve, the platform can be easily adapted to meet changing demands. Whether a small startup or a large enterprise, organizations can scale their cognitive solutions according to their operational needs.

Furthermore, the Cognitive Solutions A776 is designed with user accessibility in mind. The interface features customizable dashboards that provide a clear overview of insights and performance metrics, enabling users at all levels to harness the power of cognitive computing without requiring extensive training or technical expertise.

In conclusion, Cognitive Solutions A776 is a cutting-edge platform that offers a range of features, including advanced data processing, natural language processing, robust security measures, and user-friendly design. Its flexible architecture allows it to integrate seamlessly with existing systems, making it an indispensable tool for organizations looking to leverage artificial intelligence in their decision-making processes.