4420 DATA 192,224,224,224,224,240,255,255,255,255

4430 DATA 255,127, 0, 0, 0, 0, 0, 0, 0,192 4440 DATA 255,255,255,255,255,15, 15, 63,252,240

4450 DATA 192, 0,240,255,255,255,255,255,7, 15

4460 DATA 127,252,240,192, 0, 0, 0, 0, 0, 0

4470 DATA 0, 0, 0, 0, 0

4480 ' ROW 4

4490 DATA 0,248,248,240,224,224,112,112,56, 56

4500 DATA 56, 56, 56,120,120,240,240,224,224,lV2 4510 DATA 128, 0, 0, 0, 0, 0, 0, 0, 0, 0 4520 DATA 128,248,248,248,248,240,192,0, 0, 0 4530 DATA 0, 0,240,248,248,248,248,240,192,0 4540 DATA 0, 0, 0, 0, 0, 0, 0, 0, o, o 4550 DATA 0, 0, 0, 0, 0

This will produce the following results as shown on page 102.

How the program works

This program begins by assigning a number of printer commands to BASIC string variables (lines loo0 to 1070). You can find most of these commands near the beginning of chapter 4.

The WIDTH “LPTI:” 255 statement in line 1090 means infinite line width. It prevents the IBM-PC from inserting unwanted carriage returns and line feeds in graphics data.

Actual printing begins in line 1100. Using the preassigned commands, the program prints samples of its different font styles, followed by samples of the print pitches, then some double and quadruple-sized printing.

Next comes the central attractionof the program: aline of text printed twelve times in expanding and contracting loops to give a barrel effect. The work is done by four printer commands: a command setting the right margin (line 1570); a centering command (line 1590); a command to vary the line spacing (lines 1610 and 1660); and a command to micro-adjust the space between characters (lines 1620 and 1670).

Next the program n%uns to normal spacing and gives a demonstration of the printer’s word-processing abilities: outlined printing, bold printing, under- lining, subscripts, etc.

100

Page 108
Image 108
Star Micronics XB24-10, XB24-15 user manual How the program works

XB24-15, XB24-10 specifications

Star Micronics, a leader in the manufacturing of point-of-sale (POS) peripherals, has greatly enhanced the user experience with their XB24-10 and XB24-15 models. Known for their robust functionality and reliability, these printers are specifically designed to meet the demands of modern retail and hospitality environments.

The XB24-10 and XB24-15 models boast a high-speed printing capability, reaching up to 300mm per second. This speed is complemented by a print resolution of 203 DPI, ensuring crisp and clear receipts, labels, and tickets. Users can expect high-quality output at any time, significantly improving workflow efficiency.

Both models support various printing methods and media types, including thermal paper, which eliminates the need for ink, reducing overall costs and maintenance. The printers are equipped with advanced sensor technology that not only detects paper jams but also ensures the correct alignment of paper for precise printing. This feature minimizes downtime and maximizes productivity.

Connectivity is a significant highlight of the XB24-10 and XB24-15. They come with multiple interface options, including USB, Ethernet, and Bluetooth, facilitating seamless integration with existing systems. This versatility allows businesses to adapt and scale their setup as necessary, ensuring compatibility with most POS systems available in the market.

Another key characteristic of these printers is their compact design, which makes them ideal for environments with limited space. Despite their small footprint, they do not compromise on performance or functionality. The durable construction of the XB24-10 and XB24-15 ensures longevity, making them a reliable choice for businesses that value dependability.

In addition to their physical features, Star Micronics has incorporated advanced technologies to enhance user experience. These include easy-to-use features such as an intuitive control panel and straightforward paper loading processes. Additionally, the printers support various customization options, allowing businesses to tailor output formats according to their specific requirements.

Overall, the Star Micronics XB24-10 and XB24-15 models are an excellent choice for organizations looking for efficient, dependable, and versatile printing solutions. With their high-speed performance, reliable connectivity, and compact design, these printers stand out as ideal options for any modern retail or hospitality setup. Their combination of advanced features and user-friendly operation exemplifies Star Micronics’ commitment to delivering top-tier products tailored to the needs of their customers.