15LPRINT CHR$(27);"D";CHR$(7);CHR$(l4);CHR$(21); CHR$(O)

(ESC)“D” is the command to begin setting horizontal tabs. It must be followed by characters representing the positions that you want the tabs set. In our program we are setting tabs in col- umns 7, 14, and 21. The CHR$(O) at the end ends the string of tabs. In fact, any character that is not greater than the previous one will stop setting tabs. This means that you must put all your tab values in order, from least to greatest, or they won’t all get set.

When you run the program now it produces this:

The words are now closer together, but still evenly spaced. Turn your printer off and on again to reset the default tabs.

Table 4-7

Horizontal

tab commands

Function

Control code

Advance to next tab position

CHWW

Set tabs at nl, n2, etc.

(ESC)“D”CHR$(nl)

CHR$(nZ).....CHR$(O)

 

nOne-time horizontal tabs

Suppose you need to move to a position across the page, but you only need to do it once. It doesn’t make much sense to set up a tab to use only one time. There must be an easier way - and of cause there is.

The solution is called a one-time tab. Table 4-8 show the com- mands.

 

 

Table

4-8

 

 

 

 

 

One-time horizontal tabs

 

Function

 

Control code

 

Absolute

horizontal

tab

(ESC)

‘3”

CHR$(nl)

CHR$(nZ)

Relative

horizontal

tab

(ESC)

“\”

CHR$(nl)

CHR$(nZ:

Page 61
Image 61
Star Micronics NX-10 user manual Lprint CHR$27DCHR$7CHR$l4CHR$21 CHR$O

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.