Chapter 5: Programming commands  51

Select justification

ASCII

ESC a n

Hexadecimal

1B 61 n

Decimal

27 97 n

Value of n:

0, 48

= Left aligned

 

1, 49

= Center aligned

 

2, 50

= Right aligned

Range of n:

0–2, 48–50

Default:

0 (Left aligned)

Specifies the alignment of characters, graphics, logos, and bar codes.

The command can be enabled or disabled for the slip. Default is disabled for the slip on A776, and enabled on B780.

Exception

This command is valid only when input at the beginning of a line.

Set left margin

ASCII

GS L nL nH

Hexadecimal

1D 4C nL nH

Decimal

29 76 nL nH

Range of nL:

0–255

Range of nH:

0–255

Default:

576 dots (the maximum printable area)

Values of n:

 

nL = low byte = Remainder after dividing n by 256

nH = high byte = Integer after dividing n by 256

The command can be enabled or disabled for the slip. Default is disabled for the slip on A776, and enabled on B780.

Formulas

Sets the left margin of the printing area. The left margin is set to ((nH X 256) + nL) times horizontal motion unit) inches. The horizontal motion units are set by the set horizontal and vertical minimum motion units command (1D 50), described in this manual.

The width of the printing area is set by the set printing area width command (1D 57), which follows this command.

If the setting exceeds the printable area, the maximum value of the printable area is used. The maximum printable receipt area is 576 dots on the receipt and 420 addressable dots on the slip. See the illustration on the next page.

To set the Receipt left margin to one inch at the default horizontal motion unit of 1/203 inches, send the four-byte string:

GS L 203 0

Or, to set the left margin to two inches at the default horizontal motion unit of 1/203 units per inch, send the four-byte string:

GS L 150 1

Where 2 inches = 406/203, and 406 = (1 X 256) + 150, derived from decimal to hexadecimal conversion:

406/256 = 1 (nH) with remainder 150 (nL)

Continued . . .

A776-PG00001 C 12/09

A776 (B780) Programming Guide

Page 63
Image 63
Cognitive Solutions A776, B780 Select justification, Set left margin, Programming commands 51, GS L nL nH, Values of n

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.