stop the printer. This will allow you to print to the end of the sheet, and even beyond if you are not careful. The codes to con- trol the paper-out detector, along with the other codes that we have just learned are in the following table.

 

 

 

Table

5-1

 

 

 

Some

miscellaneous commands

Function

 

 

1Control code

Sound

bell

 

 

1CHRU7J

1Master reset

 

 

1(ESC)

“a”

I Off line

 

 

1CHRW

 

On line

 

 

CHR$il

 

Paper-out detector off

WC)

 

Paner-out detector on

(ESC)

,

 

 

 

 

 

I Move mint head back one sDace I CHRW 0

Delete

last character

sent

CHR$(127)

Cancel text in print buffer

CHR$(24)

I Print

“slash zero”

 

I (ESC)

“-‘I 1

I Print

“normal

zero”

 

1 (ESC)’ “-“0

Immediate-print

on

 

(ESC)

“i”1

Immediate-print

off

 

(ESC)

“i”0

nBackspace, delete, and cancel text

Backspace (CHR$@)) “backs up” the printhead so that you can print two characters right on top of each other. Each time your printer receives a backspace it moves the printhead one character to the left, instead of to the right. You can strike over multiple letters by sending more than one backspace code.

Delete (CHR$(127)) also “backs up” one character, but then it “erases” the previous character (it’s erased from your printer’s buffer, not from the paper).

Cancel text (CHR$(24)) deletes all the text in the print buffer; that is, in the line before the delete text command. Since your printer prints one line of text at a time, only that line will be deleted.

The following program shows how these codes works.

10 LPRINT "BACKSPACE DOES NOT";

20 LPRINT CHR$(8>;CHR$(8);CHR$(8);

30 LPRINT ~I=== WORK"

40 LPRINT "DELETE DOES NOT";

50 LPRINT CHR$(127);CHR$(127);CHR$(l27);

Page 70
Image 70
Star Micronics NX-10 user manual 1CHRW

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.