52 Chapter 5: Programming commands

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

GS L 140 0

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

GS L 24 1

Exceptions:

The command is effective only at the beginning of a line. This command is ignored if the line buffer is not empty.

Set horizontal and vertical minimum motion units

ASCII

GS P x y

Hexadecimal

1D 50 x y

Decimal

29 80 x y

Value of x:

Horizontal

Value of y:

Vertical

Range of x:

0 – 255

Range of y:

0 – 255

Default of x:

Receipt: 203 Slip: 140

Default of y:

Receipt: 203 Slip: 144

Sets the horizontal and vertical motion units to 1/x inch and 1/y inch respectively.

When x or y is set to 0, the default setting for that motion unit is used.

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

Set printing area width

ASCII

GS W nL nH

Hexadecimal

1D 57 nL nH

Decimal

29 87 nL nH

Range of nL:

0–255

Range of nH:

0–255

Default:

576 dots (the maximum printable area)

Sets the width of the printing area. If the setting exceeds the printable area, the maximum value of the printable area is used. The width of the printing area 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).

The width of the printing area follows the set left margin command (1D 4C). See the set left margin command (10 4C …) earlier in this document for a description.

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

Formulas

To set the width of the receipt printing area to one inch at the default horizontal motion unit of 1/203 inches, send the four-byte string:

GS W 203 0

Continued . . .

A776 (B780) Programming Guide

A776-PG00001 C 12/09

Page 64
Image 64
Cognitive Solutions B780 Set horizontal and vertical minimum motion units, Set printing area width, GS P x y, Default of y

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.