Tally-genicom Matrix Printer Manuale Utente

Navigare online o scaricare Manuale Utente per Stampanti per fotografie Tally-genicom Matrix Printer. Tally Genicom Matrix Printer User Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 409
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti

Sommario

Pagina 1 - Matrix printer

Programmer's ManualMatrix printer7265

Pagina 2 - Copyright © 2004 TallyGenicom

7265 Programmer’s Manual 6Copyright © 2004 TallyGenicom Chapter 2 ANSICode is Hexadecimal, Ordered Column|Row89ABCDEF0 DCS á!"#$1 PU1 í%& &a

Pagina 3

This sequence terminates previously set additional character space defined withESC SP.Following sequences will cancel the HMI mode:ESC ! print mode se

Pagina 4

Set enlarged Print ModeSO/ESC SOReset enlarged Print ModeDC4Continuous enlarged Print ModeESC WSyntaxASCII SO or ESC SO set enlarged print mode (for

Pagina 5 - Introduction

Example 10 REM enlarged character densities20 LPRINT CHR$(27);"P";: REM 10 cpi30 LPRINT "normal 10 cpi character density"40 LP

Pagina 6 - Chapter 2

Condensed Character DensitySI/ESC SIReset Condensed Character DensityDC2Data StructureASCII SI or ESC SI condensed print ON➊hex. 0F or 1B 0Fdec. 15

Pagina 7 - Control Code Summary

Character Density 10 cpiESC PCharacter Density 12 cpiESC MCharacter Density 15 cpiESC gData StructureASCII ESC "P" set character density to

Pagina 8 - 8-bit Control Codes

Example 10 REM single character densities20 LPRINT CHR$(27);"P";"this is pica sized"30 LPRINT CHR$(27);"M";"and

Pagina 9

Proportional SpacingESC pData StructureASCII ESC "p" <n> or n proportional spacing ON/OFFhex. 1B 70 <n> or ndec. 27 112 <n>

Pagina 10 - Escape Sequence Summary

Character SpacingESC SPData StructureASCII ESC SP <n>hex. 1B 20 <n>dec. 27 32 <n>DescriptionThe size of the spaces between the chara

Pagina 11 - Code Description

Line SpacingFixed Line Spacing 1/8 InchESC 0Fixed Line Spacing 7/72 InchESC 1Fixed Line Spacing 1/6 InchESC 2Data StructureASCII ESC "0" set

Pagina 12 - Pr inter Handshaking

Note that changing the line spacing also changes the number of lines per page. Changingthe line spacing does not affect the current tab stops or form

Pagina 13 - Printer Control

7265 Programmer’ Manual 7Copyright © 2004 TallyGenico

Pagina 14 - 7265 Programmer’s Manual

Variable Line Spacing n/180 Inch or n/216 InchESC 3Variable Line Spacing n/60 Inch or n/72 InchESC AVariable Line Spacing n/360 InchESC +Data Structur

Pagina 15

Example 10 REM variable line spacing20 FOR N= 20 TO 40 STEP 1030 LPRINT CHR$(27);"3";CHR$(N)40 LPRINT "these two lines are printed w

Pagina 16

Character StylingSuper-/Subscript Mode ONESC SSuper-/Subscript Mode OFFESC TData StructureASCII ESC "S" <n> or n super/subscript mode

Pagina 17 - Commands Description

Example 10 REM superscript and subscript20 LPRINT "E=M*C";30 LPRINT CHR$(27);"S";CHR$(0);40 LPRINT "2";50 LPRINT

Pagina 18

Double Strike ONESC GDouble Strike OFFESC HData StructureASCII ESC "G" double strike ON➊hex. 1B 47dec. 27 71ASCII ESC "H" double s

Pagina 19 - Command Description

Select Font and Pitch by PointESC XData StructureASCII ESC "X" <m> <nL><nH> select font and pitch by pointhex. 1B 58 <

Pagina 20 - NATIONAL CHARACTER SET

Not all printer fonts are scaleable. Please refer to the printer’s reference manual whichfonts are supported. Scaleable fonts can only be printed in o

Pagina 21

Print QualityESC xData StructureASCII ESC "x" <n> or n set print quality (PQ)hex. 1B 78 <n> or ndec. 27 120 <n> or nDescri

Pagina 22 - <SP> G

Font Type SelectionESC kData StructureASCII ESC "k" <n>hex. 1B 6B <n>dec. 27 107 <n>DescriptionCorresponding to the value

Pagina 23

Example 10 REM font selection20 LPRINT CHR$(27);"x1"; : REM high print quality30 FOR i=0 TO 940 LPRINT CHR$(27);"k";CHR$(i);50

Pagina 24 - Forms Setup

7265 Programmer’s Manual 8Copyright © 2004 TallyGenicom Chapter 2 ANSIPr inter HandshakingCommands DescriptionDC1 PRINTER READYIn serial interface, i

Pagina 25 - Superscript/Subscript

Typestyle SelectionESC qData StructureASCII ESC "q" <n> or nhex. 1B 71 <n> or ndec. 27 113 <n> or nDescriptionThis sequenc

Pagina 26 - Vertical Movement

Emphasized Mode ONESC EEmphasized Mode OFFESC FData StructureASCII ESC "E" emphasized mode ON➊hex. 1B 45dec. 27 69ASCII ESC "F" em

Pagina 27

Underline ModeESC -Data StructureASCII ESC "-" <n> or n underline mode ON/OFFhex. 1B 2D <n> or ndec. 27 45 <n> or nDescrip

Pagina 28

Score Selection ESC ( -Data StructureASCII ESC "(" "-" <3> NUL <1> <n1><n2>hex. 1B282D030001<n1><

Pagina 29

Example 10 REM Score Selection20 LPRINT CHR$(27);"(-";CHR$(3);CHR$(0);CHR$(1);CHR$(1);CHR$(2);30 LPRINT "1. Underline - Double conti

Pagina 30 - Horizontal Movement

Italic Mode ONESC 4Italic Mode OFFESC 5Data StructureASCII ESC "4" italic mode ON➊hex. 1B 34dec. 27 52ASCII ESC "5" italic mode OF

Pagina 31

Print Mode Selection ESC !Data StructureASCII ESC "!" <n>hex. 1B 21 <n>dec. 27 33 <n>DescriptionThis code sequence allows

Pagina 32

Stan- Con- En- Cond. Propor- Prop.-/ LQ LQdard densed larged enlarg. tional enlarg. enlargedPica - normal 0 4 32 36 2 34 0 32- emphas. 8 – 40 – 18 50

Pagina 33 - Dot Graphics

Example 10 REM print mode selection20 LPRINT CHR$(27);"D";CHR$(40);CHR$(0);30 FOR N = 0 TO 255 STEP 740 LPRINT CHR$(27);"!";CHR

Pagina 34 - Dot Graphics Example

Double HeightESC wData StructureASCII ESC "w" <n> double height ON/OFFhex. 1B 77 <n> or ndec. 27 119 <n> or nDescriptionBy

Pagina 35 - Graphics Control Functions

7265 Programmer’s Manual 9Copyright © 2004 TallyGenicom Chapter 2 ANSIPrinter ControlCommands DescriptionSO SHIFT OUTYou can strap the printer to star

Pagina 36

Print PositioningHorizontal Tab StopsESC DData StructureASCII ESC "D" <n1> ...<n32> NUL set horizontal tab stops➊hex. 1B 44 <

Pagina 37 - ANSI Bar Codes

When the printer is switched on or ESC @ is sent, horizontal tab stops are set at everyeight position (9, 17, 25, etc.).Example 10 REM horizontal

Pagina 38

Set Horizontal and Vertical Step WidthESC eData StructureASCII ESC "e" NUL <n> Set horizontal step width➊hex. 1B 65 00 <n>dec. 2

Pagina 39 - 01234567890123456789

Horizontal and Vertical Step Forward ESC fData StructureASCII ESC "f" NUL <n> Set horizontal step forward➊hex. 1B 66 00 <n>dec.

Pagina 40

Absolute Horizontal StepESC $Data StructureASCII ESC "$" <n1><n2> set absolute horizontal stephex. 1B 24 <n1><n2>dec

Pagina 41 - SHIFT IN

Example 10 REM absolute horizontal position20 LPRINT CHR$(27);"x1";:REM select LQ30 LPRINT CHR$(27);"$";CHR$(10);CHR$(0);"

Pagina 42

Relative Horizontal StepESC \Data StructureASCII ESC "\" <n1><n2> set relative horizontal stephex. 1B 5C <n1><n2>dec

Pagina 43

n1= 480 MOD 256= dec.224= hex.E0Movement of 5⁄3 inches (1.67 inches) towards the left side:n = 65536 - 1.67 * 120= 65336n2= INT (65336⁄256)= dec.255

Pagina 44 - Rotation 2

Vertical Tab StopsESC BData StructureASCII ESC "B" <n1>...<n16> NUL set vertical tab stops➊hex. 1B 42 <n1>...<n16>

Pagina 45

When the printer is switched on no vertical tab stops are set.Example 10 REM vertical tabs20 LPRINT CHR$(27);"C";CHR$(10);:REM set form

Pagina 46 - Delimiters

7265 Programmer’s Manual 10Copyright © 2004 TallyGenicom Chapter 2 ANSICommands DescriptionDEL DELETEDEL is a printable character, or is a valid graph

Pagina 47

Set/Reset Vertical Tabs in ChannelsESC bSelect Vertical Tab ChannelESC /Data StructureASCII ESC "b" <m> <n1>...<n16> NUL

Pagina 48 - Horizontal Tab Delimiter

Example 10 REM vertical tabs in tab channels20 LPRINT CHR$(27);"C";CHR$(24); ’form length 24 lines30 LPRINT CHR$(27);"b";CHR$

Pagina 49 - *1234 *1234

Set Absolute Vertical Print Position ESC ( VData StructureASCII ESC "(" "V" <nL><nH><mL><mH> set absol

Pagina 50 - !1234! !2345!

Set Relative Vertical Print Position ESC ( vData StructureASCII ESC "(" "v" <nL><nH><mL><mH> set relat

Pagina 51

The default unit for this sequence is 1⁄360".Only positions within a valid form can be achieved. The current position is base for the newly defin

Pagina 52 - Interleaved 2 of 5 (Style 0)

Set Unit ESC ( UData StructureASCII ESC "(" "U" <nL><nH> <m> set unithex. 1B 28 55 <nL><nH><m

Pagina 53 - Code 3 of 9 (Style 4)

GraphicsGraphics 60 dpiESC KGraphics 120 dpiESC LHigh Speed Graphics 120 dpiESC YGraphics 240 dpiESC ZGraphic ModesESC *Data StructureASCII ESC &quo

Pagina 54 - EAN-13 (Style 6)

Special8 PointSequencesESC * <m> ...-SequencesPrint ModeDensity in dpi(Dots per Inch)Needlesin useAdja-centDotshorizont. vertic.ESC K... ESC *

Pagina 55 - Code 11 (Style 7)

Relationship between bits of graphics data and needles (9 needle version)Each needle in a column is assigned a bit of the data byte.Needle Data Byte

Pagina 56 - UPC-A (Style 13)

Graphics and text can be mixed within one line.If image data, lying outside the printable area, are input these data are ignored.Example 10 REM bit i

Pagina 57 - UPC-E (Style 14)

7265 Programmer’s Manual 11Copyright © 2004 TallyGenicom Chapter 2 ANSICommands DescriptionESC c RESET TO INITIAL STATERecalls the user format present

Pagina 58 - Code 128 (Style 16)

Select Graphics ModeESC ( GData StructureASCII ESC "(" "G" <nL><nH> <m> select graphics modehex. 1B 28 47 <n

Pagina 59 - MSI (Style19)

The graphics mode can be exited with sequence ESC @ (see page 114).In this mode text and graphics cannot be mixed on the same page.This sequence does

Pagina 60 - POSTNET (Style 50)

Graphics Mode ReassignmentESC ?Data StructureASCII ESC "?" <s> <n> reassign graphics modehex. 1B 3F <s> <n>dec. 27 6

Pagina 61

Example 10 REM Reassigns graphics sequence20 LPRINT CHR$(27);"K";CHR$(60);CHR$(0);30 REM Standard ESC K graphics sequence40 FOR X=1 TO 6

Pagina 62 - Code 3 of 9 Character Table

Graphics Printing with 9 Print DotsESC ^Data StructureASCII ESC "^" <m> <n1><n2>hex. 1B 5E <m> <n1><n2>d

Pagina 63 - Code 93 Character Table

Example for the calculation of n1 and n2:The number of graphics bytes is 80.n2= number of bytes divided by 256= 80⁄256= dec.0= hex.00n1= remainder f

Pagina 64

Download Character GeneratorGeneralYour printer offers you the possibility to design your own characters in normal print mode(DPQ), in NLQ, NLQ propor

Pagina 65 - K Weights654 3 21

To define download characters it is helpful to do this in a defined way:Draft print quality or letter quality or letter quality proportional character

Pagina 66 - Code Code Code Code

Copy ROM into RAMESC :Data StructureASCII ESC ":" NUL <n> NUL copy ROM CGhex. 1B 3A 00 <n> 00dec. 27 58 0 <n> 0Description

Pagina 67 - ANSI Oversized Font

Print Raster GraphicsESC .Data StructureASCII ESC "." <c> <v> <h> <m> <nL><nH><d1>...<dx> h

Pagina 68 - Oversized Control Functions

7265 Programmer’s Manual 12Copyright © 2004 TallyGenicom Chapter 2 ANSICommands DescriptionESC [(p1);...(pn)lRESET MODE (ANSI)Resets mode(s) set by ES

Pagina 69

Description of parameters:c = 0 Normal mode (not compressed)c = 1 Data Length Encoding (DLE, compressed)v Vertical resolution in dpi: 360, 180 dpih Ho

Pagina 70 - Setting the Expansion

“a” Counter specifies the number of data bytes following:(counter byte) + 1 = (number of data bytes to follow) or(counter byte) = (number of data byte

Pagina 71

Activate User Defined Character Set ESC %Data StructureASCII ESC "%" SOH activate user defined character set in RAMhex. 1B 25 01dec. 27 37 1

Pagina 72 - What is a Character Cell?

Download CharactersESC &The sequence for the definition of download characters receives different parameters for9 needle and 24 needle printers. U

Pagina 73

Defining Character (9 Needle Printer)Each downloaded character is defined in a matrixfield of 9 rows high and 12 columns wide.It is only possible to u

Pagina 74

Example (9 needle printer):The following example illustrates the definition of acharacter, the copyright symbol (a small “c” in acircle), instead of t

Pagina 75

Example 10 REM Download Character Definition20 LPRINT CHR$(27);"x";CHR$(0);:REM select draft print quality30 LPRINT CHR$(27);"&&

Pagina 76

Proportional Data (9 needle printer)Not all characters are the same size. “W” is considerably wider than “i”. In the proportionalprint mode, it is nec

Pagina 77

Just add up the values of the three parts of the byte to get the value of A.1. Normal = 128Descender = 02. First column is 1 = 0First column i

Pagina 78 - Exceptions

Normal matrix field = 128First column is 1 = 0Last column is 12 = 11 Total value of <A> = 139Normal matrix field = 128First colum

Pagina 79 - EPSON Emulation

7265 Programmer’s Manual 13Copyright © 2004 TallyGenicom Chapter 2 ANSICommands DescriptionESC [(p1);(p2);<SP>{PAPER SHEARIf the paper shear opt

Pagina 80

Example 10 REM Copy US ASCII caracter set20 LPRINT CHR$(27);"R";CHR$(0);30 LPRINT CHR$(27);":";CHR$(0);CHR$(0);CHR$(0);40 R

Pagina 81

Definition of NLQ Characters (9 needle printer)The definition of NLQ characters is more comprehensive than the definition of draft char-acters, since

Pagina 82

Definition of the Character GridNLQ characters consist of18 vertical dots and 12 hori-zontal dots.Within this grid every num-bered line or gap can be

Pagina 83

The following example shows a user-defined arrow with the list of the individual columnvalues (each 3 byte) which must be transferred to the printer.D

Pagina 84 - Description of Sequences

Example 100 LPRINT CHR$(27);"x";CHR$(1);110 LPRINT CHR$(27);"&";CHR$(0);";;";120 LPRINT CHR$(0);CHR$(12);CHR$(0);130

Pagina 85 - ESC C NUL

24 needle printerData StructureASCII ESC "&" NUL <x> <y> <d0><d1><d2>n1...n3 (data first character)<d0

Pagina 86

For LQ proportional only, it is necessary to define all 41 columns; column 42 should befree. All other print modes use the number of columns as define

Pagina 87

Example 10 REM Download Character Definition20 LPRINT CHR$(27);"x1"30 LPRINT CHR$(27);"&";CHR$(0);"AA";40 LPRI

Pagina 88 - ESC C NUL

MiscellaneousPrint Data as CharactersESC ( ^Data StructureASCII ESC "(" "^" <nL><nH><d1>...<dn> prin

Pagina 89

Printing Direction unidirectional for one lineESC <Set/Reset Unidirectional PrintingESC UData StructureASCII ESC "<" unidirectional pr

Pagina 90 - Set Page Length in Units

7265 Programmer’s Manual 14Copyright © 2004 TallyGenicom Chapter 2 ANSICommands DescriptionESC ]6;4;(p3);(p4)ESC \STRAPS AND OPTIONSThis command enabl

Pagina 91 - ESC ( c

Half-Speed PrintingESC sData StructureASCII ESC "s" <n>hex. 1B 73 <n>dec. 27 115 <n>DescriptionWith n=1 the print speed is

Pagina 92 - Paper and Text Formatting

Single n/180 Inch or n/216 Inch Line FeedESC JSingle n/180 Inch or n/216 Inch Back FeedESC jData StructureASCII ESC "J" <n> n/180 inch

Pagina 93

Colour SelectionESC rData StructureASCII ESC "r" <n>hex. 1B 72 <n>dec. 27 114 <n>DescriptionAccording to the value specifi

Pagina 94

The relationship between colour selection sequences and the resulting colours for severalribbon cassettes is shown in the following table:selected col

Pagina 95

International Character SetsESC RData StructureASCII ESC "R" <n> select international character sethex. 1B 52 <n>dec. 27 82 <

Pagina 96

Example 10 REM international character sets20 LPRINT CHR$(27);"R";CHR$(0) ;"ASCII : ";:GOSUB 16030 LPRINT CHR$(27

Pagina 97 - Justification and Centering

Character SetsESC tData StructureASCII ESC "t" <d1> select character tablehex. 1B 74 <d1>dec. 27 116 <d1>Description Vali

Pagina 98

You can either register 0 - 3. Register 3 is only available in ESC/P2 mode.The command ESC ( t can be used to assign character sets to character tab

Pagina 99

Assign Character Table ESC ( tData StructureASCII ESC "(" "t" <nL><nH><d1><d2><d3> assign character

Pagina 100

d2d3Table name26 0 Abicomp29 16 ISO 8859-1 (Latin 1)35 0 Roman 8127 2 ISO 8859-2 (Latin 2)Please refer to the printer’s reference manual which charact

Pagina 101 - SO/ESC SO

7265 Programmer’s Manual 15Copyright © 2004 TallyGenicom Chapter 2 ANSIGraphics Rendition (Fonts and Modes)Command DescriptionESC [(p1);...(pn)mSELECT

Pagina 102

Input Data Control Bit 8 = 1ESC >Input Data Control Bit 8 = 0ESC =Input Data Control Bit 8 unchangedESC #Data StructureASCII ESC ">" s

Pagina 103 - SI/ESC SI

Sheet FeederESC EMData StructureASCII ESC EM "0" deactivate sheet feeder operationhex. 1B 19 30dec. 27 25 48ASCII ESC EM "1" selec

Pagina 104

Example 10 REM sheet feeder20 LPRINT CHR$(27);CHR$(25);"1";30 LPRINT "This text is on a form"40 LPRINT "from magazine one.&

Pagina 105

Print Code Area Expansion ONESC 6Print Code Area Expansion OFFESC 7Data StructureASCII ESC "6" print ASCII codes 128 to 159 and 255➊hex. 1B

Pagina 106 - Proportional Spacing

Example 10 REM code aera expansion15 LPRINT CHR$(27);"t1"; 20 LPRINT CHR$(27);"6";30 GOSUB 7040 LPRINT CHR$(27);"7&qu

Pagina 107 - Character Spacing

Activate/Deactivate Graphics CharactersESC mData StructureASCII ESC "m" <n>hex. 1B 6D <n>dec. 27 109 <n>DescriptionOn rece

Pagina 108 - Line Spacing

International Code Table ESC IData StructureASCII ESC "I" <n> or nhex. 1B 49 <n> or ndec. 27 73 <n> or nDescriptionThe ASC

Pagina 109

Printer InitializationESC @Data StructureASCII ESC "@" printer initializationhex. 1B 40dec. 27 64DescriptionPrinter initialization means tha

Pagina 110

Activate Paper End SensorESC 8Deactivate Paper End SensorESC 9Data StructureASCII ESC "8" Deactivate paper end sensor➊hex. 1B 38dec. 27 56AS

Pagina 111

Control CodesBEL (hex.07)(dec.7)Sounds acoustic signal.BS (hex.08)(dec.8)Print contents of line buffer, then move the print head one position back. Wh

Pagina 112 - Character Styling

Table of Contents7265 Programmer’s Manual iCopyright © 2004 TallyGenicomChapter 1. Introduction...

Pagina 113

7265 Programmer’s Manual 16Copyright © 2004 TallyGenicom Chapter 2 ANSINATIONAL CHARACTER SET Command DescriptionESC [(p)x SELECT NATIONAL CHARACTER S

Pagina 114

DEL (hex.7F)(dec.127)Clear previous characters in the print buffer.ESC (hex.1B)(dec.27)Start character for a subsequent program sequence. FF (hex.0C)(

Pagina 115

SOH (hex.01)(dec.01)Start Of Heading.SP (hex.20)(dec.32)SpaceVT (hex.0B)(dec.11)When the printer receives this code, it prints the data in the print b

Pagina 116

Appendix ASummary of Possible Codes

Pagina 117 - Print Quality

BEL Bell . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116BS Control Code BS (Backspace) . . . . . . .

Pagina 118 - Font Type Selection

ESC * <5><n1><n2> graphics 72 dpi . . . . . . . . . . . . . . . . . . . . . . 63ESC * <6><n1><

Pagina 119

ESC 0 set line feed to 1/8 inch . . . . . . . . . . . . . . . . . . 25ESC 1 set line feed to 7/72 inch . . . . . . . . .

Pagina 120 - Typestyle Selection

ESC g character density 15 cpi . . . . . . . . . . . . . . . . . 21ESC H double strike print mode OFF . . . . . . . . . .

Pagina 121

ESC SP <n> character spacing . . . . . . . . . . . . . . . . . . . . . 24ESC T super/subscript mode OFF . . . . . .

Pagina 122 - Underline Mode

absolute horizontal step ESC $<n1><n2> . . . . . . . . . . . . . . . . . . . . . 51ASCII character 0 NUL . . . .

Pagina 123 - ESC (

form feed FF . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117form length in inches ESC C NUL <n> . .

Pagina 124

7265 Programmer’s Manual 17Copyright © 2004 TallyGenicom Chapter 2 ANSID/N = Danish/Norwegian S/F = Swedish/FinnishCode DLocation H352336243826

Pagina 125

national character set selection ESC R <n> . . . . . . . . . . . . . . . . . . . . . . . . 101paper end sensor, activat

Pagina 126 - Print Mode Selection

set unit ESC ( U . . . . . . . . . . . . . . . . . . . . . . . . . . 62sheet feeder ESC EM <n> . . . . . . . .

Pagina 127 - Character Styling

Appendix B Character SetsRegister nur für SNI

Pagina 128

The following character sets can be selected via control panel or by Escape sequences,which correspond to the selected emulation mode.The following ex

Pagina 129 - Double Height

Standard Character Sethex0123456789ABCDEFdec0NUL NUL0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 2401DC1 DC11 17 33 49 65 81 97 113 129 145 161

Pagina 130 - Print Positioning

International Substitution Table - normal fontdec 35 36 64 91 92 93 94 96 123 124 125 126hex 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7EUS ASCIIFrench

Pagina 131

International Substitution Table - italic fontdec 163 164 192 219 220 221 222 224 251 252 253 254hex A3 A4 C0 DB DC DD DE E0 FB FC FD FEUS ASCIIFrench

Pagina 132

Graphics Character Sethex0123456789ABCDEFdec0NUL NUL0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 2401DC1 DC11 17 33 49 65 81 97 113 129 145 161

Pagina 133

Standard Character Set, extendedhex0123456789ABCDEFdec0NUL0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 2401DC11 17 33 49 65 81 97 113 129 145 1

Pagina 134 - Absolute Horizontal Step

Graphics Character Set, extendedhex0123456789ABCDEFdec0NUL0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 2401DC11 17 33 49 65 81 97 113 129 145 1

Pagina 135

7265 Programmer’s Manual 18Copyright © 2004 TallyGenicom Chapter 2 ANSILine/Character SpacingCommand DescriptionESC [(p1); (p2)<SP> GLINE/CHAR

Pagina 136 - Relative Horizontal Step

International Code Tablehex0123456789ABCDEFdec00 16 32 48 64 80 96 112 128 144 160 176 192 208 224 24011 17 33 49 65 81 97 113 129 145 161 177 193 209

Pagina 137

International Code Table, extendedhex0123456789ABCDEFdec0SP0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 24011 17 33 49 65 81 97 113 129 145 161

Pagina 138

Table of Character Width for Proportional PrintingOn the following pages you will find tables of character widths for proportional printing.The charac

Pagina 139

Proportional width during scaleable font modeThe values of the character widths are depending on the selected point sizeat your printer.The width of t

Pagina 140

24 Needle PrinterCodeChar.Widthin 1⁄360"CodeChar.Widthin 1⁄360"CodeChar.Widthin 1⁄360"hex. dec. hex. dec. hex. dec.202122232425262728

Pagina 141

CodeChar.Widthin 1⁄360"CodeChar.Widthin 1⁄360"CodeChar.Widthin 1⁄360"hex. dec. hex. dec. hex. dec.7172737475767778797A7B7C7D7E113114115

Pagina 142 - ESC ( V

CodeChar.Widthin 1⁄360"CodeChar.Widthin 1⁄360"CodeChar.Widthin 1⁄360"hex. dec. hex. dec. hex. dec.C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D

Pagina 143 - ESC ( v

9 Needle PrinterCodeCharacterWidthin 1⁄120"CodeCharacterWidthin 1⁄120"CodeCharacterWidthin 1⁄120"hex. dec. hex. dec. hex. dec.2021222

Pagina 144

CodeCharacterWidthin1⁄120"Code CharacterWidthin1⁄120"Code CharacterWidthin1⁄120"hex. dec. hex. dec. italic graph. hex. dec. italic grap

Pagina 145 - ESC ( U

Code CharacterWidthin1⁄120"Code CharacterWidthin1⁄120"Code CharacterWidthin1⁄120"hex. dec. italic graph. hex. dec. italic graph. hex. d

Pagina 146 - Graphics

7265 Programmer’s Manual 19Copyright © 2004 TallyGenicom Chapter 2 ANSICommands DescriptionESC [(p1);(p2) <SP> GLINE/CHARACTER SPACINGp1 = line

Pagina 147

“All rights reserved. Translations, reprinting or copying by any means of this manual complete or in part or in any different form requiresour explici

Pagina 148

Programmer’s ReferenceTally ANSI (MTPL) Emulation

Pagina 149

Table of ContentsDescription of MTPL-SequencesIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 150 - Select Graphics Mode

Line Spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Vertical Spacing (SVS) . . .

Pagina 151 - Graphics

Horizontal Tab Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Set Horizontal Tab Stop at Current Position

Pagina 152 - Graphics Mode Reassignment

Color Selection (Option) . . . . . . . . . . . . . . . . . . . . . . . . . . 72Input Data Control . . . . . . . . .

Pagina 153

Appendix A Summary of Possible CodesSorted by Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2S

Pagina 154

Description of MTPL-SequencesIntroductionPaper and Text FormattingCharacter SpacingLine SpacingCharacter StylingPrint PositioningGraphicsMiscellaneous

Pagina 155

Introduction Regardless of the specific MTPL sequences of your printer, this User’s Manual describesthe sum of all MTPL sequences and control codes. T

Pagina 156 - Download Character Generator

CSI means “Control Sequence Introducer” and is described by the code 9B (hex.) or ESC [ :7-Bit-environment ➛ hex. 1B, hex. 5B (= ESC [ )8-Bit-enviro

Pagina 157

7265 Programmer’s Manual 20Copyright © 2004 TallyGenicom Chapter 2 ANSIForms SetupCommand DescriptionESC [(p1);(p2);(p3);(p4);(p5)rFORMS SETUPSets top

Pagina 158 - Copy ROM into RAM

Character explanation and symbol description Lower case “ ” InformationsSequence only applies for 9 needle printerSequence only applies for 24 ne

Pagina 159 - Print Raster Graphics

Paper and Text Formatting Form Length CSI ... tData Sructure ASCII CSI n "t" [A] set form lenght in lineshex. 9B n 74dec. 155 n 116Descr

Pagina 160

Example 10 REM form length20 LPRINT CHR$(27);"[4t";30 FOR F=1 TO 240 FOR L=1 TO 350 LPRINT "length 4:form";F;" line&

Pagina 161

Turn ON Positioning Unit Mode (SM) CSI 11 hTurn OFF Positioning Unit Mode (RM) CSI 11 Data Structure ASCII CSI "1" "1" "h&quo

Pagina 162

Select Size Unit (SSU) CSI ... SP IData Structure ASCII CSI n SP "I" [B] select size unithex. 9B n SP 49dec. 155 n SP 73Description For n

Pagina 163 - ESC &

Set Top and Bottom Margin CSI ... rClear Top and Bottom Margin CSI rData Structure ASCII CSI n1";" n2"r" [A] set top and bottom m

Pagina 164

Example 10 REM top and bottom margin20 LPRINT CHR$(27);"[6t";:REM form length30 LPRINT CHR$(27);"[2;5r":REM set margins40 F

Pagina 165

Set Left and Right Margin CSI ... sClear Left and Right Margin CSI sData Structure ASCII CSI n1";" n2"s" [A] set left and rig

Pagina 166

If only one margin is changed, the other margin will be reset to default value.If there are any logical problems (for example, left margin > right

Pagina 167

Set Line Home (SLH) CSI ... SP USet Line Limit (SLL) CSI ... SP VData Structure ASCII CSI n SP "U" [A] set line home ➊hex. 9B n 20 55dec

Pagina 168

7265 Programmer’s Manual 21Copyright © 2004 TallyGenicom Chapter 2 ANSISuperscript/SubscriptCommand DescriptionESC K(PLD)SUBSCRIPT PRINTINGMoves paper

Pagina 169

Right Justification ON CSI 8 yCentering ON CSI 9 yRight Justification and Centering OFF CSI 10 yRight Justification and Centering OFF CSI : yData Stru

Pagina 170

Character Spacing Spacing Increment (SPI) CSI ... SP GData Structure ASCII CSI n1 ";" n2SP "G" [B] [C] set spacing incrementhex.

Pagina 171

Horizontal Spacing CSI ... wData Structure ASCII CSI n "w" [A] set cpihex. 9B n 77dec. 155 n 119Description For n the following parameters a

Pagina 172 - 123456789101112

Example 10 REM character densities20 LPRINT CHR$(27);"[4wthis is 10 cpi, ";30 LPRINT CHR$(27);"[12wthis is 10 cpi (high resoluti

Pagina 173

Horizontal Character Spacing (SHS) CSI ... SP KData Structure ASCII CSI n SP "K" [A] set cpihex. 9B n 20 4Bdec. 155 n 32 75Description For

Pagina 174

Character Spacing (SCS) CSI ... SP gData Structure ASCII CSI n SP "g" [A] set character spacinghex. 9B n 20 67dec. 155 n 32 103Descriptio

Pagina 175 - 24 needle printer

Additional Character Spacing (SACS) CSI ... SP \Data Structure ASCII CSI n SP " \" [A] set additional character spacinghex. 9B n 20 5Cdec.

Pagina 176

Reduced Character Spacing (SRCS) CSI ... SP fData Structure ASCII CSI n SP "f" [B] set reduced character spacinghex. 9B n 20 66dec. 155 n 3

Pagina 177

Horizontal Motion Index (HMI) CSI ... pData Sructure ASCII CSI n "p" [C] set HMIhex. 9B n 70dec. 155 n 112Description n = 0...20The norma

Pagina 178 - Miscellaneous

Horizontal Step (Microspace) CSI ... qData Structure ASCII CSI n "q" [C] set horizontal stephex. 9B n 71dec. 155 n 113Description n = 1...25

Pagina 179 - ESC <

7265 Programmer’s Manual 22Copyright © 2004 TallyGenicom Chapter 2 ANSIVertical MovementAbsolute positions are calculated from the top and left print

Pagina 180 - Half-Speed Printing

Line Spacing Vertical Spacing (SVS) CSI ... SP LData Structure ASCII CSI n SP "L" [A] set vertical spacing (lpi)hex. 9B n 20 4Cdec. 155 n

Pagina 181

Line Density 6 lpi CSI 3 zLine Density 8 lpi CSI 4 zData Structure ASCII CSI "3" "z" [C] line density 6 lpi (= line s

Pagina 182 - Colour Selection

Set Line Spacing (SLS) CSI ... SP hData Structure ASCII CSI n SP "h" [A] set line spacinghex. 9B n 20 68dec. 155 n 32 104Description n

Pagina 183 - **** Sequence is ignored

Character Styling Superscript ON CSI 0 zSubscript ON CSI 1 zMicroscript ON CSI 10 zSuper-/Sub-/Microscript OFF CSI 2 zData Structure ASCII CSI n "

Pagina 184 - International Character Sets

Example 10 REM super/sub/microscript20 LPRINT "E=M*C";30 LPRINT CHR$(27);"[0z";40 LPRINT "2";50 LPRINT CHR$(27);

Pagina 185

Double Height ON (Upper Half) CSI 12 zDouble Height ON (Lower Half) CSI 13 zDouble Height OFF CSI 2 zData Structure ASCII CSI "1" "2&qu

Pagina 186 - Character Sets

Example 10 REM double height20 LPRINT "For ";CHR$(27);"[12zHeadlines ";CHR$(27);"[2z";30 LPRINT "printing in d

Pagina 187

Print Quality CSI ... SP XCSI ... yData Structure ASCII CSI n SP "X" [A] select print quality ➊hex. 9B n 20 58dec. 155 n 32 88ASCII CSI n

Pagina 188 - ESC ( t

Example 10 REM print quality20 LPRINT CHR$(27);"[0yThis is draft quality ";30 LPRINT CHR$(27);"[1yand this is NLQ printing."40

Pagina 189

Select Typestyle CSI ... mData Structure ASCII CSI n "m" [A] select typestylehex. 9B n 6Ddec. 155 n 109Description This sequence defines

Pagina 190 - ESC >

7265 Programmer’s Manual 23Copyright © 2004 TallyGenicom Chapter 2 ANSIVertical MovementCommands DescriptionLF LINE FEEDAdvances the paper one line ac

Pagina 191 - Sheet Feeder

Example Valid for most MTPL printers.Fontregister Font 0Draft1 NLQ Courier2LQ Courier3 NLQ Sans Serif4 LQ Sans Serif5LQ Roman6LQ Script7 LQ Prest

Pagina 192

Emphasized Mode ON CSI = zEmphasized Mode OFF CSI > zData Structure ASCII CSI "=" "z" [C] emphasized mode ONhex. 9B 3D 7Ade

Pagina 193

Italic Mode ON CSI 3 mItalic Mode OFF CSI 23 mData Structure ASCII CSI "3" "m" [A] italic mode ONhex. 9B 33 6Ddec. 155 51 109A

Pagina 194

Proportional Mode ON (SGR) CSI 26 m CSI 2 yProportional Mode OFF CSI 50 m CSI 7 yData Structure ASCII CSI "2" "6" &quo

Pagina 195

Example 10 REM proportional spacing20 LPRINT CHR$(27);"[2y";30 LPRINT "this is an example with proportional spacing"40 LPRINT C

Pagina 196 - International Code Table

Underline Mode ON (SGR) CSI 4 mUnderline Double Mode CSI 21 mUnderline Mode OFF CSI 24 mData Structure ASCII CSI "4" "m" [A]

Pagina 197 - Printer Initialization

Overline Mode ON (SGR) CSI 53 mOverline Mode OFF CSI 55 mData Structure ASCII CSI "5" "3" "m" [A] overline mode ONhe

Pagina 198

Double Strike ON CSI 9 wDouble Strike OFF CSI 8 wData Structure ASCII CSI "9" "w" [B] [C] double strike print mode ONhex. 9B

Pagina 199 - Control Codes

Graphic Size Selection (GSS) CSI ... SP CGraphic Size Modification (GSM) CSI ... SP BData Structure ASCII CSI n SP "C" [B] graphic size sele

Pagina 200

Font Designation (FNT) CSI ... SP DData Structure ASCII CSI n1;n2SP "D" [A] designate fonthex. 9B n13B n220 44dec. 155 n159 n232 68Descrip

Pagina 201

7265 Programmer’s Manual 24Copyright © 2004 TallyGenicom Chapter 2 ANSICommands DescriptionESC [(p)e VERTICAL POSITION RELATIVEAdvances paper p decipo

Pagina 202 - Summary of Possible Codes

Font attributes, e.g. “bold” can be specified after designation through corresponding ESCsequences.Technical Details Font Designation CodesThe use of

Pagina 203

Print Positioning Horizontal Tab Stop HTData Structure ASCII HT [A] horizontal tab stophex. 09dec. 9Description The HT-Code moves the active print

Pagina 204

Horizontal Tab Stops ON CSI ... u ESC H Horizontal Tab Stops OFF (TBC) CSI ... g Data Structure ASCII CSI n1"u" [A] set horizontal tab st

Pagina 205

➌ With the sequence CSI n g for n the following parameters are available:n hex. dec. function 0 30 48 clear horizontal tab stop at current positi

Pagina 206

Example 1 10 REM horizontal tabs20 LPRINT CHR$(27);"[4w";:REM 10 cpi30 LPRINT CHR$(27);"[10;20;30u";40 LPRINT "1234567

Pagina 207

Line Feed LFData Structure ASCII LF [A] line feedhex. 0Adec. 10Description When the printer receives this code, it prints all the data in the pri

Pagina 208

Vertical Tab Stop VTData Structure ASCII VT vertical tab stophex. 0Bdec. 11Description When the printer receives this code, it prints all the data

Pagina 209

Set Vertical Tab Stop at Current Position VTSData Structure ASCII VTS [A] set vertical tab stophex. 8Adec. 138Description This code sets an horizont

Pagina 210

Vertical Tab Stops ON CSI ... vVertical Tab Stops OFF (TBC) CSI 1 gCSI 4 gData Structure ASCII CSI n "v" [A] set vertical tab stop ➊hex. 9B

Pagina 211

A vertical tabulation is executed by the VT control code (hex.0B, dec.11); also see page 50,Vertical Tab Stop.Example 10 REM vertical tabs20 LPRINT

Pagina 212 - Register nur für SNI

7265 Programmer’s Manual 25Copyright © 2004 TallyGenicom Chapter 2 ANSIMarginsUse the Forms Setup command, page 2-39, to set vertical margins.Commands

Pagina 213 - Character Sets

Horizontal Posititon Absolute (HPA) CSI ... ’Data Structure ASCII CSI n " ‘ " [A] set horizontal position absolutehex. 9B n 60dec. 155 n

Pagina 214 - Standard Character Set

Horizontal Position Relative (HPR) CSI ... aData Structure ASCII CSI n "a" [A] set horizontal position relativehex. CSI n 61dec. CSI n 97De

Pagina 215

Horizontal Position Backward (HPB) CSI ... jData Structure ASCII CSI n "j" [A] set horizontal position backwardhex. 9B n 6Adec. 155 n 106

Pagina 216

Vertical Position Absolute (VPA) CSI ... dData Structure ASCII CSI n d [A] set vertical position absolutehex. 9B n 64dec. 155 n 100Description n = 1 (

Pagina 217 - Graphics Character Set

Vertical Position Relative (VPR) CSI ... eData Structure ASCII CSI n "e" [A] set vertical position relativehex. 9B n 65dec. 155 n 101Descri

Pagina 218

Vertical Position Backward (VPB) CSI ... kData Structure ASCII CSI n "k" [A] set vertical position backwardhex. 9B n 6Bdec. 155 n 107Descri

Pagina 219

Horizontal and Vertical Position Absolute (HVP) CSI ... fData Structure ASCII CSI n1 ;n2"f" [B] [C] set horizontal and vertical position

Pagina 220

Backspace BSData Structure ASCII BS [A] Backspacehex. 08dec. 8Description After receiving this code the content of line buffer is printed out.Then,

Pagina 221

Form Feed FFData Structure ASCII FF [A] form feedhex. 0Cdec. 12Description When the printer receives this code, it prints the data in the print buf

Pagina 222

Partial Line Down PLDData Structure ASCII PLD [A] partial line downhex. 8Bdec. 139Description If the preceding character is in normal position, PLD mo

Pagina 223

Table of Contents7265 Programmer’s Manual iiCopyright © 2004 TallyGenicom Setting Bar Code Parameters...

Pagina 224 - 24 Needle Printer

7265 Programmer’s Manual 26Copyright © 2004 TallyGenicom Chapter 2 ANSIHorizontal MovementCommands DescriptionHT HORIZONTAL TABCauses the c

Pagina 225

Reverse Index RIData Structure ASCII RI [B] reverse indexhex. 8Ddec. 141Description The code RI moves the active position to the preceding line. A

Pagina 226

Graphics Graphic Modes ESC % ... CSI 6 z CSI 5 zData Structure ASCII ESC "%" n n1;n2; DATA [C] set dpi for graphicshex. 1B 25 n n13B n23B D

Pagina 227 - 9 Needle Printer

The vertical resolution is 72 dpi.The graphics image is printed vertically closed at a line feed of 80⁄720 inch. (Also see thesequences Spacing Increm

Pagina 228

Relationship between graphics data and needles:Needle Data byte 1•Bit 72•Bit 63•Bit 54•Bit 45•Bit 36•Bit 27•Bit 18•Bit 0Example 1 10 REM bit image

Pagina 229

Example 2 10 REM bit image print20 WIDTH "LPT1:",25530 LPRINT CHR$(27);"%3";CHR$(10);CHR$(0);40 GOSUB 130:REM 60 dpi50 LPRI

Pagina 230

Miscellaneous Load Menu CSI ... SP qData Structure ASCII CSI n SP "q" [B] load menuhex. 9B n 20 71dec. 155 n 32 113Description For n the f

Pagina 231 - Programmer’s Reference

Automatic Gap Adjustment (AGA) CSI ... + zDirect Setting of the Print Head Distance CSI ... + yData Structure ASCII CSI n "+" "

Pagina 232 - Table of Contents

Paper Handling CSI Ps1 Ps2 Ps3 Pn4 Pn5 + vData Structure ASCII CSI Ps1 Ps2 Ps3 Pn4 Pn5 "+" "v"hex. 9B Ps1 Ps2 Ps

Pagina 233

Color Selection (Option) CSI ... mData Structure ASCII CSI n "m" [A] set colorshex. 9B n 6Ddec. 155 n 109Description For n the following par

Pagina 234

The relationship between color selection sequences and the resulting colors for severalribbon cassettes is shown in the following table:selectedcolory

Pagina 235

7265 Programmer’s Manual 27Copyright © 2004 TallyGenicom Chapter 2 ANSICommands DescriptionESC [(p)` HORIZONTAL POSITION ABSOLUTECauses the print posi

Pagina 236 - Appendix B Character Sets

Input Data Control CSI ... zData Structure ASCII CSI "9" "z" [C] set bit 8 = 1 ➊hex. 9B 39 7Adec. 155 57 122ASCII CSI "8&quo

Pagina 237 - Description of MTPL-Sequences

Example 10 REM input data control20 LPRINT CHR$(27);"[7z";30 GOSUB 9040 LPRINT CHR$(27);"[9z";50 GOSUB 9060 LPRINT CHR$(27

Pagina 238 - CSI ... t

Sheet Feeder/Paperway CSI ... {Eject Form CSI 2 JData Structure ASCII CSI n ; n1;n2"{" [A] set sheed feederhex. 9B n 3B n13B

Pagina 239

➊ Paper is ejected also by FF or the limit, fixed by the form length or the bottom margin.➋ This sequence selects manual cut sheet paper process.➌ Thi

Pagina 240 - 4 Introduction

For compatibility to former printers a sequence like CSI 21 ; x ; n { will also be accepted.In this case, the parameter x will be ignored.Paper is ins

Pagina 241 - CSI ... t

Reset to Initial State (RIS) ESC cCSI 6 ~Data Structure ASCII ESC "c" [A] reset to initial statehex. 1B 63dec. 27 99ASCII CSI "6"

Pagina 242 - 6 Paper and Text Formatting

Command Set CSI ? ... ~Data Structure ASCII CSI "?" n " ~ " [B] command sethex. 9B 3F n 7Edec. 155 63 n 126Description For n th

Pagina 243 - CSI 11 h

Activation of Character Sets SISOESC ...Data Structure ASCII SI ZG locking shift LS0 ➊hex. 0Fdec. 15ASCII SO ZG locking shift LS1 ➋hex. 0

Pagina 244 - CSI ... SP I

A set of up to 94 characters is made ready for use.Example 10 open "lpt1:" as #120 width #1,3200030 ’Example "Locking Shift"4

Pagina 245 - CSI ... r

Designation of Character Set G0 ESC ( ...Designation of Character Set G1 ESC ) ...Designation of Character Set G2 ESC * ...Designation of Character Se

Pagina 246

7265 Programmer’s Manual 28Copyright © 2004 TallyGenicom Chapter 2 ANSITabsThis printer stores tab stops in NVRAM while power is off. Therefore, all t

Pagina 247 - CSI ... s

F hex. dec. character set à 85 133 Table 863 (DOS French-Canadian)å 86 134 Table 865 (DOS Norway)Ä 8E 142 Table 866 Standard (DOS Cyrillic)Å 8

Pagina 248

Example 10 REM character sets20 LPRINT CHR$(27);"(B";30 LPRINT "US-ASCII: ";:GOSUB 13040 LPRINT CHR$(27);"(A";50

Pagina 249 - CSI ... SP V

Activation of Characters SO SIData Structure ASCII SO [B] ZG single shift SS2 ➊hex. 8Edec. 142ASCII SI [B] ZG single shift SS3➋hex. 8Fdec. 143Descr

Pagina 250 - CSI 10 y

Graphic description of locking shift/single shift (pages 81 - 86):Repertoire ofgraphic setsDesignation ofgraphic setsInvocation of onegraphic characte

Pagina 251 - CSI ... SP G

Size of Character Set (1 Character Set) CSI ? 50 hSize of Character Set (2 Character Sets) CSI ? 50 Data Structure ASCII CSI "?" &qu

Pagina 252 - CSI ... w

Proportional Spacing (Draft) OFF CSI ? 51 hProportional Spacing (Draft) ON CSI ? 51 Data Structure ASCII CSI "?" "5" "1&q

Pagina 253

Print Code Area Expansion ON CSI ? 53 hPrint Code Area Expansion OFF CSI ? 53 Data Structure ASCII CSI "?" "5" "3" &

Pagina 254 - CSI ... SP K

Printer Identification (DA) CSI ... cData Structure ASCII CSI "0" "c" [B] request for printer indentificationhex. 9B 30 63dec. 15

Pagina 255 - CSI ... SP g

Device Status Report (DSR) CSI ... nData Structure ASCII CSI n "n" [B] device status reporthex. 9B n 6Edec. 155 n 110Description For n the f

Pagina 256 - CSI ... SP \

Enquiry for Status ENQData Structure ASCII ENQ enquiry for statushex. 05dec. 5Description With this code it is possible to get a status byte from

Pagina 257 - CSI ... SP f

7265 Programmer’s Manual 29Copyright © 2004 TallyGenicom Chapter 2 ANSIDot GraphicsDot graphics allows you to print individual dots at any position on

Pagina 258 - CSI ... p

Fill Character NULData Structure ASCII NUL fill character without further meaninghex. 80dec. 128Start of Text Block STXData Structure ASCII STX st

Pagina 259 - CSI ... q

End of Text Block ETXData Structure ASCII ETX end of text blockhex. 03dec. 3Description End of a text block.This code concerns only serial data tr

Pagina 260 - CSI ... SP L

Negative Acknowledge NAKData Structure ASCII NAK negative acknowledgehex. 15dec. 21Description By sending the negative acknowledge code NAK a pari

Pagina 261

Delete DELData Structure ASCII DEL [A] deletehex. 7Fdec. 127Description With this code the line buffer is cleared.Acoustic Alarm BELData Structu

Pagina 262 - CSI ... SP h

Start Character “Escape” ESCData Structure ASCII ESC [A] start character ESChex. 1Bdec. 27Description ESC is the start character for a subsequent

Pagina 263 - CSI 10 z

Appendix ASummary of Possible Codes

Pagina 264 - 28 Character Styling

ACK control code ACK (Positive Acknowledge) . . . . . . . . . . . . . . . . 95BEL acoustic alarm . . . . . . . . . . . .

Pagina 265 - CSI 13 z

CSI 0 c request for printer identification . . . . . . . . . . . . . . . . . . . . . . 91CSI 0 g clear horizontal tab stop at c

Pagina 266 - 30 Character Styling

CSI 12 z double height ON (upper half) . . . . . . . . . . . . . . . . . . . . . . . 29CSI 13 m font 3 . . . . . . . .

Pagina 267 - CSI ... y

CSI 3 w horizontal spacing 8,6 cpi . . . . . . . . . . . . . . . . . . . . . . . . . 16CSI 3 z line density 6 lpi . . .

Pagina 268 - 32 Character Styling

7265 Programmer’s Manual 30Copyright © 2004 TallyGenicom Chapter 2 ANSISample Basic Program for Dot CodingFigure 2-6 Dot Graphics Example

Pagina 269 - CSI ... m

CSI 7 w horizontal spacing 17,1 cpi . . . . . . . . . . . . . . . . . . . . . . . . 16CSI 7 y proportional mode OFF . . .

Pagina 270 - 34 Character Styling

DEL control code DEL (Delete) . . . . . . . . . . . . . . . . . . . . . . . . . 97ENQ control code ENQ (Enquiry for Status)

Pagina 271 - CSI > z

acoustic alarm BEL . . . . . . . . . . . . . . . . . . . . . . . 97additional character spacing CSI n SP \ . . . . . . .

Pagina 272 - CSI 23 m

control code HTS HTS . . . . . . . . . . . . . . . . . . . . . . 45control code IND (Vertical Index) IND . . . . . . .

Pagina 273 - CSI 7 y

font 1 CSI 11 m . . . . . . . . . . . . . . . . . . . . 33font 2 CSI 12 m . . . . . . . . . . . . . . . . . .

Pagina 274 - 38 Character Styling

horizontal spacing 17,1 cpi CSI 7 w . . . . . . . . . . . . . . . . . . . . . 16horizontal spacing 20 cpi CSI 11 w . . . . .

Pagina 275 - CSI 24 m

MTPL + IBM-Proprinter XL command set CSI ? 3 ~ . . . . . . . . . . . . . . . . . . . . 80MTPL + NEC P60/70 command set CSI ? 7 ~

Pagina 276 - CSI 55 m

shared interface CSI Pn + w . . . . . . . . . . . . . . . . . . . 71single shift 2 (SS2) SO . . . . . . . . . . . . .

Pagina 278 - CSI ... SP B

Standard Character SetFor the contents of the shaded areas, see table at page B-3.hex0123456789ABCDEFdec0NUL SP NUL0 16 32 48 64 80 96 112 128 144 160

Pagina 279 - CSI ... SP D

7265 Programmer’s Manual 31Copyright © 2004 TallyGenicom Chapter 2 ANSIGraphics Control FunctionsThe set of control codes that are interpreted while i

Pagina 280 - 44 Character Styling

International Substitution Table - normal fontdec 35 36 64 91 92 93 94 96 123 124 125 126hex 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7EUSAGreat Brita

Pagina 281

Programmer’sReferenceTally ANSI BarcodeandLCP

Pagina 282 - CSI ... g

Table of ContentsBarcode and LCP PrintingIntroductionSecured/Unsecured ModeData Structure ... 6Description ...

Pagina 283 - Examples:

Code EAN 13 with HRI ... 23Code EAN 13 without HRI ... 24Code MSI / modified Plessey ... 25Code

Pagina 284 - 48 Print Positioning

AppendixCharacter SetsLCP Character Set, German ... A-3LCP Character Set, US-ASCII ... A-4OCR-A Character Set ...

Pagina 286 - 50 Print Positioning

Barcode and LCP PrintingIntroductionSecured/Unsecured ModeBarcode PrintingUS Postnet BarcodeLarge Character Printing (LCP)

Pagina 287 - Vertical Index IND

IntroductionThis User’s Manual describes all barcode and LCP sequences and control codes, regard-less of your printer’s special barcode and LCP implem

Pagina 288 - CSI ... v

This may cause conflict with other emulations, since the above commands may have dif-ferent functions in these emulations, for example:SI Condensed pr

Pagina 289

The syntax for the parameters, the start, separate and stop code is represented asfollows:Figures (n) Start code Stop codeASCIIhex.dec."0" t

Pagina 290 - CSI ... ’

7265 Programmer’s Manual 32Copyright © 2004 TallyGenicom Chapter 2 ANSICommands DescriptionESC [(p1)q GRAPHICS DENSITYSets the graphics density. The p

Pagina 291 - CSI ... a

Special FeatureIf you not get the required control codes for Barcode of ASCII code table columns 0 and 1out of your computer you can use in addition t

Pagina 292 - CSI ... j

Secured/Unsecured ModeUnsecured mode ESC PSC0 ESC \Secured mode ESC PSC1 ESC \Data Structure ASCII ESC "P" "S" "C" "

Pagina 293 - CSI ... d

Example 1 10 REM LCP unsecured mode20 LPRINT CHR$(27); "[?11~";30 REM select unsecured mode40 LPRINT CHR$(27); "PSC0"; CHR$(27); &

Pagina 294 - CSI ... e

Barcode PrintingBarcodeHeaderBefore the data, which contains the barcode information, are transmitted to the printer,the barcode header must be sent.

Pagina 295 - CSI ... k

The default parameter values are the following:Unsecured mode (see section "Secured/Unsecured mode")HRI OFF, Normal Print, Double Pass (F =

Pagina 296 - CSI ... f

Barcode PrintFeature F forSelection ofF-CodeHRI or normal/compressed as well as single or double pass is switched via character Faccording to the foll

Pagina 297 - Carriage Return CR

Barcode Types A = 2/5 matrix (default)B = 2/5 industrialC = 2/5 interleavedD = Code 11E = Code BCD matrixF = Code 39G = CodabarH = EAN 8 with HRII = E

Pagina 298 - 62 Print Positioning

Barcode Width By specifying an ASCII value from 0 to 3, the barcode width can be defined. This allowsideal adaption to the scanner specifications, par

Pagina 299 - Partial Line Up PLU

All values are only valid when a new colour ribbon is used. They change depending onthe degree of wear:narrow bar: approx. -0.05 mmnarrow space: appro

Pagina 300 - 64 Print Positioning

Data Formats of Barcode TypesCode 2/5 Matrix Type ASyntaxFigures (n) Start code Stop codeASCIIhex.dec."0" to "9"30 to 3948 to 57&q

Pagina 301 - CSI 5 z

7265 Programmer’s Manual 33Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesChapter 3. ANSI Bar CodesThis chapter describes t

Pagina 302 - 66 Graphics

Code 2/5 Industrial Type BSyntaxFigures (n) Start code Stop codeASCIIhex.dec."0" to "9"30 to 3948 to 57":", "<&q

Pagina 303

Code 2/5 Interleaved Type CSyntaxFigures (n) Start code Stop codeASCIIhex.dec."0" to "9"30 to 3948 to 57":" or "<

Pagina 304 - 68 Graphics

Code 11 Type DSyntaxFigures/Characters (n) Start code Stop codeASCIIhex.dec."0" to "9" and "-"30 to 39 and 2D48 to 57 an

Pagina 305 - CSI ... SP q

Code BCD Matrix Type ESyntaxFigures (n) Start code Stop codeASCIIhex.dec."0" to "9"30 to 3948 to 57":"3A58":"3

Pagina 306 - CSI ... + y

Code 39 Type FSyntaxNumbers/Character (n) Start code Stop codenot fixed,recommended:not fixed,recommended:ASCIIhex.dec."0" to "9",

Pagina 307 - CSI Pn + w

CODABAR Type GSyntaxNumbers/Character (n) Start code Stop codenot fixed,recommended:not fixed,recommended:ASCIIhex.dec."0" to "9",

Pagina 308

Code EAN 8 with HRI Type HSyntaxFigures (n) CheckNumber (c)Start code SeparationcodeStop codeASCIIhex.dec."0" to "9"30 to 3948 to

Pagina 309

Code EAN 8 without HRI Type ISyntaxFigures (n) CheckNumber (c)Start code SeparationcodeStop codeASCIIhex.dec."0" to "9"30 to 3948

Pagina 310 - CSI ... z

Code EAN 13 with HRI Type KSyntaxFigures (n) CheckNumber (c)Start code SeparationcodeStop codeASCIIhex.dec."0" to "9"30 to 3948 to

Pagina 311

Code EAN 13 without HRI Type LSyntaxFigures (n) CheckNumber (c)Start code SeparationcodeStop codeASCIIhex.dec."0" to "9"30 to 3948

Pagina 312 - CSI ... {

7265 Programmer’s Manual 34Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesBefore You Begin - Set the Form LengthProgrammers tend not to trust f

Pagina 313

Code MSI / modified Plessey Type MSyntaxFigures (n) Start code Stop codeASCIIhex.dec."0" to "9"30 to 3948 to 57":"3A58&q

Pagina 314 - 78 Miscellaneous

Code UPC A with HRI Type NSyntaxFigures (n) CheckNumber (c)Start code SeparationcodeStop codeASCIIhex.dec."0" to "9"30 to 3948 to

Pagina 315

Code UPC A without HRI Type OSyntaxFigures (n) CheckNumber (c)Start code SeparationcodeStop codeASCIIhex.dec."0" to "9"30 to 3948

Pagina 316 - CSI ?

Code UPC E with HRI Type PSyntaxFigures (n) Check Number (c) Start code Stop codeASCIIhex.dec."0" to "9"30 to 3948 to 57Calculatio

Pagina 317

Code UPC E without HRI Type QSyntaxFigures (n) Check Number (c) Start code Stop codeASCIIhex.dec."0" to "9"30 to 3948 to 57Calcula

Pagina 318 - 82 Miscellaneous

Code Delta distance (IBM) Type RSyntaxFigures/Characters (n) Start code Stop codeASCIIhex.dec."0" to "9" and "A" to &quo

Pagina 319 - ESC +

Code 128 Type SSyntaxFigures/Characters (n) Start code Stop codeASCIIhex.dec.see tablesection "Description"none noneData Structure ASCII DC4

Pagina 320 - 84 Miscellaneous

ExampleIf you need to print a Carriage Return (hex.0D, dec.13), as part of a barcode, you need tosend ">M" (13 + 64 = 77, see character s

Pagina 321

Code 128 translation tableWert Code A Code B Code CWertCode A Code B Code C Wert Code A Code B Code C0 Space Space 00 36 D D 36 72 BS h 721!!01 37EE37

Pagina 322

Example 10 REM code 12820 LPRINT CHR$(27);"[?11~";30 LPRINT CHR$(26);" S3;111";CHR$(25);40 LPRINT CHR$(20);"ABCD0123";CH

Pagina 323

7265 Programmer’s Manual 35Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesSetting Bar Code ParametersThe ANSI control sequence that sets bar co

Pagina 324 - CSI ? 50

EAN 128 Type TSyntaxFigures/Characters (n) Start code Stop codeASCIIhex.dec.see Code 128 none noneData Structure ASCII DC4 n ... n DC4hex. 14 n ... n

Pagina 325 - CSI ? 52

Add-OnBarcodesUPC and EAN barcodes (commercial barcodes) can be extended with Add-On barcodes.The following barcodes can be extended with Add-On barco

Pagina 326 - CSI Pn …… SP r

Example 2 EAN13 barcode with HRI and Add On 5 extentionFormat: DC4:nnnnnnn:nnnnnn:cnnnnn:DC410 REM code EAN 13 with add-on-5 extention20 LPRINT CHR$(2

Pagina 327 - CSI ... c

CheckNumberCalculationThe following barcode types must be given a check number for transfer to the printer:Type H and I (EAN 8)Type K and L (EAN 13)Ty

Pagina 328 - CSI ... n

EAN 8 7 numbers are transferred for the EAN 8 code. The 8. digit represents the check number.The even figures of the information have a factor of &quo

Pagina 329 - Enquiry for Status ENQ

UPCE For the UPCE barcode type, 7 numbers are transmitted. The 8. digit is the check number.The uneven figures of the information have a factor of &qu

Pagina 330 - 94 Miscellaneous

Add-On 2 3 numbers are transmitted: check number (c) and 2 informations (n).The check number results from the remaining integer value of modul (4).Exa

Pagina 331 - Positive Acknowledge ACK

US Postnet BarcodeUS Postnet Barcode ESC [ 1 SP pData Structure ASCII ESC "[" "1" SP "p"hex. 1B 5B 31 20 70dec. 27 91 49

Pagina 332 - 96 Miscellaneous

Large Character Printing (LCP)Before you can transfer the LCP data (Large Character Printing) data to the printer, theLCP header must be sent. The LCP

Pagina 333 - Acoustic Alarm BEL

Refer to the section "Secured/Unsecured Mode" at the front of the Manual for detaileddescription of the secured/unsecured mode.Data Structur

Pagina 334 - 98 Miscellaneous

Table of Figures7265 Programmer’s Manual iiiCopyright © 2004 TallyGenicom Figure 2-1 Default Character Set for ANSI Emulation, 00 to 7F ...

Pagina 335

7265 Programmer’s Manual 36Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesValues of all the adjustable bar code parameters are stored in NVRAM

Pagina 336

LCP Character Set US-ASCII ESC P L S 0 1 ESC \LCP Character Set German ESC P L S 0 2 ESC \Data Structure ASCII ESC "P" "L" "S

Pagina 337

Various ExamplesExample 1 10 LPRINT "Example for different LCP character sizes"20 LPRINT CHR$(27); "[?11~";30 LPRINT CHR$(27); &qu

Pagina 338

Example 2 REM Example 2 for unsecured printingOPEN "lpt1:" FOR RANDOM AS #1WIDTH #1, 255PRINT #1, CHR$(27); "[?11~";PRINT #1, CHR$

Pagina 339

Example 4 Unsecured Mode, vertical spacing with various enlargement factorsLegendA – a single line Feed (1/6")B – Factor 6 character; heigthC – F

Pagina 340

AppendixCharacter Sets

Pagina 341

The following symbol sets are available in the barcode mode. The LCP symbol sets can only be selected via Escape sequences. The OCR-A andOCR-B fonts c

Pagina 342

LCP Character Set, german hex01234567dec0NUL0 16324864809611211 17334965819711322 18345066829811433 19355167839911544 203652688410011655 2137536985101

Pagina 343

LCP Character Set, US-ASCIIhex01234567dec0NUL0 16324864809611211 17334965819711322 18345066829811433 19355167839911544 203652688410011655 213753698510

Pagina 344

OCR-A Character Set (Code Page 437)hex01234567dec0NUL0 16324864809611211 17334965819711322 18345066829811433 19355167839911544 203652688410011655 2137

Pagina 345

OCR-B Character Set (Code Page 437)hex01234567dec0NUL0 16324864809611211 17334965819711322 18345066829811433 19355167839911544 203652688410011655 2137

Pagina 346

7265 Programmer’s Manual 37Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesBar Code Command SequencesCommand DescriptionESC [3t ENABLE BAR CODES

Pagina 347

7265 Programmer’s Manual 38Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar Codesp1 - Bar Code StyleThis printer supports the following styles:p1 Styl

Pagina 348 - Appendix B

7265 Programmer’s Manual 39Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar Codesp3 - Human Readable EnableAn argument of 1 turns on the human-readabl

Pagina 349 - Character Sets

7265 Programmer’s Manual 40Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesOther Parametersp9 – RotationSets the absolute rotation in 90 degree

Pagina 350

7265 Programmer’s Manual 41Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar Codesp10 - Horizontal ResolutionA value of 0 is 60 dots per inch, while a

Pagina 351 - Tally ANSI BarcodeandLCP

7265 Programmer’s Manual 42Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesDelimitersA bar code delimiter is a character or control function tha

Pagina 352

7265 Programmer’s Manual 43Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesFigure 3-3 Comma, Space, and Asterisk Delimiters!#/E" !#/E"

Pagina 353 - Various Examples

7265 Programmer’s Manual 44Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesHorizontal Tab DelimiterThe HT control code (09) is a valid delimiter

Pagina 354 - Appendix

7265 Programmer’s Manual 45Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesHorizontal Position - Relative DelimiterThe horizontal position-relat

Pagina 355

7265 Programmer’s Manual 1Copyright © 2004 TallyGenicom Chapter 1 IntroductionChapter 1. IntroductionThe TallyGenicom

Pagina 356 - Barcode and LCP Printing

7265 Programmer’s Manual 46Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesDelimiters and Vertical Bar CodesIf you rotate a bar code 90o or 270o

Pagina 357

7265 Programmer’s Manual 47Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesCalculating Characters per InchWe show characters per inch at the def

Pagina 358 - 2/5 Matrix Type A

7265 Programmer’s Manual 48Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesBar Code Style CharacteristicsThe following pages show specific infor

Pagina 359

72655 Programmer’s Manual 49Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesMatrix 2 of 5 (Style 2)1 Bars per character: 3 dark bars and 2 light

Pagina 360

7265 Programmer’s Manual 50Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesEAN-8 (Style 5)1 Bars per character: 2 dark bars and 2 light bars2 Ch

Pagina 361 - Secured mode ESC PSC1 ESC \

7265 Programmer’s Manual 51Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesCode 11 (Style 7)1 Bars per character: 3 dark bars and 2 light bars

Pagina 362

7265 Programmer’s Manual 52Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesCodabar A/t, B/n, C/*, D/e (9, 10, 11, 12)1 Bars per character: 4 dar

Pagina 363 - Barcode Printing

7265 Programmer’s Manual 53Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesUPC-E (Style 14)Ten digits must be entered as input. The first five r

Pagina 364

7265 Programmer’s Manual 54Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesCode 93 (Style 15)1 Bars per character: 3 dark bars and 3 light bars2

Pagina 365 - 10 Barcode Printing

7265 Programmer’s Manual 55Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesMSI (Style19)1 Bars per character: 4 dark bars and 4 light bars2 Char

Pagina 366

7265 Programmer’s Manual 2Copyright © 2004 TallyGenicom Chapter 2. ANSIThe TallyGenicom im ple m entation of ANSI X3.64 is the native control pr

Pagina 367 - 12 Barcode Printing

7265 Programmer’s Manual 56Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesPOSTNET (Style 50)You cannot adjust POSTNET bar code attributes with

Pagina 368

7265 Programmer’s Manual 57Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar Codes1 Bars per character: 2 tall bars and 3 short bars2 Character set: 0

Pagina 369 - Code 2/5 Matrix Type A

7265 Programmer’s Manual 58Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesCalculating the Checksum for Code 3 of 9A 3 of 9 symbol is a variable

Pagina 370 - Code 2/5 Industrial Type B

7265 Programmer’s Manual 59Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesThe following example illustrates the calculation of the check digits

Pagina 371 - Code 2/5 Interleaved Type C

7265 Programmer’s Manual 60Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesCode 93 Checksums for Full ASCIIYou can send any of the 128 ASCII cha

Pagina 372 - Code 11 Type D

7265 Programmer’s Manual 61Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesChecksum calculation for the symbol CatData C <CTRL> + A <CT

Pagina 373 - Code BCD Matrix Type E

7265 Programmer’s Manual 62Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar CodesCode 93 Full ASCII TableCode Code Code CodeASCII93 ASCII 93 ASCII 93

Pagina 374 - Code 39 Type F

7265 Programmer’s Manual 63Copyright © 2004 TallyGenicom Chapter 4 ANSI OversizedChapter 4. ANSI Oversized FontThis chapter desc

Pagina 375 - CODABAR Type G

7265 Programmer’s Manual 64Copyright © 2004 TallyGenicom Chapter 4 ANSI OversizedControl Function SummaryControl Function DescriptionSO Act

Pagina 376 - Code EAN 8 with HRI Type H

7265 Programmer’s Manual 65Copyright © 2004 TallyGenicom Chapter 4 ANSI OversizedCommands DescriptionESC[Pv;Ph<sp>BSET CHARACTER SIZESets the ex

Pagina 377 - Code EAN 8 without HRI Type I

7265 Programmer’s Manual 3Copyright © 2004 TallyGenicom Chapter 2 ANSIControl Code SummaryCode Hex DescriptionETX 03 ETX/ACK Communication ProtocolAC

Pagina 378 - Code EAN 13 with HRI Type K

7265 Programmer’s Manual 66Copyright © 2004 TallyGenicom Chapter 4 ANSI Oversized Oversized Versus ExpandedThere are two ANSI functions that print cha

Pagina 379 - 24 Barcode Printing

7265 Programmer’s Manual 67Copyright © 2004 TallyGenicom Chapter 4 ANSI OversizedESC [(pv);(ph)<SP>Bwhere (pv) is the vertical expansion, (ph) i

Pagina 380

7265 Programmer’s Manual 68Copyright © 2004 TallyGenicom Chapter 4 ANSI OversizedWhat is a Character Cell?A character cell is the rectangular array of

Pagina 381 - Code UPC A with HRI Type N

7265 Programmer’s Manual 69Copyright © 2004 TallyGenicom Chapter 4 ANSI OversizedOversized Character Dimensions – 0oThe width of an oversized characte

Pagina 382 - Code UPC A without HRI Type O

7265 Programmer’s Manual 70Copyright © 2004 TallyGenicom Chapter 4 ANSI OversizedOversized Character Dimensions - 270oThe width of a character cell is

Pagina 383 - Code UPC E with HRI Type P

7265 Programmer’s Manual 71Copyright © 2004 TallyGenicom Chapter 4 ANSI OversizedImplementing the Line Feed Function - 0oA good technique is to exit o

Pagina 384 - Code UPC E without HRI Type Q

7265 Programmer’s Manual 72Copyright © 2004 TallyGenicom Chapter 4 ANSI OversizedLine Spacing and Intercharacter Spacing - 270oIf you print sideways t

Pagina 385 - 30 Barcode Printing

Appendix A. Commands and Exceptions Supported Control Codes and Escape Sequences ACK Acknowledge BEL Bell BS Back Space CR

Pagina 386 - Code 128 Type S

Commands not implemented in the 7265 ANSI Emulation ESC ] p1;pn<ST> User Defined Character Substitution (GENUDS) ESC ] p1;p2;p3;data<ST&g

Pagina 387 - 32 Barcode Printing

Programmer's ReferenceEPSON Emulation

Pagina 388 - Barcode Printing 33

7265 Programmer’s Manual 4Copyright © 2004 TallyGenicomompar ison, 7 Bi t/ 8 Bi t8 B i t Hex Description 7 Bit HexIND 84 Index ESC D 1B 44NEL 85 Ne

Pagina 389 - 34 Barcode Printing

Table of ContentsDescription of Escape SequencesIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 390 - EAN 128 Type T

Character Styling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Super-/Subscript Mode ON . . . . .

Pagina 391 - 36 Barcode Printing

Download Character Generator . . . . . . . . . . . . . . . . . . . . . . 73General . . . . . . . . . . . . . . .

Pagina 392

Appendix A Summary of Possible CodesSorted by Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2Sorted

Pagina 393 - Cross sum

Description of SequencesIntroductionPaper and Text FormattingCharacter SpacingLine SpacingCharacter StylingPrint PositioningGraphicsDownload Character

Pagina 394

IntroductionThis User’s Manual describes the sum of all EPSON Escape sequences, regardless ofthe specific EPSON emulation used by your printer. The on

Pagina 395 - 40 Barcode Printing

This is followed by the Data Structure in ASCII, hexadecimal and decimal syntax with thenecessary parameters, e.g.:ASCII ESC "C" <n> S

Pagina 396

Setting the form length to 72 linesEscape Sequence ESC C <n>with n=72Transfer ASCII ESC "C" "H"hex. 1B 43 48dec.276772100 RE

Pagina 397

Paper and Text FormattingForm Length in Lines ESC CForm Length in Inches ESC C NULData StructureASCII ESC "C" <n> set form length in l

Pagina 398 - LCP Header

Example 10 REM form length20 FF$=CHR$(12)30 K=140 LPRINT CHR$(27);"C";CHR$(4);50 FOR F=1 TO 360 FOR L=1 TO K70 LPRINT "length 4:

Pagina 399

7265 Programmer’s Manual 5Copyright © 2004 TallyGenicomde is He xade c imal, Orde red Column|Row0 123 456 700 NUL@P`p1 DC1 !1AQaq2“2BRbr3 ETX DC

Pagina 400

Set Page Length in UnitsESC ( CData StructureASCII ESC "(" "C" <nL><nH><mL><mH> set page length in unitsh

Pagina 401

Set Page Format ESC ( cData StructureASCII ESC "(" "c" <nL><nH><tL><tH><bL><bH> set page for

Pagina 402

This sequence sets new top and bottom. it does not affect the current page length setting.Set top and bottom margin first, then load paper. Using this

Pagina 403 - 48 Various Examples

Perforation SkipESC NReset Perforation SkipESC OData StructureASCII ESC "N" <n> set space before perforation (perforation skip)➊hex. 1

Pagina 404

Example 10 REM skip 20 LPRINT CHR$(27);"C";CHR$(6);:REM form length 30 LPRINT CHR$(27);"N";CHR$(1);:REM set skip 40 FOR F=1 TO

Pagina 405

Right MarginESC QLeft MarginESC lData StructureASCII ESC "Q" <n> set right margin➊hex. 1B 51 <n>dec. 27 81 <n>ASCII ESC &q

Pagina 406 - LCP Character Set, german

Example 10 REM left and right margin20 LPRINT " 1 2 3 4 5"30 LPRINT "12345678901234567890

Pagina 407 - LCP Character Set, US-ASCII

Justification and CenteringESC aData StructureASCII ESC "a" <n>hex. 1B 61 <n> or ndec. 27 97 <n> or nDescriptionIn some ca

Pagina 408

Example 10 REM justification and centering20 WIDTH "LPT1:",25530 LPRINT CHR$(27);"Q";CHR$(48);:REM set right margin40 LPRI

Pagina 409

Character SpacingSet HMI (Horizontal Motion Index)ESC cData StructureASCII ESC "c" <nL><nH> set HMI (Horizontal Motion Index)h

Commenti su questo manuale

Nessun commento