107

In the program below, we’ve taken the logo graphics informa- tion and put it into BASIC DATA statements. The program itself is short and simple. The loop starting at line 100 reads the data statements into a string array variable called LOGO$. In line 170 we change the line spacing to 8/72 inch so that the lines of graphics data will connect vertically. The actual printing is done in the loop between lines 180 and 210; line 190 sends the graphics control code to the printer and line 200 sends one line of graphics data.

The printout from the program is shown right below the pro- gram.

10 1 Prints S&S logo

20LINE.8$=CHR$(27)+"A"+CHR$(8)

30f Set line spacing to l/6”

40LINE.l2$=CHR$(27)+"2"

1Select dot graphics

2:GRAPHIC$=CHR$(27)+CHR$(42)+CHR$(O)

70DIM LOG0$(4)

80 WIDTH "LPT1:",255

90 1 Read data

100 FOR ROW=1 TO 4

110 FOR COLUi"DJ=lTO 100

120 READ P

130LOGO$(ROW)=LOGO$(ROW)+CHR$(P)

140NEXT COLUMN

150NEXT ROW

160f Print logo

170LPRINT LINE.8$;

180FOR ROW=1 TO 4

190LPRINT GRAPHIC$;CHR$(lOO);CHR$(O);

200LPRINT LOGO$(ROW)

210NEXT ROW

220LPRINT LINE.12$

230' Row 1

240

DATA

 

0

0

01

 

 

 

 

7,

15

250

DATA

1:; 14: 14; 14: 14;

73: ;;

;I

3,

15

260

DATA

15,

15,

o,

o,

o,

o, o, o, o, o

270

DATA

0,

1,

3,

3,

7,

7, 15, 14, 14, 14

280

DATA

14,

15,

7,

7,

7,

3,

o,

o,

o,

o

290

DATA

0,

0,

0,

0,

0,

0,

0,

0,

0,

0

300

DATA

0,

0,

0,

0,

0,

0,

0,

0,

0,

0

310

DATA

0,

0,

0,

0,

1,

3,

7,

7,

7,

15

320

DATA

14, 14, 14, 14, 14,

7,

7,

3,

3,

15

330

DATA

15,

15,

0,

0,

0,

0, 0, 0, 0, 0

Page 114
Image 114
Star Micronics NX-10 user manual Data

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.