largest number we can send in one byte (that’s what the BASIC CHR$( ) function sends: one byte) is 255. And with the normal density graphics it’s possible to have a graphics image as wide as 480 dots. So to figure out how many columns of graphics data to expect, your printer multiplies n2 by 256 and adds the value of nl to the product. If you divide the number of columns by 256, then n2 is the quotient and nl is the remainder (why not let your computer figure it out for you: if the number of columns is

assigned to variable X, then nl =X MOD 256 and

nZ=INT(X/256)). Table 7-l might make things even easier.

Table 7-1

Calculating nl and n2.

kf the numb

1024

 

to

1279

1

x-1024

 

I

ILO”

L” IJ3.J

I

x-1280

 

t

1536

to

1791

I

x-15

?G

 

V”

I

 

 

 

 

 

 

 

 

innn

L-

1920

1

x-1792

 

4

5 G

;

nSpecifying the graphics data

Now that we’ve told the printer how much data to expect, we better figure out how to send that information! Just as you do with download characters, with dot graphics you have control over the firing of every single pin on the print head. In Figure 7- 1, you can see that we’ve. labelled each pin on the print head with a number, as we did with download characters. And speci- fying pins to fire is done in the same way: to fire the second pin from the top, for instance, send a CHR$(64). Firing several pins at once is done in a similar fashion. For example, to print the first, third, and fourth dots, add their values (128 + 32 + 16) to send this total: CHR$(176). This is one byte of graphics data; it would replace ml in our format statement.

Page 110
Image 110
Star Micronics NX-10 user manual Calculating nl and n2 Kf the numb

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.