50 Chapter 5: Programming commands

Set relative print position

ASCII

ESC \ n1 n2

Hexadecimal

1B 5C n1 n2

Decimal

27 92 n1 n2

Value of n:

 

To move the relative starting position right of the current position by n dots:

n1 = Remainder after dividing n by 256 n2 = Integer after dividing n by 256

The values for n1 and n2 are two bytes in low byte, high byte word orientation.

To move the relative starting position left of the current position by n dots:

n1 = Remainder after dividing (65,536–n) by 256 n2 = Integer after dividing (65,536–n) by 256

The values for n1 and n2 are two bytes in low byte, high byte word orientation.

Moves the print starting position the specified number of dots either right (up to the right margin) or left (up to the left margin) of the current position. The print starting position is reset to the first column after each line.

Formulas

To move to the left:

Determine the value of n by multiplying the number of columns to move left of the current position by 10 (slip or receipt standard pitch) or 8 (receipt compressed pitch). The example shows how to set the relative position two columns in standard pitch (10 dots per column) to the left of the current position.

2 x 10 =

20 dots (two columns to be moved left of the current position)

 

65,536–20 =

65516

 

65,516/256 =

255, remainder of 236

 

n1 = 236, n2 =

255

To move to the right:

Determine the value of n by multiplying the number of columns to move right of the current position by 10 (slip or receipt standard pitch) or 8 (receipt compressed pitch). The example shows how to set the relative position two columns in standard pitch (10 dots per column) to the right of the current position.

2 x 10 =

20 dots (two columns to be moved left of the current position)

20/256 =

0, remainder of 20

n1 =

20, n2 = 0

Related information

If the set horizontal and vertical minimum motion units command (1D 50) is used to change the horizontal and vertical minimum motion unit, the parameters of this command (set relative print position) will be interpreted accordingly. For more information, see the description of the set horizontal and vertical minimum motion units command (1D 50) in this document.

Compatibility information (A776 receipt vs. A756 receipt)

There is a difference in the normal behavior of this command as compared to the original A756. The difference exists when the command is used to move to the left. The A756 processes the whole print string prior to putting it in the buffer for the printhead. This method of processing allows the A756 to backup in the print string and replace characters and their associated attributes when a “Set relative print position” command instructs the printer to move the print position to the left.

In order to improve the speed of printing, the A776 moves the data into a buffer for the printhead when it receives it. When the “Set relative print position” command contains a move to the left, this causes the new data to overstrike the previous data. This behavior can be used to an application’s advantage to provide the ability to create compound characters on the receipt station.

A776 (B780) Programming Guide

A776-PG00001 C 12/09

Page 62
Image 62
Cognitive Solutions B780 manual Set relative print position, Compatibility information A776 receipt vs. A756 receipt

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.