AV indicates that the following character is a control code. ^V[ enters the <ES0 code. <ES0 has character code 27, and “[” is the 27th character in ASCII sequence from A. Similarly, *VA enters the control code cl>. See your DOS manual if you need further information about EDLIN.

You can now set up the printer by sending it the file LQELITBDAT. To avoid unnecessary logging of commands, switch hard-copy output off (by pressing CTRL-PRTSC if hard copy is on). To print the file README.DOC in LQ elite type, give the following two commands:

A>COPY LQELITE.DAT PRN

A>PRINT README.DOC

For greater convenience you can make a batch file that will set up the printer and print any specified file with a single command. To create such a batch file with the name LQPRINT.BAT, type in the first four lines shown next. ‘55means to press the CTRL and Z keys simultaneously. To use this file to print RBADMBDOC, type the fifth line.

A>COPY CON LQPRINT.BAT

COPY LQELITE.DAT PRN PRINT %l

*Z

A>LQELITE README.DOC

The first above line is a copy command from the CONsole screen to a file named LQPRINT.BAT. The next two lines are the contents of this file. The

%1is a dummy parameter: whatever file name you type after LQPRINT will be substituted for % 1 and printed.

PROGRAMMING WITH BASIC

As an example of programming the printer on Microsoft BASIC, we have listed the program for the IBM-PC. This program runs in the printer’s Standard mode, and the downloadable’condition (DIP switch l-6 ON and DIP switch 2-l OFF).

1000

' Set control

codes

1010

EQ=CHR$(27)

'Escape cods

1020

D$=EQ+"xO"

'Draft quality

1030

L$=E$+"xl"

'Letter quality

1040

C$=E$+"kO"+L$

'Courier characters

1050

P$=E$+"kZ"+L$

'Preetige characters

1060

O$=E$+"k3"+L$

'Orator characters

1070

S$=E$+"k4"+L$

'Script characters

1080

H$=CHR$(9)

'Horizontal tab

1090

PI$=E$+"P"

'Pica pitch

Page 96
Image 96
Star Micronics LC24-15 user manual Programming with Basic

LC24-15 specifications

Star Micronics LC24-15 is a robust and versatile impact dot matrix printer designed specifically for applications that require high-volume printing with reliability and efficiency. This printer is particularly well-suited for environments such as retail, manufacturing, and logistics, where printing invoices, tickets, and reports is a routine task.

One of the key features of the LC24-15 is its high-speed printing capability. It offers a print speed of up to 550 characters per second, allowing businesses to process large quantities of documents quickly. This efficiency is supported by its 24-pin print head, which delivers crisp and clear text and graphics, making it an excellent choice for applications requiring sharp output.

The LC24-15 supports a variety of paper sizes and types, accommodating multi-part forms and labels effortlessly. It can print on multiple copies simultaneously, making it ideal for creating invoices or shipping documents where duplicates are necessary. The printer's reliable paper handling is complemented by a built-in automatic paper loading system that simplifies the changeover between different paper types.

In terms of connectivity, the LC24-15 offers several ports, including parallel, serial, and USB interfaces, ensuring compatibility with various systems and devices. This flexibility allows businesses to integrate the printer into their existing workflow seamlessly. Additionally, the LC24-15 is designed with user-friendly features, such as easy controls, which facilitate quick setup and operation, reducing downtime and enhancing productivity.

Further enhancing its versatility, the LC24-15 incorporates advanced technologies such as a high-durability ribbon that extends the life of the consumables, thereby lowering operating costs. The printer's energy-efficient design also ensures lower power consumption compared to traditional printers, making it an eco-friendly choice for businesses looking to reduce their environmental impact.

Overall, the Star Micronics LC24-15 stands out in its category with a blend of speed, reliability, and user-friendliness. Whether for point of sale purposes or industrial applications, it provides the necessary features and performance that businesses demand in high-volume printing environments, making it a trusted choice for many organizations.