WITH BASIC

As an exampleof programmingthe printeron ,~crosoft BASIC,we have listed the program for the IBM-PC. This program runs in the printer’s Standardmode, and the dowrdoadablecondition.

1000 ‘ Set

control

 

codes

 

 

 

 

 

 

 

 

 

 

1010

E3=CHR$

(27)

 

 

 

 

 

 

 

‘ Escape

 

cnde

 

 

1020

O$=E$+’’XO”

 

 

 

 

 

 

 

‘ Draft

 

qual i ty

 

1030

N*E5+”X1“

 

 

 

 

 

 

 

 

‘ Near

 

letter

qual

i ty

1040

F$=E$+”k

 

 

 

 

 

 

 

‘Select

 

 

font

 

 

1050

C$=F5+CHR5 (2)+N$

 

 

 

 

‘Select

 

 

Courier

 

 

1060

HS=CHR5

(9)

 

 

 

 

 

 

 

‘Horizontal

tab

 

1070

P$=E$+”P”

 

 

 

 

 

 

 

‘Pica

 

pitch

 

 

1080

‘ Start

printin~

 

 

 

 

 

 

 

 

 

 

 

 

1090

UIDTH

“LPTl:’’,2~5

 

 

 

 

 

 

 

 

 

 

 

 

1100

LPRINT

 

E5:’’O’’ ;CHR$(3):CHR$(27)

:CHR$(0)

 

 

 

‘Set

HT

 

1110

LPRINT

 

CS:’’Resident

fonts

are:”

 

 

 

 

 

 

 

1120

LPRINT

 

H$:DS:’’Draft

characters,’’:N$:

 

 

 

 

 

 

 

1130

LPRINT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1140

LPRINT

 

H5:F$;CHR$(1)

:“ Sanserif

characters,”:

 

 

 

 

 

1150

LPRINT

 

H5:F$;CHR5(2)

:“ Courier

characters.”

 

 

 

 

 

 

1160

LPRINT

 

H$;FS:CHR$(4)

:“ Script

characters,”:

 

 

 

 

 

 

1170

LPRINT

 

H$:F$;CHR$(7):”

 

Orator

characters,”

 

 

 

 

 

 

1180

LPRINT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1190

LPRINT

 

C3:’’Print

pitchee

are:”

 

 

 

 

 

 

 

1200

LPRINT

 

H$:P5:’’Pica

pitch

(10

CPI),”:

 

 

 

 

 

 

1210

LPRINT

 

H$:E$:’’M”:”

Elite

pitch

(12

CPI).”

 

 

 

 

 

1220 LPRINT H$:P5:

 

 

 

 

 

 

 

 

 

 

 

 

 

1230

LPRINT

 

CHR$(15):

 

 

 

 

 

‘Select

 

 

condensed

print

1240

LPRINT

 

“Condensed

pica

pitch

(17

CPI),”:

 

 

 

 

 

 

1250

LPRINT

 

H$:E5:’’M”:”

Condensed

elite

~itch

 

(20

CPI).”:

 

 

1260

LPRINT

 

CHRS(18)

 

 

 

 

 

‘Cancel

 

condsnsad

print

1270

LPRINT

 

H$:E$:’’pl”:

 

 

 

 

‘Select

 

proportional

spacing

1280

LPRINT

 

P$:’’Pr0p0rti0nal

 

spacing.”:

 

 

 

 

 

 

 

1290

LPRINT

 

E$:’’pO”

 

 

 

 

 

‘Cancel

 

proportional

apacing

1300

LPRINT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1310

LPRINT

 

H$:E$:’’w1”:M

DOuble-height,

’’:E5:

“wO”

 

 

 

1320

LPRINT

 

H$:E$:’’I.J1”:

“Double

width,

“:E$:”UO”

 

 

 

 

 

1330

LPRINT

 

H$:E$:’’h’’

:CH9(1)l)

:“Double-sized,”

 

 

 

 

 

 

1340

LPRINT

 

H$:E$:’’h’’

:CHR5(2)

:“Qua.d-.eized.”:

 

 

 

 

 

 

1350 LPRINT E$:’’h”:CHR5(O)

 

 

 

 

 

 

 

 

 

 

 

1360

LPRINT

 

:LPRINT

 

 

 

 

 

 

 

 

 

 

 

 

1370

LPRINT

 

E$:’’Q’’;CHR$(47)

line

 

 

‘Set

 

right

margin

 

1380

LPRINT

 

C5:’’Varinue

and

character

apacinge:m

 

 

1390

LPRINT

 

E$:’’al”

 

 

 

 

 

 

‘Center

 

 

text

 

 

1400

FOR

1=1 TO

7

 

 

 

 

 

 

 

 

 

 

 

 

 

141O LPRINT

 

E$i’’A’’:CHR5(I)

 

;

 

 

‘Line

spacing

set

 

1420

LPRINT

 

E$:”

 

“:CHR$(I):

 

 

 

‘Increase

 

character

space

1430 LPRINT “THE SPOCINGS ARE CHANGED”

 

 

 

 

 

 

 

1440

NEXT

 

I

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14S0

FOR

1=7

TO

1

STEP

-1

 

 

 

‘Line

spacing

set

 

1460

LPRINT

 

E.$:’’A’’:CHR5(I)

 

:

 

 

 

1470

LPRINT

 

E$:” “:CHR$(I):

 

 

 

“Increaae

 

character

epacs

1480

LPRINT

 

“THE

 

SP!3CINGS

ARE

CHANGED”

 

 

 

 

 

 

 

1490

NEXT

 

I

 

 

 

 

 

 

 

 

‘Left

 

juetify

 

 

1500

LPRINT

 

E$:’’aO”

 

 

 

 

 

 

 

 

1510

LPRINT

 

E$:’’3’’:CHR$(36)

 

:

 

 

‘Set

 

1/6”

line

spacing

1520

LPRINT

 

E$:” “;CHR$(0):

 

 

 

‘Narmal

 

character

apace

1530 LPRINT CHR$(27) :’’Q’’:CHR$(8O)

 

 

 

 

 

 

 

 

1540

LPRINT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1550

LPRINT

 

C$:’’Other

features:”

 

 

 

 

 

 

 

 

 

1560

LPRINT

 

H5:E$:”E”:’’Emphaeized”

 

:E$:’’F’’:”,

 

“:

 

 

 

 

1570

LPRINT

 

E$:’’G’’

OOublebstrike”ke”

:E$:’’H’’:”,

 

“:

 

 

 

 

1580

LPRINT

 

E$:’’4’’ :mItalic:E$:”5°”5°

:“,

 

 

 

 

 

 

1590

LPRINT

 

H5:ES; ’’-:’’ :’’Underlining”

:E$:’’-:”,:”,

 

 

“:

 

 

1600

LPRINT

 

E$:’’SO’’

:”SUPERSCRIP:ES

:ES: “T”:”

and

“:

 

 

123

Page 132
Image 132
Star Micronics ZA-200, ZA-250 user manual With Basic, Codes 1010

ZA-200, ZA-250 specifications

Star Micronics, a renowned leader in the design and manufacturing of innovative printing solutions, offers a diverse portfolio of high-quality printers. Among these, the Star Micronics ZA-250 and ZA-200 models stand out for their versatility and performance in various applications. These thermal printers are particularly popular in retail, hospitality, and various service industries.

The Star Micronics ZA-250 is engineered for high-volume printing needs, making it an ideal choice for busy environments. Its compact design belies its powerful capabilities, allowing for efficient use of counter space. The ZA-250 features a print speed of up to 250mm per second, enabling quick transaction processing and reducing customer wait times. It utilizes direct thermal printing technology, which eliminates the need for ink or toner, resulting in lower ongoing costs and minimal maintenance.

Key characteristics of the ZA-250 include its exceptional durability. Designed to withstand the rigors of daily use, this printer boasts an IP54 rating for water and dust resistance, making it suitable for both indoor and outdoor environments. Users will appreciate the robust construction, which reduces the likelihood of downtime due to equipment failure. Additionally, the ZA-250 facilitates easy paper loading and features an automatic cutter, ensuring smooth operation and enhanced efficiency.

The Star Micronics ZA-200, on the other hand, is designed with a focus on flexibility and ease of integration. This model provides a variety of connectivity options, including USB, Ethernet, and Bluetooth, ensuring compatibility with a wide range of devices and software applications. The ZA-200 also supports multiple operating systems, including Windows, iOS, and Android, which allows businesses to seamlessly incorporate the printer into their existing systems.

One of the standout features of the ZA-200 is its 203 DPI resolution, which produces clear and crisp text and graphics on receipts, enhancing the overall customer experience. Furthermore, the ZA-200 is efficient in managing various print media, accommodating a range of paper sizes and types. The energy-efficient design helps to minimize power consumption, making it an environmentally friendly choice for businesses looking to reduce their carbon footprint.

In conclusion, the Star Micronics ZA-250 and ZA-200 printers deliver outstanding performance, durability, and versatility ideal for dynamic business environments. Their advanced features, coupled with modern connectivity options, make them excellent choices for companies seeking to enhance efficiency and improve customer satisfaction. Whether for high-volume printing needs or seamless integration with existing systems, these models lead the way in thermal printing technology.