Next comes the central attraction of the program: a line of text printed twenty times in expanding and contracting loops to give a bane1 effect. The work is done by four printer commands: a command setting the right margin (line 1420); a centering command (line 1440); a command to vary the line spacing (lines 1460 and 1510); and a command to micro-adjust the space between characters (lines 1470 and 1520).

Next the program returns to normal spacing and gives a demonstration of the printer’s word-processing abilities: italic printing, bold printing, underlin- ing, subscripts, etc.

The row of car symbols in the next printed line is created by downloading two new character patterns, which are printed in place of the character “<” (character 60).

The final part of the program uses dot graphics to print an “SW” logo. The dot pattern of the logo was originally laid out on graph paper, then converted to the data in lines 4180 to 4490 with the help of a calculator. Each number represents eight vertical dots. (See “Graphics commands” in Chapter 4 for details.)

The pattern is printed in four rows, each eight dots high and 65 dots wide. Lines 1830 to 1900 read the dot data into a string array variable named LOGO$. Line 1910 sets the line spacing to 8/72 inch so that the rows will connect vertically. The loop in lines 1920 to 2020 does the printing in four passes of the print head.

This program can also be run in IBM mode if you change a few of the lines as shown below to allow for differences in some of the commands. You will get a cylinder instead of a barrel effect, becuase the IBM mode does not have any command to micro-adjust the character spacing.

Modifications

for IBM mode:

 

 

 

 

1070

P$=CHR$(18)

'Pica pitch

 

 

1250

LPRINT

H$;E$;":";"Elite pitch

(12 CPI),"

 

 

1290

' LPRINT H$;E$;"M";"Condensed

elite pitch

(20 CPI),";

1420

LPRINT

CHR$(28);"Q";CHR$(47)

'Set right

margin

1460

LPRINT E$;"A";CHR$(I);E$; "2"; 'Set line spacing

1470

' LPRINT E$;"

";CHR$(I);

'Increase character

space

1510

LPRINT

E$;"A";CHR$(I);E$;"2";

'Set line spacing

1520

' LPRINT E$;"

";CHR$(I);

'Increase character

space

1570

' LPRINT E$;"

";CHR$(O);

'Normal character

space

1580

LPRINT

:LPRINT CHR$(28);"Q";CHR$(80)

 

 

1610

LPRINT

H$;CHR$(28);"4";"Italics";CHR$(28);"5";", 'I;

1910

LPRINT

E$;"A";CHR$(8);E$;"2";

'Set a/72"

line spacing

3030

LPRINT E$;"xO";CHR$(28);":";CHR$(O);CHR$(O);CHR$(O);

3150

LPRINT

CHR$(28); "&";CHR$(O);CHR$(6O);CHR$(60);

94

Page 100
Image 100
Star Micronics XR-1500, XR-1000 user manual Lprint E$

XR-1000, XR-1500 specifications

Star Micronics has established itself as a leading provider of premium printing solutions, an assertion further bolstered by its innovative models, the XR-1000 and XR-1500. These thermal receipt printers are designed to meet the diverse needs of retail, hospitality, and various business environments, combining robust features, state-of-the-art technologies, and user-friendly characteristics.

The Star Micronics XR-1000 is engineered for high-performance printing, boasting a print speed of up to 200 mm per second. It ensures swift transaction processing, which is essential in high-volume retail settings. The XR-1500, an advanced counterpart, raises the bar with a higher print resolution, delivering crisp and clear receipts that enhance customer experience. Both models utilize direct thermal printing technology, eliminating the need for ink or toner and significantly reducing operational costs.

One of the standout features common to both models is their compact design, making them suitable for environments with limited space. Their lightweight structure also allows for easy relocation, which is beneficial for businesses with dynamic layouts. Furthermore, the printers are equipped with easy paper loading mechanisms that maximize efficiency and minimize downtime.

Connectivity options are another highlight of the XR-1000 and XR-1500. Both models support a variety of interfaces, including USB, Bluetooth, and Ethernet, allowing seamless integration with existing systems. This flexibility ensures that businesses can adapt to evolving technological requirements without significant overhauls.

Moreover, the XR-1000 and XR-1500 printers are compatible with various point-of-sale (POS) systems and software applications, providing reliable performance across different platforms. Their resilience is notable as well, featuring durable casing and components designed to withstand the rigors of daily use.

The models also incorporate advanced power-saving features, crucial for businesses looking to reduce energy costs without sacrificing performance. Their intuitive LED indicators provide real-time feedback, allowing users to quickly assess the status of the printer.

In summary, the Star Micronics XR-1000 and XR-1500 deliver a high-quality printing experience, characterized by speed, reliability, and flexibility. With their advanced technologies and thoughtful design, these printers stand out as optimal choices for businesses seeking efficiency and quality in their printing solutions. Whether in a bustling retail environment or a busy restaurant, it is clear that these printers offer the solutions that modern businesses need.