I

Sample program

Todemonstratehow to use the download characters, let’s usethe “telephone” character and the other user-defined characters to print a small graph. This program will do just that:

1000 WIDTH “LPT1 : “ ,255

1010 LPRINT CHR$( 27 ) ; “X1“ ;

1LPRINT CHR$(Z7) ; “&” ; CHR$(0) ;

1LPRINT CHR$(60) ; CHR$( 61 ) ;

1FOR N=60 TO 61

1READ LS :LPRINT CHR$(LS) ;

1READ CW :LPRINT CHR$(CW) ;

1READ RS :LPRINT CHR$(RS);

1FOR M=l TO CW*3

1READ MM

1LPRINT CHR$(MM);

1110 NEXT M

1120 NEXT N

1130 LPRINT CHR$(27) ;’’D’’;CHR$(ll) ;CHR$(O )

1140 LPRINT CHR$(27) ;’’k’’;CHR$(4);

1150 LPRINT CHR$(27) ;’’W’’;CHR$(1) ;CHR$(27) ;’’W’’;CHR$(1) ; 1160 LPR2NT 0 DIFFUSION RANGES OF” :LPRINT

1170 LPRINT “ CARS & TELEPHONES”

1180 LPRINT CHR$(27) ;’’W’’;CHR$(0) ;CHR$(27 );’’W’’;CHR$(O)

1190 LPRINT CHR$(27) ;’’k’’;CHR$(O) ;

1200 LPRINT CHR$(27) ;’’%’’;CHR$(1) ;

1210 LPRINT “USA’’;CHR$(9);

1220 FOR 1=0 TO 681 STEP 25 :LPRINT CHR$(60); :NEXT I 1230 LPRINT

1240 LPRINT CHR$(9);

1250 FOR 1=0 TO 781 STEP 25 :LPRINT CHR$(61); :NEXT I 1260 LPRINT

1270 LPRINT “GERMANY’’;CHR$(9) ;

1280 FOR 1=0 TO 412 STEP 25 :LPRINT CHR$(60); :NEXT I 1290 LPRINT

1300 LPRINT CHR$(9);

1310 FOR 1=0 TO 468 STEP 25 :LPRINT CHR$(61); :NEXT I 1320 LPRINT

1330 LPRINT “JAPAN’’;CHR$(9) ;

1340 FOR 1=0 TO 347 STEP 25 :LPRINT CHR$(60); :NEXT I 1350 LPRINT

1360 LPRINT CHR$(9);

1370 FOR 1=0 TO 493 STEP 25 :LPRINT CHR$(61); :NEXT I 1380 LPRINT

1390 LPRINT CHR$(9) ;’’+-”;

1400 SCALE$=’’+-+-U

1410

FOR 1=2

TO 8

:LPRINT SCALE$;

:NEXT I

1420

LPRINT

“+-+”

 

 

1430

LPRINT

CHR$(9); ”0 “;

 

 

1440

FOR 1=1

TO 8

 

 

1450

LPRINT

“ “;1;

 

 

1460

NEXT I

 

 

 

1470

LPRINT CHR$(27) ;’’%’’;CHR$(O)

 

 

1460

LPRINT

cHR$(27);’’M”;

 

 

1490

LPRINT

CHR$(27) ;’’S’’;CHR$(O)

;

 

Page 113
Image 113
Star Micronics NX-2415II user manual Sample program, Read MM Lprint CHR$MM

NX-2415II specifications

The Star Micronics NX-2415II is a versatile and advanced printer designed primarily for point-of-sale (POS) applications. Known for its reliability and efficient performance, it serves as an excellent solution for various retail and hospitality environments. This printer stands out due to its compact design, making it easy to fit into tight spaces while providing superior functionality.

One of the key features of the NX-2415II is its ability to handle multiple printing tasks. With high-speed printing capabilities, it can produce receipts, tickets, and labels at an impressive rate, minimizing customer wait times. Its print speed reaches up to 250mm per second, ensuring that businesses can operate efficiently during peak hours.

The NX-2415II incorporates advanced connectivity options, including USB, Ethernet, and Bluetooth, providing users with the flexibility to choose the connection method that best suits their setup. This multifunctional connectivity enables seamless integration with various POS systems and mobile devices, enhancing overall operational efficiency.

The printer uses high-quality thermal printing technology, which eliminates the need for messy ink and toner. This means lower maintenance costs and reduced hassle for users. Additionally, the NX-2415II supports various paper widths and types, allowing businesses to customize their printed materials according to their needs.

Another notable characteristic of the NX-2415II is its durability. Built with robust materials, this printer can withstand the demands of busy commercial settings, making it an ideal choice for environments that require consistent and reliable performance. Its design also includes features that prevent paper jams and enhance overall operational longevity.

For enhanced user experience, the NX-2415II comes equipped with an easy-to-read LCD display and simple control buttons. This user-friendly interface ensures that even new users can quickly navigate the printer's functions without extensive training. Furthermore, the printer’s energy-efficient design helps reduce overall power consumption, contributing to environmental sustainability.

In summary, the Star Micronics NX-2415II is a powerful and efficient printing solution for modern businesses. Its high-speed performance, versatile connectivity options, and durable construction make it an essential tool for retail and hospitality sectors looking to improve service quality and operational efficiency. Whether printing receipts, tickets, or labels, the NX-2415II meets diverse printing needs with ease and reliability.