Tally Genicom T5023+ User Manual

Programming Guide
T5023/5023+
"All rights, including rights of translation by printing, copying or similar methods, even of parts, are reserved.
All rights, includingrightscreatedbypatentgrants or registrationof a utility mod­el or design, are reserved. Delivery subject to availability; right of technical mod­ifications reserved."
TRADEMARKS

Contents

Preface..................................................................................................... 1
Conventions.............................................................................................. 1
Abbreviations ............................................................................................2
Use of the manual..................................................................................... 2
Contents of the manual............................................................................. 3
Short description of the document printer........................................... 7
Document printing point ............................................................................ 7
Options...................................................................................................... 8
Magnetic stripe reader (MSR)............................................................. 8
MICR...................................................................................................8
Feeder.................................................................................................8
Memory extension............................................................................... 8
System interface ....................................................................................... 9
Physical interface................................................................................ 9
Logical protocol................................................................................... 9
Application areas .................................................................................... 11
Programming interface (General)....................................................... 13
Encryptions/Codes.................................................................................. 13
ASCII code........................................................................................ 14
Activating the document printer functions......................................... 16
Print effects............................................................................................. 17
Print quality....................................................................................... 17
Fonts................................................................................................. 18
Font size / character density............................................................. 19
Highlighting text ................................................................................ 21
Page layout....................................................................................... 23
Character tables...................................................................................... 25
National character sets..................................................................... 26
Characters defined by the user in character tables .......................... 26
Graphics............................................................................................ 27
Document printer specifications.............................................................. 28
Document printing............................................................................. 29
Magnetic stripe processing............................................................... 30
Special features of the document processing................................... 31
T5023/5023+ - Programming Guide
Contents
Standard commands.............................................................................33
Notes about command description..........................................................33
Description components....................................................................33
Coding of decimal command parameters .........................................34
Controlling the configuration of the printer ..............................................41
Initializing the printer.........................................................................42
Selecting unidirectional printing for one line......................................44
Switching the unidirectional printing mode on/ off ............................44
Setting the MSB to 1 .........................................................................46
Setting the MSB to 0.........................................................................47
Deleting the MSB specification ........................................................48
Printer offline.....................................................................................49
Printer online.....................................................................................49
Automatic single sheet feeder on/off.................................................50
Special character codes..........................................................................51
Carriage return..................................................................................51
Backspace of one character..............................................................53
Deleting a character..........................................................................54
Cancelling a line................................................................................54
Line feed commands...............................................................................55
Line feed ...........................................................................................56
Carrying out an n/ 180 inch line feed ................................................57
Determining 1/8 inch line spacing.....................................................58
Determining 1/6 inch line spacing.....................................................59
Determining n/180 inch line spacing.................................................60
Determining n/60 inch line spacing...................................................61
Determining n/360 inch line spacing.................................................63
Sheet ejection commands.......................................................................64
Sheet ejection ...................................................................................65
Determining the document length at n lines......................................66
Determining the document length at n inches...................................67
Vertical print control.................................................................................68
Setting the bottom margin.................................................................69
Function: ...........................................................................................69
Deleting the bottom margin ..............................................................70
Determining / deleting vertical tabs (channel 0) ...............................71
Determining / deleting vertical tabs for any channel .......................72
Selecting a vertical tab channel .......................................................73
Vertical tabulation .............................................................................73
T5023/5023+ - Programming Guide
Contents
Paper control .................................................................................... 74
Horizontal print control ........................................................................... 75
Setting the left margin ...................................................................... 77
Setting the right margin ................................................................... 80
Setting the text alignment ............................................................... 82
Setting / deleting horizontal tabs ...................................................... 84
Horizontal tabulation ........................................................................ 85
Horizontal positioning (absolute) ...................................................... 86
Horizontal positioning (relative) ....................................................... 88
Determining the character spacing .................................................. 90
Print quality and character size............................................................... 92
Switching print quality (Draft/ LQ) ................................................... 94
Selecting the LQ type font ................................................................ 96
Switching proportional spacing on/off ............................................. 97
Selecting the character size 10 cpi (Pica) ........................................ 98
Selecting the character size 12 cpi (Elite) ........................................ 99
Selecting the character size 15 cpi ................................................ 100
Print modes........................................................................................... 101
Switching on condensed print ........................................................ 102
Switching on condensed print ........................................................ 103
Switching off condensed print ....................................................... 104
Switching on elongated print for one line ...................................... 105
Switching on elongated print for one line ....................................... 106
Switching off elongated print .......................................................... 107
Switching elongated print on/off .................................................... 108
Enable/Disable Double Character Height....................................... 109
Switching on bold print ................................................................... 110
Switching off bold print ................................................................... 111
Switching on double impact print .................................................. 112
Switching off double impact print ................................................... 113
Switching underlining on/off ........................................................... 114
Switching on superscript/subscript ................................................ 115
Switching off superscript/subscript ................................................ 116
Selection of combined print mode ................................................. 117
Non- executable commands ............................................................... 120
Signal tone...................................................................................... 120
Switching half- rate printing on/off .................................................. 121
Selecting the print colour ............................................................... 121
T5023/5023+ - Programming Guide
Contents
Character set commands .................................................................. 123
Character set selection .........................................................................124
Definition of characters..........................................................................133
Notes on the use of user defined characters.........................................145
Syntax of the character set commands................................................. 147
Switching on italic print ........................................................................147
Switching off italic print ................................................................... 148
Selecting the character set.............................................................. 149
Selecting a national character set...................................................150
Switching on/off the character set defined by the user ..................151
Switching on extended character set ............................................152
Switching off extended character set ............................................153
Copying the character set into the RAM .........................................154
Transferring the character definition ............................................... 155
Graphics commands........................................................................... 157
Graphics modes....................................................................................159
Mode of operation of the graphics commands......................................160
Syntax of the graphics commands........................................................ 163
Selecting the graphics mode .......................................................... 163
Switching on the ’single density’ graphics mode ...........................168
Switching on the ’double density’ graphics mode .........................169
Switching on the ’double density and double rate’ graphics mode .170
Switching on the ’quadruple density’ graphics mode......................171
Reassigning graphics commands ..................................................172
Additional commands (Printer).......................................................... 173
Structure of the additional commands...................................................174
General ...........................................................................................174
Transfer of user data.......................................................................176
Reaction to incorrect parameters....................................................176
Responses .....................................................................................176
Notes on the command description.................................................178
Important notes on document processing ............................................179
Character box .................................................................................180
Horizontal positioning......................................................................182
Vertical positioning.......................................................................... 185
Basic commands for document processing ..........................................189
Paper feed of the document............................................................ 190
Selection of type fonts/ character sets............................................ 191
T5023/5023+ - Programming Guide
Contents
Absolute vertical positioning ........................................................... 194
Relative vertical positioning backwards.......................................... 196
Requesting the document width...................................................... 197
Document edge detection............................................................... 198
Activating passbook processing...................................................... 199
Specification of the horizontal leading edge ................................... 200
Mode switch- over for handling end of paper.................................. 202
Dual station control......................................................................... 205
Switching on/off Multi Part .............................................................. 206
Controlling the MSR / MICR functions .................................................. 207
Position and measurements for MSR magnetic stripes.................. 208
Parameter block MSR..................................................................... 210
Reading a MSR track...................................................................... 212
Writing a MSR track........................................................................ 215
Deleting a MSR track...................................................................... 217
The MICR Read Process................................................................ 218
Activate parameter command MICR............................................... 221
Reading command MICR................................................................ 222
Status and error messages................................................................... 223
Notes on the printer status.............................................................. 224
Setting control points/ initiating the control cycle ............................ 226
Setting control point II ..................................................................... 228
Global printer status........................................................................ 230
Special printer messages................................................................ 231
Printing unit parameters.................................................................. 233
Electronic Journal Functions................................................................. 235
Change between Document and Journal Printing .......................... 235
Application examples......................................................................... 237
Processing of a blank form ................................................................... 238
Type area........................................................................................ 239
Print effects..................................................................................... 241
Program steps (annotated)............................................................. 243
Program (pseudo code).................................................................. 250
Document processing ........................................................................... 254
Document structure ........................................................................ 255
Print positions ................................................................................. 256
Program steps (annotated)............................................................. 258
Program (pseudo code).................................................................. 262
T5023/5023+ - Programming Guide
Contents
Passbook processing with MSR............................................................265
Passbook data ................................................................................266
Program steps (annotated) .............................................................267
Program (pseudo code) ..................................................................270
Loadable Firmware/Character Generators........................................273
Activating the Load Function.................................................................274
Load Functions: General.......................................................................275
Sequence of a Load Process..........................................................276
Module Identification.......................................................................277
ESCAPE Sequences (Bootstrap Loader)..............................................279
Switch-over to the Load Function....................................................279
Exiting the Load Function................................................................280
Request Module ID/Data ID ............................................................281
Loading character generators ............................................................... 284
Indicate "Ready to load character generator" .................................284
Loading the Character Generator ................................................... 285
Loading the Firmware............................................................................ 286
Indicate ’Ready to load’...................................................................286
Loading the Firmware .....................................................................286
Length of the Transfer...........................................................................287
Reading E-Journal Data..................................................................289
Control of Asian Character Sets........................................................ 291
Pre-setting of the Character Set ESC [ n $ q..............................294
Specific Operating System Dependencies ....................................... 295
Windows NT Drivers..............................................................................295
Appendix..............................................................................................297
Command table.....................................................................................297
Command table for Epson ANSI emulation ....................................297
Definition of barcode printing for T5023..........................................302
Loader commands ..........................................................................304
E-Journal commands......................................................................304
Character Sets ......................................................................................305
Code Page 437...............................................................................307
ISO 8859-2 Latin No. 2 ...................................................................308
ISO 8859-5 Cyrillic..........................................................................309
ISO 8859-7 Greek...........................................................................310
ISO 8859-8 Hebrew ........................................................................311
T5023/5023+ - Programming Guide
Contents
ISO 8859-9 Latin No. 5................................................................... 312
ISO 8859-15.................................................................................... 313
OCR-A ............................................................................................ 314
OCR-B ............................................................................................ 315
Code Page ISO 2............................................................................ 316
Code Page 775 Latin / Baltic .......................................................... 317
Code Page 850 Latin 1 ................................................................... 318
Code Page 852 Latin 2 ................................................................... 319
Code Page 855............................................................................... 320
Code Page 857 Latin 5 ................................................................... 321
PC Code Page 858......................................................................... 322
Code Page 860 (Portugal).............................................................. 323
Code Page 866 Latin/Cyrillic........................................................... 324
Code Page 869 Latin/Greek ........................................................... 325
Thailand Character Set (customer specific).................................... 326
1250 Windows Latin 2..................................................................... 327
1251 Windows Cyrillic..................................................................... 328
1252 Windows Latin 1..................................................................... 329
1253 Windows Greek...................................................................... 330
1254 Windows Latin 5..................................................................... 331
1255 Windows Hebrew................................................................... 332
1256 Windows Arabic..................................................................... 333
1257 Windows Baltic Rim ............................................................... 334
Chinese Characters in the Passbook/Document Printer....................... 335
Printer: One-byte mode................................................................... 335
Printer: Two-byte mode................................................................... 336
GB 2312-80 / GB 5007 / GB 5199.................................................. 342
Font number.................................................................................... 342
Available Character Generators for the document printer .............. 343
IBM Emulations..................................................................................... 345
IBM 4722 Emulation........................................................................ 345
IBM Proprinter XL24 Emulation ...................................................... 348
Range of Commands for the ProprinterXL24 and 4722.................. 349
Olivetti PR50 Emulation ........................................................................ 353
General........................................................................................... 353
Emulation........................................................................................ 353
Initialization parameter.................................................................... 353
Range of Commands for the OLIVETTI PR50................................ 353
Character Sets for the Olivetti Emulation........................................ 355
T5023/5023+ - Programming Guide
Contents
Paper Specifications..............................................................................356
Reference Lines..............................................................................356
Error messages.....................................................................................359
Status messages.............................................................................359
Status messages (Bootstrap loader activated) ..............................360
Malfunctions ...................................................................................361
Description of the physical interface......................................................367
General ...........................................................................................367
Handshaking protocols....................................................................367
Interface data serial interface..........................................................369
Interface data external Centronics interface ................................... 375
Glossary...............................................................................................385
Index.....................................................................................................387
T5023/5023+ - Programming Guide

Preface

i
This programming manual describes in the main the instruction set of the multi­functional flat bed printer. The document printer is a workstation printer with one printingpoint and is used to process documents and passbooks. The printercan be fitted with a magnetic stripe reader (MSR) as an option.
This manual is intended for all users, who wish to create their own programs, for example, for document or passbook processing . Detailed technical data, ope­rating information (for example, connecting the printer, insertingthe paper, etc.), and maintenance instructions are in a separate operating instruction.
Fault elimination information is in the appendix of this manual.

Conventions

Following conventions are made in this manual:
Courier System outputs, such as error messages, informati-
on, notes, file extracts Courier Bold Example of user inputs – Indicates a list.
l
„“
J
Indicates a specific sequence must be followed.
Refers to other chapters or sections.
Marks functions which have to be preferred. All
functions without this sign are only mentioned for
compatibility reasons, they should only be used by
exception.
General informations, notes and tips.
Warning notes, which have absolutely to be followed.
T5023/5023+ - Programming Guide 1
Abbreviations Preface

Abbreviations

APA graphics All Points Addressable graphics APR Automatic Passbook Reader CS Character Set DQ Draft Qualitiy IF Interface LQ Letter Quality MSR Magnetic Stripe Reader MICR Magnetic Ink Character Recognition CSI Control Sequence Introducer LSB Least Significant Bit MSB Most Significant Bit OCR Optical Character Recognition printer fonts

Use of the manual

This manual describes printer programming for various document processing applications.
All program examples in this manual are independent of programming langua­ges (pseudo code). Particulars for the conversion of pseudo code instructions into a programming language (special BASIC dialects, COBOL, C, etc.) will not be dealt with here. Likewise, particulars of the communication protocol between the document printer and the
2
connected computer are not taken into account.
T5023/5023+ - Programming Guide
Preface Contents of the manual

Contents of the manual

Chapter “Short description of the document printer“
This chapter briefly lists the hardware components of the document printer and outlines the application areas of the printer.
Chapter “Programming interface (General)”
This chapter outlines the basic principle of logical communication between an applicationand the printer via ESC sequences. The functions of the multifunctio­nal document printer are described using examples.
Chapter “Standard commands”
All the Epson- compatible control commands of the document printer are descri­bed here. Exceptions are the character set and graphics commands, which will be explained in subsequent chapters.
In particular, the commands for the following application areas are described: – Controlling the configuration of the printer
Setting the page and line constants – Vertical and horizontal tabulation – Setting the print quality and the character size
Highlightingparts of the text by settinga suitableprint mode(e. g. bold print, un-
derlining, superscript, subscript, etc.).
Chapter “Character set commands”
The emphasisof this chapter is on the setting of characters defined by the user with the description of the relevant commands. In addition, the commands for switching overbetween character setsare described (forexample, standard character set, gra­phics character set, national character sets)
.
Chapter “Graphics commands”
This chapter describes commands used to print drawings, diagrams or pictures as dot graphics. The basic principle is to encrypt the individual picture dots as a series of numbers and to transfer them to the printer.
T5023/5023+ - Programming Guide 3
Contents of the manual Preface
Chapter “Additional commands”
This chapter explains special control commands for document processing or for processing ZeKoSa data. An important application area for the commands des­cribed here is the processing of passbooks. This also contains important infor­mation on processing documents using horizontal and vertical print positioning.
Chapter “Application examples”
A small program example of command functions normally belongs to the com­mand descriptions in the chapters “Standard commands”, “Character set com­mands”, etc.
The chapter “Application examples” uses more complex operations to explain the use of specific commands in connection with:
Text processing with the document printer – Passbook processing with MSR.
Individual program steps are annotated in detail and the program structure is presented in the form of a pseudo code.
Chapter “Loadable Firmware/Character Generators”
Firmware and character generators of the document printer are stored in a pro­grammable memory with FLASH technology. The chapter "Loadable Firmware/ Character Generators" describes the sequence of load processes and the bootstrap loader ESC sequences.
Chapter “Controlling Asian Character Sets”
Asiancharacter setsmust bemade availablefor thespecified printersto prepare the document printer for its usage in the Asian area. This chapter provides a de­scription of the control of the Asian character sets.
Chapter “Specific Operating System Dependencies”
This chapter describes specific operating system dependecies.
Chapter “Glossary“
Special terms are explained in this chapter.
4
T5023/5023+ - Programming Guide
Preface Contents of the manual
Appendix
The appendix of this product manual contains the following information:
List of all document printer commands – Character set tables – Printable document and paper versions/ paper specification – Table of error messages
Description of the physical interface
Chapter “Index“
Facilitates searching for selected terms.
T5023/5023+ - Programming Guide 5
Contents of the manual Preface
6
T5023/5023+ - Programming Guide

Short description of the document printer

The document printer has a document printing point with which single documents, multiple documents (sets of forms) and passbookscan be processed. The printer canalso be equippedwitha magneticstripereader (MSR), a magnetic ink card rea-
der (MICR) or a single sheet feeder as an option.

Document printing point

The term ’document’ includes all single documents, for example, cheques, un­printed DIN A4 papers (blank documents), forms of various sizes or passbooks.
All documents are fed by the document printer over a flat bed according to the principle of single- sheet processing, are processed and ejected again. The pro­cessing of a document is begun when each single document is put forward.
The form feed of the documents can be freely selected. The feeding of the docu­ments is supported by an automatic alignment. The print characters can be positio­ned relative to all the document edges.
The following provides a comprehensive list of the characteristics of the docu­ment printing point:
90 printing points with 10 characters/ inch – Automatic document alignment – Automatic print head adjustment – Automatic document edge detection – Print head with 24 needles – 2 print modes (LQ, Draft) – ’24- bit’ and ’8- bit’ graphics – The print rate is dependent on the horizontal density of the character font
selected in each case. There are two different print rates for the print modes LQ (Letter Quality) and Draft. The document printer can also process type fonts, print qualities or multi- phase characters, which vary from the pixel data structure of the standard character sets. More than two print rates are possible due to the respective character font.
T5023/5023+ - Programming Guide 7
Options Short description of the document printer

Options

Magnetic stripe reader (MSR)

As an option, the document printer can be delivered with a magnetic stripe rea­der (MSR device) for passbooks. This enables reading and updating from the magnetic stripe on passbooks depending on certain recording modes (DIN / IBM). It is possible to changebetween various recording modes via the program.

MICR

Magnetic ink character reader for the fonts CMC7 and E13B.

Feeder

Single sheet feeder for 500 sheets A4.

Memory extension

The memory extension is necessary e.g. for journal data or asiatic fonts.
8
T5023/5023+ - Programming Guide
Short description of the document printer System interface

System interface

Data, which activates the functions of the printer is transferred through the sy­stem interface. The interfaces has the following characteristics:
the physical c onnection – the logic protocol (command sequences)
The characteristics are selected via the operating panel.

Physical interface

Two interfaces are available: – internal interface (RS232) – optional (external) interface (Centronics, LAN, etc. in combinationwith a cor-
respondent additonal logic).

Logical protocol

Several protocols (emulations) areavailable. Dependent on the loadedfirmware configuration the following selection is possible:
Firmware configuration ’5023_STD’
l
Epson ANSI
l
IBM 4722
l
Proprinter XL24
Firmware configuration ’5023_OLI’
l
Epson ANSI
l
Olivetti
l
Proprinter XL24
T5023/5023+ - Programming Guide 9
System interface Short description of the document printer
Epson ANSI
The manual describes detailed this emulation. As all functions of the printer are supported optimal, this emulation should be used for the relisation of new appli­cations. Also this emulation can be used for the removal of the following printers:
EPSON ESC P –ND90 – HPR 4904 – HPR 4905
IBM 4722, Proprinter XL 24, Olivetti
This emulations copy printers of other producers (partially with restrictions). In this manual only the command table, specialities, parameter settings and possi­ble incompabilities are described.
10
T5023/5023+ - Programming Guide
Short description of the document printer Application areas

Application areas

The processing of single/multiple documents and passbooks allows the use of the document printer in the following areas:
Industry and commerce:
Delivery notes – Freight and customs papers – Invoices – Envelopes
Public authorities:
Application forms – Filing cards –Taxcards – Motor vehicle papers – Driving licences
Banks, Insurances and Services:
Passbooks – Cheques – Transfers – Medical certificates – Application forms
Magnetic stripe writing and reading equipment is available for use in banks as an
.
option
T5023/5023+ - Programming Guide 11
Application areas Short description of the document printer
12
T5023/5023+ - Programming Guide

Programming interface (General)

This chapter contains general information on how the functions of the document printer can be activated by a user program, i. e., how the document printer can beprogrammed. This chapter also explainsthe functionswhich can be activated by means of the program in a short, comprehensive summary.

Encryptions/Codes

The print functions of the document printer are initiated from aprogram in which uniquenumeric encryptions (codes)representing charactersand commandsare transmitted from the computer to the printer. The individual codes stand for prin­table characters (letters, numbers, punctuation marks, mathematical symbols) or control codes, which cause certain actions (for example, document ejection, deletion of characters, carriage return).
T5023/5023+ - Programming Guide 13
Encryptions/Codes Programming interface (General)

ASCII code

A code table specifies how the printable characters and control commands, for example, for document ejection and carriage return are encrypted binarily in the computer or printer. The encryption is expressed by a corresponding hexadeci­mal or decimal number. A certain character then lies in hexadecimalnotation or in the decimal representation, for example, in the range hex 00 to hex FF or de­cimal 0 to decimal 255 (8- bit encryption).
Examples:
Character Meaning Decimal Hex
A a 4 LF ESC
With the document printer and with most computers the basis for the encryptions is the code system ASCII ( A merican S tandard C ode for I nformation I nterchange), which only differs in certain characters for special foreign languages (national ASCII table). The ASCII code is encrypted via 7 bits, whereby 128 different meanings are possible
.
Letter big A Letter small a Number 4 Line Feed Escape
65 97 52 10 27
41 61 34 0A 1B
Escape sequences / CSI sequences
As the ASCII table provides fewer control codes than print functions, the commands for the printer normally consist of a sequenceof two or more ASCII characters. Such a code sequence is always preceded by the encryption of the control code ESC (Es­cape) (ASCII code 27 (decimal) or 1B (hexadecimal). This signals to the printer that the encryptions following ESC are to be interpreted as commands for
the printer. There are two kinds of code sequences for the document printer: – ESC ...
Code sequences, which begin with ESC or the appropriate encryption, are called ESC sequences.
CSI ... = ESC [ ...
Code sequences introduced with CSI (Control Sequence Introducer) are called CSI sequences. CSI sequences are introduced with encryptions of the character sequence “ESC [” and concluded with the encryption of two
14
T5023/5023+ - Programming Guide
Programming interface (General) Encryptions/Codes
characters depending on the command I (= Intermediate Character) and F (= Final Character). The CSI sequences are used to control special docu­ment printer functions for document and MSR processing (see “document printer specifications” in this chapter and the chapter “Additional com­mands”).
Examples (ESC sequences):
ESC
Meaning ASCII encryption
sequence
ESC 4 ESC 5 ESC 0 ESC C 60
Examples (CSI sequences, here without encryptions):
Italic print on Italic print off Deleting bottom margin
Setting the document length to 60 lines
CSI Parameter I F Meaning
ESC [
%
Deleting of MSR track
r
(no parameters)
ESC [ n
$
Activating passbook processing
t
decimal hexadecimal decimal hexadecimal decimal hexadecimal decimal hexadecimal
:2752 :1B34 :2753 :1B35 :2779 :1B4F :276760 :1B433C
T5023/5023+ - Programming Guide 15
Encryptions/Codes Programming interface (General)
i

Activating the document printer functions

Thecontrolcodes or ESC or CSI sequences must beaddressedtothe printer directly and uniquely via corresponding program commands. Depending on the respective programming language, this is, e. g., via PRINT or WRITE instructions.
Example: Three lines are to be printed. Lines 1 and 3 are printed in normal print, line 2 in
italic print.
Pseudo code:
BEGIN
PRINTLF(" first line") PRINT(ESC 4) PRINTLF(" second line") PRINT(ESC 5) PRINTLF(" third line")
END
Conversion into BASIC
10 LPRINT "first line" 20 LPRINT CHR$(27);" 4"; 30 LPRINT "second line" 40 LPRINT CHR$(27);" 5"; 50 LPRINT "third line"
Result:
In this manual the program examples are depicted exclusively in the form of a pseudo code and the control codes or code series are given in decimal ASCII encryption or directly as characters. The correspon­ding information must then be converted into the appropriate pro­gramming language.
16
:
T5023/5023+ - Programming Guide
Programming interface (General) Print effects

Print effects

The design of a print product is dependent on the print quality, type font, type size or character width and highlighting text, e. g., by underlining or bold print.

Print quality

Theprint quality is characterized bythe density of the print characters and bythe print rate. The document printer provides two print qualities:
LQ mode (Letter Quality)
The LQ mode has the higher print quality and lower print rate.
DQ mode (Draft Quality)
The DQ mode has a lower print quality, but a higher print rate.
Example:
The print quality can be selected by means of the corresponding ESC se­quences via a program or the menu.
T5023/5023+ - Programming Guide 17
Print effects Programming interface (General)

Fonts

In addition to the DQ font for drafts, the default fonts Roman, Sans Serif, OCR A (OCR A1 Eurobanking) and OCR B (OCR B1 Eurobanking), as well as the cha­racter set ISO 8859 with the following versions are available for Letter Quality (LQ mode):
East Europe – Cyrillic –Greece –Hebrew –Turkey
The DQ, Roman and Sans Serif fonts are selected via corresponding ESC se­quences in the program.
The OCR- A, OCR- B and ISO 8859 fonts, as well as all special, non- Epson­compatible fonts, can only be selected via CSI sequences. The character fonts thus selected are treated like normal LQ type fonts, this means that all standard commands (print quality, character size, print type) are also effective for these fonts.
Example (fonts in Letter Quality):
18
T5023/5023+ - Programming Guide
Programming interface (General) Print effects

Font size / character density

The width of a printed character is expressed in ’characters per inch’ (cpi) and is often called ’character density’, for example
10 characters per inch = 10 cpi
The document printer can print in the character widths 10, 12 and 15 pitch. Each individual character is then the same width.
Example:
The font size can also be influenced by proportional type, as well as by elonga­ted or condensed print.
Proportional type
With proportional type each character takes up a different amount of space ac­cordingto its size(for example, ’I’takes up lessspace than ’B’or ’t’ lessthan ’g’). Texts in proportional type are normally shorter than in normal print.
Example:
Elongated print
With elongated print, each character is represented in double width. It is possi­ble, for example, to highlight page headings in a text.
Example:
T5023/5023+ - Programming Guide 19
Print effects Programming interface (General)
Condensed print
If printing takes place in 10 or 12 pitch in condensed print, each character can be reduced to 60% of its width in normal print.
Example:
20
T5023/5023+ - Programming Guide
Loading...
+ 374 hidden pages