How theprogram works

Thisprogrambeginsby assigninga numberof printercommandsto BASIC stringvariables(lines1000to 1060).Youcanfindmostof thesecommands near the beginningof chapter7.

The WIDTH“LPT1:“255 statementin line 1080meansinfinitelinewidth. It preventsthe IBM-PCfrom insertingunwantedcarriagemtums and line feedsin graphicsdata.

Actualprintingbeginsin line 1090.Usingthe preassignedcommands,the programprintssamplesofitsdifferentfonts,followedbysamplesoftheprint pitches,then somedoubleand quadruple-sizedprinting.

Next comes the central attractionof the program: a line of text printed fourteentimesinexpandingandcontractingloopsto giveabarreleffect.The workis doneby fourprintercommands:a commandsettingtherightmargin (line 1450);a centeringcommand(line 1470);a commandto vary the line spacing(lines 1490and 1540);and a commandto micro-adjustthe space betweencharacters(lines 1500and 1550).

Nextthepmgrarnreturnstonormalspacingandgivesa demonstrationof the printer’sword-processingabilities:italicprinting,bold printing,underlin- ing, subscripts,etc.

The row of telephone symbols in the next printed line is created by downloadingtwo new characterpatterns,whicharc printedin placeof the character“<” (character60). Detailscan be foundin Chapter8.

Thefinalpartofthe programusesdotgraphicstoprintan”M&W“logo.The dotpatternof thelogowasoriginallylaidouton graphpaper,thenconverted to the datain lines 3180to 4640 withthe help of a calculator.Eachnumber representseightvexticaldots. (See “Graphicscommands”in Chapter7 for details.)

The patternis printedin three rows,each row is twenty-fourdots high and 240 dots wide.Line2040setsthe line spacingto 8/60inch so thatthe rows will comect vertically.The loop in lines2050to 2130doesthe printingin three passesof the printhead.

140

Page 151
Image 151
Star Micronics XB-2425, XB-2420 user manual How theprogram works

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.