120

graphics densities. These commands, which are shown in Table 7-3, can be used interchangeably with the corresponding (ESC) “*” command. Like the commands you are already familiar with, these new commands are followed by two bytes to specify the number of graphics data bytes to print and then the data.

MORE GRAPHICS PROGRAMMING 1 IPS

At the end of this chapter, we’ll discuss two modes that the printer offers to help you solve potential graphics problems. A redefining code allows you to change the density for graphics programs that use one of the four alternate codes. The g-pin graphics mode allows you to use all nine pins on each line and thus speed up screen dumps.

Table

7-4

More graphics commands

Function

Control code

Redefine the graphics mode

(ESC)“?” n0 nl

g-pin graphics

(ESC)” - ” CHR$(nO) nl n2

ml m2

 

nRedefining alternate graphics codes

Your printer provides a command to redefine one of the alter- nate graphics modes - K, L, Y, or 2 - so that it represents any other of the seven graphics modes. The command is (ESC) “?” n0 nl, where n0 is one of the four letters, “K”, “L”, “Y”, or “Z”, and nl is one of the numbers used with the (ESC) “*” corn- mand, 0 to 7. There are several instances in which you may use this sequence.

The first occurs if you have written a program to be printed in one graphics mode and now want to print it in another. If you have used concatenation to store your graphics command in one _short character string, that will not be difficult. You can simply change the mode number or alternate code in the definition of

the character string.

A second time you can make good use of the redefining code occurs when you want to change a program in which you have not concatenated the graphics codes. Using the (ESC) ‘?” se- quence allows you to change every instance of your graphics command by entering only one line.

Page 127
Image 127
Star Micronics NX-10 user manual 120

NX-10 specifications

The Star Micronics NX-10 is a cutting-edge receipt printer designed for modern business environments. Known for its sleek design and outstanding performance, the NX-10 is ideal for retail, hospitality, and other service-oriented industries. One of its standout features is its fast printing speed, capable of producing receipts at an impressive rate of 300 mm per second. This speed ensures that customers do not have to wait long, enhancing service efficiency and customer satisfaction.

One of the key technologies integrated into the NX-10 is its advanced connectivity options. The printer supports multiple interfaces, including USB, Ethernet, and Bluetooth, allowing seamless integration with various devices such as tablets, smartphones, and POS systems. This flexibility is particularly beneficial in mobile and cloud-based applications, enabling businesses to adapt to their operational needs easily.

The NX-10 also features innovative paper-saving capabilities, including an automatic paper cutter that minimizes waste and reduces operation costs. The printer utilizes a high-quality thermal printing mechanism that ensures crisp, clear text and graphics, making it perfect for producing promotional receipts or tickets alongside regular transaction printouts.

Another notable characteristic of the Star Micronics NX-10 is its robust construction, built to withstand the demands of high-volume printing environments. The printer is designed for easy maintenance with a straightforward drop-in paper loading system that reduces downtime and increases productivity.

The intuitive design of the NX-10 includes a user-friendly interface, which makes it easy for staff to operate without extensive training. Built-in LED indicators provide useful information about printer status, ensuring users are informed at all times.

With a compact footprint, the NX-10 can be easily integrated into any workspace without taking up too much counter space. Its diverse compatibility with major operating systems, including Windows, iOS, and Android, further emphasizes its versatility, making it an ideal choice for various business scenarios.

In summary, the Star Micronics NX-10 is a state-of-the-art receipt printer combining speed, connectivity, and durability. Its advanced features and technology make it a valuable asset for businesses looking to enhance their operations and deliver exceptional customer experiences.