The remainingfive bytes (ti throughm9)indicatethe compressionmask bits.Each bitsof thisbyteshowsthe datathat willtranslatethe compressed dot patterndata backto the originalcharacterpattern.

For example, the compressionmask bits of our telephone symbol are olmoooomlw111N301000000wo011000OOSothesebytesare96,. 4,242,0, and 96.

Youmustdefinethe indextabledatafor allcharactemffomOto 255.If you do notwantto definea particularcharacter,enterOintothatindextabledata.

Sampleprogram

To demonstmtehow to defineand to use the downloadcharactemin IBM mode,let’s use the “telephone”characterand the otheruser-definedchar- actersto print a smallgraph.This programwill dojust that:

1000 WIDTH “LPTI

: “ ,255

 

 

 

 

 

 

1010

LPRINT

CHR$(27)

; “=” ; CHR$ ( 164)

; CHR$ (9)

; “#“

:

 

1020

LPRINT

CHR$ (&HOF) :CHR$ (&H80)

:CHR$ (0)

:

 

 

1030

‘ INDEX

TABLE

 

 

 

 

 

 

 

1040 LPRINT CHR$( 1) ;

 

 

 

 

 

 

1050

FOR

1=0

 

TO 59

 

 

 

 

 

 

 

1060

LPRINT

STRINGS (9 , O) ;

 

 

 

 

 

1070

NEXT

I

 

 

 

 

 

 

 

 

: NEXT IT

1080

FOR

IT=l

TO 9

: READ MM : LPRINT CHR$(MM):

1090 FOR IT=l

TO 9 : READ MM : LPRINT CHR$(MM); : NEXT IT

1100

FOR

1=62

TO 255

 

 

 

 

 

 

1110

LPRINT

STRING$ (9 , O) ;

 

 

 

 

 

1120

NEXT I

 

 

 

 

 

 

 

 

 

 

1130

DOT PATTERN

 

 

 

 

 

 

 

1140

FOR DP=1

TO 159

 

 

 

 

 

 

1150

READ MM

 

 

 

 

 

 

 

 

 

1160

LPRINT CHR$(MM) ;

 

 

 

 

 

 

1170

NEXT DP

 

 

 

 

 

 

 

 

 

1180

‘ PRINTOUT PROGRAM

 

 

 

 

 

 

1190

LPRLNT

cHR$ (27)

; “D” ; CHR$( 11 ) ; CHR$(o)

 

 

 

1200

LPRINT

CHR$(27)

; “k “ ; CHR$(4)

;

 

 

 

 

1210

LPRINT CHR$(27) ; “h“ : CHR$( 1) ;

 

 

 

 

1220

LPRINT

,!

DIFFUSION RANGES OF”

 

 

 

1230

LPRINT

 

CARS & TELEPHONES

 

 

 

1240

LPRINT

CHR$(27)

; “h”

;CHR$ (0)

;

 

 

 

 

1250

LPRINT

CHR$(27)

; “k” :CHR$ (0)

 

 

 

 

 

1260

LPRINT

“USA” ;CHR$ (9)

;

 

 

 

 

 

1270

LPRINT

CHR$(27)

: “I”

;CHR$ (6)

:

 

 

 

 

1280

FOR 1=0

TO 681

STEP

25 :LPRINT CHR$(60);

:NEXT

I

1290

LPRINT

 

 

 

 

 

 

 

 

 

 

1300

LPRINT

CHR$ (9)

;

 

 

 

 

 

 

1310

FOR I=@

TO

781

STEP

25 :LPRINT CHR$(61);

:NEXT

I

1320

LPRINT

CHR$(27)

; “I”

;CHR$ (2)

 

 

 

 

 

1330

LPRINT

“GERMANY”;CHR$ (9) :

 

 

 

 

 

1340

LPRINT

CHR$(27)

: “I”

;CHR$ (6)

;

 

 

 

 

1350

FOR 1=0

1’0

412

STEP

25 :LPRINT CHR$(60);

:NEXT

I

1360

LPRINT

 

 

 

 

 

 

 

 

 

 

1370

LPRINT CHR$(9) :

 

 

 

 

 

 

1380

FOR 1=0

TO 488

STEP

25 :LPRINT CHR$(61):

:NEXT

I

1390

LPRINT CHR$(27) ;’’I”:CHRS(2)

 

 

 

 

 

1400

LPRINT

‘JAPAN” :CHR$(9);

 

 

 

 

 

1410

LPRINT

CHR$(27)

;”I”:CHR$(6)

;

 

 

 

 

1420

FOR 1=0

TO 347

STEP

25 :I,PRINT CHR$(60);

:NEXT

I

126

Page 137
Image 137
Star Micronics XB-2425, XB-2420 user manual 126

XB-2425, XB-2420 specifications

Star Micronics has long been a leader in the development of innovative printing solutions, and the XB-2420 and XB-2425 models are no exception. These two versatile printers are designed to meet the dynamic needs of various industries, offering a mix of performance, reliability, and advanced technology tailored for today’s businesses.

The XB-2420 and XB-2425 are thermal receipt printers that support high-speed printing, making them suitable for retail, hospitality, and other operational environments where efficiency is key. Both models are equipped with a state-of-the-art thermal printing mechanism that enables a print speed of up to 300 mm per second. This rapid output reduces waiting time for customers, contributing to a seamless transaction experience.

One of the standout features of the XB series is its compact design. Measuring just a few inches in height and width, both printers can fit into tight spaces, making them ideal for small counters or mobile workstations. The aesthetic design ensures that they blend effectively into modern retail and business settings, while their robustness guarantees long-term performance.

Connectivity options are another highlight of the XB-2420 and XB-2425. They come with standard USB interfaces, but users can also choose models with Bluetooth or Ethernet capabilities. This flexibility allows for easy integration into existing systems, whether it be in-store POS or mobile solutions, ensuring that businesses can operate efficiently without the limitations of wired connections.

Durability is a critical factor, and Star Micronics has engineered the XB series to withstand the rigors of daily use. With an IP54 rating, the printers are resistant to dust and splashes, making them suitable for both indoor and outdoor environments. Additionally, the built-in auto-cutter feature enhances operational efficiency by neatly cutting each receipt, reducing clutter and improving the overall customer experience.

Moreover, the XB-2420 and XB-2425 support advanced printing technologies such as the Star Line Mode, which allows users to create customized receipts and enhance branding through logos and graphics. With the capability to print barcodes and QR codes seamlessly, businesses can provide their customers with digital coupon opportunities, further modernizing the retail experience.

In summary, the Star Micronics XB-2420 and XB-2425 printers combine high-speed performance, compactness, flexible connectivity options, and durability in one package. These features make them essential tools for businesses looking to enhance operational efficiency and customer satisfaction, standing as a testament to Star Micronics’ commitment to innovation and excellence in the printing industry.