Digital PDFs
Documents
Guest
Register
Log In
EK-0LN03-RM-2
January 1985
246 pages
Original
118MB
view
download
OCR Version
80MB
view
download
Document:
LN03 Programmer Reference Manual
Order Number:
EK-0LN03-RM
Revision:
2
Pages:
246
Original Filename:
OCR Text
EK-OLNO3-RM-002 Prepared by Educational Services of Digital Equipment Corporation 1st Edition, January 1985 2nd Edition, November 1985 Copyright © 1985 by Digital Equipment Corporation. All Rights Reserved. Printed in U.S.A. The reproduction of this material, in part or whole, is strictly prohibited. For copy information, contact the Educational Services Department, Digital Equipment Corporation, Maynard, Massachusetts 01754. The information in this document is subject to change without notice. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. FCC Notice This equipment generates and uses radio frequency energy and if not installed and used properly, that is, in strict accordance with the manufacturer’s instructions, may cause A interference to radio and television reception. It has been type tested and found to comply with the limits for a Class B computing device in accordance with the specifications in Subpart J of part 15 of FCC Rules, which are designed to provide reasonable protection against such interference in a residential installation. Compliance with the FCC Class B technical requirements is dependent upon the use of interconnecting cables specified in the User/ Installation manual. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause interference to radio ortelevision reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following methods. Reorient the receiving antenna. Relocate the computer with respect to the receiver. Move the computer away from the receiver. Plug the computer into a different outlet so that computer and receiver are on different branch circuits. g, The following are trademarks of Digital Equipment Corporation, Maynard, Massachusetts. @fl@flfin ) DECwriter DIBOL LA MASSBUS Professional Rainbow RSTS VAX VMS VT DECUS PDP RSX Work Processor DEC DECmate DECnet P/OS | UNIBUS AT ~ CONTENTS INTRODUCTION vii CHAPTER 1 FEATURES 1.1 1.2 1.3 An Overview 1 Printer Components, Controls, and ndwmors 3 Specifications 11 CHAPTER2 COMMUNICATION 2.1 The LNO3 and Ymur Host Campumr 14 2.2 Data Format 2.3 Data Interface 15 2.4 Configuration Switch Packs 2.5 Data Synchronization CHAPTER 3 3.1 14 = 17 23 CHAHACTER CODE PflOGEfi&ING 25 Receiving 7-Bit and 8-Bit Data 25 3.2 Printable Chamcters 3.3 Control Characters 3.4 Escape Sequences, Cmmrol S@qumws‘and Device 3.5 CHAPTER4 32 33 Control Strings 38 Sending and Mwawmg 7-Bit and 8-Bit Data SELECTING cumAc'ren‘"E‘rsAND r-'onm 4.1 Before You Start 46 4.2 Character Sets, Fonts, and Fant Files Selecting Graphnc Character Sets Loading, Asslgmng, and Saimtmg Font Files 4.5 Deleting Type Family or Font Files (DECDTFF) 4.6 Font Status 4.7 Selmting ,ant Sima 50 61 63 PRINTING commmg 65 Printing Features Yau CanChanga 66 5.3 5.4 Spacing 77 55 62 Set/Reset Mode 66 Select Size Unit (SSU) 5.2 4e 47 4.4 5.1 - o 4.3 CHAPTER 5 44 76 iv. 5.5 CONTENTS A Page Print Area and Margins 56 83 ~ Active Column and Active Line 102 5.7 Tab Stops 5.8 Product Identification (DA) 110 Printer Status , 5.9 ~ 108 111 5.10 Selecting Character Attributes 5.11 Justification (JFY) 5.12 5.13 5.14 CHAPTER 6 Drawing Vectors (DECVEC) - Reset 121 115 118 120 | O Initial Values and States 121 PROCESSING SIXEL GRAPchs 126 6.1 Printing Graphs and Drawings 6.2 Selecting Sixel Mode 6.3 How the Host Computer Sends Sixel Data 6.4 How the Printer Decodes Sixel Data APPENDIX A APPENDIX B 126 | 127 131 134 CHARACTER SETS 141 ESCAPE SEQUENCE AND CONTROL SEQUENCE 159 SUMMARY APPENDIXC COMPARING LN0O3 CONTROL FUNCTIONs WITH 177 OTHER DIGITAL PRINTERS APPENDIX D ~ LNO3 BUILT-IN TYPE FAMILY iDs, FONT le, AND FONT FILE IDs D.1 Built-In Font File IDs for theLNoa | 1,85 | D.2 Type Family Names D.3 Built-In LNO3 Type Family Names Type Family IDs, ' A 185 Font IDs, and Font File IDs APPENDIXE 185 - 187 SUMMARY SHEET 189 E.1 Printing the Summary Sheet E.2 Summary Sheet Contents E.3 Sample Summary Sheet 190 189 189 A HELPFUL mm'sPflflfi EM@ N s.wnons APPENDIX F F.1 195 Helpful Hnts195 F.2 | Problems and Smutions 198 F.3 ~ Examples of LN03Camm Fumctwns GLOSSARY L 200 o : o 211 INDEX OF PRINTING COMMANDS INDEX , 219 i as SR 6 Printer Components (Part2) 1-2 2-1 2-2 ~ 8 Indicator Panel 15 Serial Character Format Summary Sheet Test Pattern ~ 2-3 3-1 Configuration Switches 19 7-BitCode ~ 27 3-3 | 8-Bit ASCIl Code Table 3-4 | 8-Bit Code 3-5 29 18 26 7-Bit ASCll Code Table 3-2 223 4 Printer Components (Part1) 1-1 e 28 | ' DECMultinational Chwmmr Bat (Left Half) 30 DEC Multinational Character Set(Right Half) 4-1 | ROM-Resident Character Sets and Fonts 4-2 | Selecting Character Sets 4-3 ~ 51 , Invoking Character Sets(7-Bit Mode) 54 4-4 Invoking Character Sets (8-Bit Mww) 55 5-1 Vertical PitchExample | 5-2 5-3 5-4 | 79 HorizontalPitch Example 81 Page Printing Orientation 85 , Page Printing Area 86 6-1 Three Bytes ofData in Buffer A-1 7-Bit ASCIlCharacter Set A-2 United Kingdom Character S@t A-3 Dutch Character Set A-4 132 142 143 144 Finnish Character Set 145 A-5 A-6 - A-7 - French Character Set 146 French Canadian Character Set 147 German Character Set 148 49 31 vi CONTENTS A, A-8 A-9 . Italian Character Set 149 Japanese (JIS Roman) Oharacwr S«t 150 A-10 Norwegian/Danish Character Set 151 A-11 A-12 A-13 Spanish Character Set 152 DEC Supplemental Character Set Swedish Character Set 154 153 SO A-14 Swiss Character Set A-15 DEC Technical Character Set 155 A-16 VT100 Line Drawing (DEC Specral Graphrcs) Character 156 ik Set A-17 ISO Norwegian/Danish Character Set 157 E-1 Summary Sheet Test Pattern 191 1-1 LNO3 Printer Components 5 158 TABLES IS 1-2 Indicator Panel Symbols 2-1 LNO3 Interface Signals 16 9 3-1 CO Control Characters 34 3-2 C1 Control Characters 36 3-3 Equivalent 7-Bit and 8-Bit Control Characters 37 4-1 Designating Character Sets 4-2 Locking-Shift and Single-Shift Control Functions 5-1 Sequences With Spacing Parameters 52 Maximum Form Length 5-3 Minimum Paper Dimensions (PFS Fmrmats) 5-4 PFS Pixel Values for Margins and Page Positions 5-5 Typical Page Formats with PFS and Spacing 5-6 -Device Status Report Error Codes 5-7 Initial Operating Values 122 6-1 Fixed Grid Sizes (Ps1) 128 6-2 ANSI Graphic Control Characters 6-3 Private Graphic Control Characters 6-4 Printable Dot Patterns for Sixel Mode B-1 LNO3 Escape and Control Sequences 160 C-1 Comparing the LNO3 Printer With Other Drgltali D-1 Font File ID Fields D-2 Built-In Font File IDs E-1 Operational Error Codes and Conditrcms Printers 178 84 53 75 5-2 Sequences IO ' 92 90 91 L 113 : 129 130 135 | 186 187 i E-2 Loopback Diagnostic Error Codes E-3 Self-Test Diagnostics, Fatal Error Codes 192 193 194 INTRODUCTION This manual describes how to use the LNO3 printer with a host computer. The text provides information on how the prmter communicates with the host, processes charaoters and responds to @scape and mntm sequences You use escape and control sequences to send cmmmands to the printer. WHO SHOULH READ THIS MANUAL The manual is mtend@d for the applzcatton programmar To use the manual, you should have some understand ngm c«mput@r pmgrammmg HOW TO USE THIS MANUAL The following paragraphs provide a brief overview of the manual. NOTE: The LNO3 printer provides a variety of features, including several character sets and fonts. However, to take advantage of these features, your computer system must ha ve softwam th«at can g@naratev the cammands in this manual. Chapter 1 describes the general operating features and specifications of the printer. The chapter describes and shows the printer’'s components and controls. | IR T T TR | Chapter 2 describes how the printer communicates with a host computer. The chapter also mplams the functions of theprmmr S canfuguratmn switches. These sw:tchas let you set up the printer to communicate with yourcomputer. Chapter 3 desacnbes how the printer processes characters. Among the topics covered are escape and control sequence formats, control characters, and 7bit and 8-bit character sets. viii INTRODUCTION Chapter 4 describes how to print from different character sets and fonts. The chapter describes the commands and procedures to load font files from the host computer. Chapter 5 describes how to format your printed pages. The chapter lists and describes commands for features such as spacing, margins, tabs, line drawing, Chékpter 6 describes how you can print sixel graphics. You should have some AR understanding of sixel printing to use this information. The chapter explains how the printer converts binary data to sixel data. SRS, Appendix A shows the different character sets the LNO3 printer can print from. Appendux B pmv:des a summaryof aI the commands descr bed in this manual This appendix is a quick reference tool you can use after you become farmliar with how LNO3 commands work. Appendix C compares the commands used by the LN03 and csther Dlguta printers. The LNO3 has a reasonable amount of oompatlbuhty wnth other Digital printers, such as the LA100 and LQP03. However, there are some differences in the way the printers handle the various control functions. Appendix D describes how the LNO3 identifies type families, font"é and font files. Thns appendnx also lists the IDs for the built-in type families, fonts, and font fles » ~ Append x E descnbes and shows a sample summary sheet you can pnmt on your LNO3. A summary sheet lists such information as fonts available in the printer and error codes. This appendix also lists the possible error codes. Appendix F contains helpful hints, a problem-solving section, and examplesgf how to use basic LNO3 control functions. Tha gossarydefmes terms as they are used in thls manuafi Wards bhat appear in the glossary are prmted initalic type in the manual i o INTRODUCTION OTHER LN03 MANUALS ix , You can order the following LNO3 manuals from Digital. LNO3 ngrahmar‘ Reference Card LNO3 Operator Reference Card " ' EK-LNO3P-RC EK-OLNO3-RC Installing and Using the LNO3 Standards LNO3 coding complies with the following ANSI (American National Standards Institute) and ISO (International Standards Organization) standards. Standard Topic ANSI X3.98 - 1983 Page image format controls ANSI X3.64 - 1979 ANSI X3.4 i Bt ASCII ~ Additional controls ISO DIS 6937/3 ISO 6429 -1983 Additional controls ‘ Page image format This manual follows the ANSI and ISO standards of column and row to represent coded characters from a character set. The column can be 0 to 15 (decimal) for the high-order 4-bits of an 8-bit byte. The row can be 0 to 15 (decimal) for the low-order 4-bits of the 8-bit byte. Chapter 3 describes this format in detail. e . X INTRODUCTION Control Codes 2 AL AN DO BEMT The LNO3 can send andreceive 8-bit data. When youuse an tmmt data format you have more control codes available than in a 7-bit format. You can send 8-— bit control codes as single 8-bit characters or as 7-bit sequences. ' In this manual, 8-bit control codes appear as single 8-bit characters. Here are three important 8-bit control codes and their equwaient 7-bit sequances Chap-— ter 3 describes control codes in detail. 8-Bit Control Code , - Character Control sequence introducer - ~ 7-Bit Sequence CSl ESC [ 9/11 1/11 5/11 Device control DCS ESC P string introducer 9/0 1/11 5/0 String terminator ST ESC \ 9/12 1/11 AT 5/12 Escape and Control Sequences | Escape and control sequences appear in their 8-bit format. The chamcters in the sequence are printed in bold type. Below each character is a number that shows you the character’'s column/row location in the DEC multinational char- acter set. Chapwr 3 describes this format in detail. ~ Exampla CSi ! P <«+——— Control sequence 9/11 2/1 7/0 <«—— Location in the DEC multinational character set Row Column IR 1.1 | 1.1.1 | 1.1.2 - 1.1.3 T 1.1.4 - 1.2 | 1.3 2 An Overview 1 Page Formats 2 Printing Styles 2. o '~ - Loading Your Own Fonts and Chmaz’a f»f&sf:,8m$ 3 PrintingCommands 3 ' Pnnter Components, Controls, and Indwators. -_Smcmcatmm 1 f 3 | 1.1 AN OVERVIEW The LNO3 laser printer is a tabletop, nommpact page pnmtar An impact pmnmr uses some mechanical method to st tka rin:a-against theprinted page. For example, a standard dot matrix printer uses a set of wires: on a printhead. In place of a printhead, the LNO3 uses msm imaging and xerographic printing techmquas , The LNO3prms mtmrwquahty imagesc:m cut-sheet pa’é, a‘t a rate of 8pages per minute. Ywu can use two sizes of paper B~1/2 X 11or a;;fiurcyan A4. 2 FEATURES 111 Page Formats he printer can print pages in two different orientations, portrait and land- scape. In portrait orientation, characters print parallel to the short edge of the paper. For example, thispage is printed in a portrait orientation. In /andscape orientation, characters print parallel to the long edge of the paper. You can print in both orientations on the same page. You can also select from 12 standard page formats, using the page format select command described in Chapter 5. These page formats let you change the size of the print area on the page. 1.1.2 Printing Styles ' , For each printing orientation, the printer has mvaral mmnmspaced fonts avaiIa ble. The printer comes with 4 fonts and 4 character sets permanently stored in read only memory (ROM). You select a font and ':a“charaater set to print fmm The character set specmes the characters to prmt (fm‘emmple lowercase a). The font specifies the style used to print those characters (for example, elite). You can use any combination of font and character set, so you have 16 possnble combmatlons to start with. Th@ fmur p@rmamnt foms are cal ad HOMmmsld@mfonts. Tm ROMmmsnd@m fonts provide two different typefaces, or type families, to select from—courier and elite. Paragraph 1.3 lists these fonts. Chapter 4 describes how to select different fonts and character sets for briht-— ing. if you are unfamiliar with printing terms such as font, character set, and type family, you should read the beginning of Chapter 4 and study the terms in the glossary. The printer stores each ROM-resident font as a landscape font or a portrait font. The printer can automatically rotate a portrait or landscape font to the other orientation when needed, if enough random access memory (RAM) is available. A FEATURES 3 1.1.3 Loading Your Own Fonts and Character Sets In addition ta%HOMmmsidmt fonts, you can load other monospaced and proportionally spaced fonts from a host computer into the printer. This process is called down-line-loading. Th@ prmmr stores these down-line-loaded fonts in | RAM. You can also install two memorycarmdg%in theprinter’s fmm panel. You can use ROM cartridges (mr addmfe onts) or R/ Mcartrmws (fm afime«d smmge) The printer supports 17 characmr ma?&for di ae,,,@mm matwmmmm‘. (Appendix A). You can also down-line-| oad othm sets from the host oomputm 1.1.4 Printing Commanm The printer recognizes American National Standards Institute (ANSi) and Inter- national Standards Orgamzmwn (lSO) contml funcmns that l&t you select the following featums , character sets and fonts tabs, margins, and spacing subscripting and superscripti ovarstnkmg, underlimmg, an‘f 1 italicizi 1usnhcamon The printer agtso provides these features. error reporting optional parity bit variable baud rate Table 1-1 and Figure 1-1 describe and show the printer's components and controls. Table 1-2 and Figure 1-2 describe and show the indicator panel. Chapter 2 describes the configuration switches used in communicating with a host computer. For detailed operating and maintenance procedures, see your Installing and Using the LNO3 manual. @ PAPER EXIT COVER PAPER EXIT COVER RELEASE LEVER @ OUTPUT TRAY . ','7?:ARVTR’;1QGE, - RECEPTACLES @DEVELOPMENT DRAWER @ PAPER TRAY MA-1300-840 Figure 1-1 Printer Components (Part 1) A ooy - . . . i ;;%%% . L ‘ o | y{ o ‘ . o : . - ’ ’ . . ' v o L N iy a;fl'}" i . - . f fifi‘f" g{”‘ i il i L d o el o G o . . . o .‘ 4 .R - i . . e . . o e i K "*';:‘%f&%""ié? o -~ . L ! et e s e i . . i . - % | o MR 4 e SRR e ‘ e . i . / . M&l i: 6 FEATURES 14 R 4 §f BACKOF PRINTER . PAGE COUNTER Fen #a HmIN Powen siii ,f ma a o ksfi [ N*rmp CONNECTOR m ) AC INPUT . CONFIGURATION TM~ POWER RECEPTACLE SWITCH PACKS (13) CIRCUIT BREAKER R PAPEfl SIZE @ TEST BUTTON SWITCH MA-1304-B4E - Figure 1-1 Prin’tar Cflmpomnts (Part 2) LT o — e b - | " ) .i i .A),g’ . i - . ‘ = G 4".% o o %f:& . \’i’t% i . i éf . wfie o o o i . S . o s Figure 1-2 Indicator Panel A5 AT, m . i i ... i ) . i F@.fiq M, i ) ) | i ) i o . | . i o . i b e . | @ . . i o - o o . o i ‘ L . ! . i i. ‘ f s . ... a0 b " . e ; i 2 . L . ki r . . ‘ . 0 . o e e 0- . . oy . . i ‘ . o il r, . | L “L%mm , Ll A . e ‘3%} . b G = - .. e i o o . . — . L s w e IO i e s i G L 0 o L e - L i e i b . i e o = & - L o = 4» o - it ,\, - ae N =~ = e - = ‘4 e o P . = = - .;f% i OB . av,%q@ e o i . W o o — -- - : o . . o . i " o - i s S k 0 - . i 3}“ 5 R . h . . i eAl . . iA = . i % 2o :’ . - ;%? b L ,‘W.k\ o ?I 3 . - - - o O, o o i S 1.3 SPECIFICATIONS The spaoafwcahms fcur th@ LN@S pnnt@r areas foflmws Paper supply smg tmy, 250~sh c:apacity Paper output 250-sheet hopper Paper sizes Standard 85 inx 11 m'(fi%«ms@ cm 27 94 cm) A4 Paper wmght 3.26 in x 11.7 in) mm 241b* Toner/develo mr Print speed 8 pagw/mmum Print orientation Portrait Landscape page, 132 characters/line t Image area * 8-1/2 X 1 1 paper 24 dms/acan line X 3225 scan lines A4 paper | 2400 dots/scan line x 3400 scan lines Use a high-quality paper such as Dtgiw’a LNMWAF (amndam size) or LNO3X-AH (A4 size) to avoid paper jams caused by thin pape r. You can also use transparency film designed for p@mn pamr mpiwm S AK (A4.mm) iinXM(standard size) or LNO3X- WDi Tt These are typical pages. If you select fmm wim a amauw mfim size or horizontal pitch, you can increase the number of lines per page and characters per lme Y, Resolution Interface EIA R8232 c and ccrrr Vo4 ROM-resident fonts Type family Courier ASCII 10 point, 10 pitch 10 point, 10 pitch - DEC supplemental DEC technical 10 point, 10 pitch VT100 line drawing 10 point, 10 pitch ASCII 10 poiint, 10.3 pitch DEC supplemental 10 point, 10.3 pltch DEC technical 10 point,10.3 pitch VT100 line drawing 10 point, 10.3 pitch ASCIl 6.7 point, 13.6 pitch DEC supplemental 6.7 point, 13.6 pitch DEC technical 6.7 point, 13.6 pitch = 'VT100 line drawing 6.7 point, 13.6 pitch Elite 12 BBl ASCII 10 point, 12 pitch DEC supplemental 10 point, 12 prtch DEC technical 10 point, 12 pitch VT100 line drawing 10 point, 12 pitch Pitch Horizontal 5, 6, 8, 10, 12, 16 characters/inch, plus any numeric value in 1-pixel mcrements and proportmnal fonts | Vertical 2,3, 4,6, 8,12 lines/inch, D plus any numeric value in 1-plml mcr@mants and _proportional fonts B FEATURES Weight 80 Ibs maximum Dimensions Height Width Depth Power requirements LNO3-A2 LNO3-A3 53.4 cm (21 in) 40.7 cm (16 in) 1 kVA maximum 220 V10 240 V, 50 Hz 13 COMMUNICATION 2.1 The LNO3 and Your Host Computer 2.2 Data Format 2.3 Data Interface 2.4 Configuration Switch Packs 2.4.1 Switch Pack 1 (SP1) 2.4.2 2.5 14 14 15 | 17 20 Switch Pack 2 (SP2-1) 21 23 Data Synchronization 23 2.5.1 Input Buffer 2.5.2 2.5.3 XON/XOFF Protocol 23 XON/XOFF Summary 24 254 Restraint Line 24 2.1 THE LN03 AND YOUR HOST COMPUTER This chapter describes how the LN0O3 communicates with a host computer. The chapter also describes the configuration switches that control certain communication features on the printer. 2.2 DATA FORMAT | The LNO3 communicates using a serial data interface and a serial character format that has 7 or 8 data bits. The serial character format has a start bit (space), 7 or 8 data bits (1 = mark, 0 = space), a selectable parity bit, and a stop bit (mark). Figure 2-1 shows this format. S, 14 COMMUNICATION 15 70R8 DATA BITS SPACE i~ MARK T IDLE STATE N a&ovwmmmmwmvflwmw&?vm I_Lsa'mlm'%'04'95'06'3\/1&3' . won ole s ode START BIT e ohe o | b o ok o ok | vk e olon i ; stopl lm , OPTIONAL START BIT OF PARITY NEW CHARACTER BIT SPACE=0=+12 V MARK= 1= -12 V MA-1485-84 Figure 2-1 Serial Character Format The printer can receive characters with one or more stop bits. The data bits represent character codes, with the least significant bit leading. You can select the parity bit by switch (Paragraph 2.4.2). You must enable parity error d@taction. | E The printer mcogmms the prmtabm and control characters from 17 character sets (Appandm A). 2.3 DATA INTERJFACE The LNO3 uses a serial data interface that conforms mechanically to Electronic Industries Association (EIA) standard RSZSQ»»C functionally to a data subset of RS449, and electrically to RS423. The interface connector is a 25-pin, DB-25 male receptacle on the back of the printer’s cabinet. | All LNO3 interface 'si;gnags conform to the electrical requirements of EIA standard RS232-C and International Telegraph and Telephone Consultative Com— mittee (CCITT) recommendation V.24. Table 2-1 lists the printer’s interface signals and describes their functions. | B 16 COMMUNICATION SO T 5 S B— L e L — e P— s COMMUNICATION 17 G i el 0 il & . i o o o L RATION SWITCH PACKS The LNO3 has two 6-position DIP switch packs that control the following operating features on the printer. These switch packs are on the back of the printer. The switches are preset to work with most Digital systems. You can set these switches to meet the requirements of your host computer. The printer checks the state of t se switches only at power-up. Interface type Parity bit Baud rate Printer ID 7 or 8 data bits Autowrap Parity enable/disable XON/XOFF or restraint protocol You can check the switch settings by printing a summary sheet test pattern similar to Figure 2-2. To print a summary sheet, perform these two steps. 1. Place the printer off-line by pressing the on-line/off-line indicator button on the front panel. The indicator should turn off. 2. Press the test button (marked T) on the back of the printer. R 18 COMMUNICATION SR MEANING <@ 1-1 OFF SERIAL INPUT OFF RATE o ON OFF 8 OFF < ON nm:xx;g.x ‘ , DATA BITS 5W1TCHES SET - FOR THE INDICATED POSITION o ‘ PARITY DISABLED OFF i 44 DEVICE nav%uium Level SETTING |1-1 AUTO WRAP ON <@ gg; OVERRIDES THIS XON/XOFF ENABLED Paper Size:B.5 by 11 SWITCH SETTING Cartridge liempty Memory available for fonts: S o @] BAUD SHEET SWITCH # nE] S UMM ARY Cartridge 2:empty 27K I Test Pattern Printed by the DEC LN03 Printer Job SBtatus: No Errors RCOURIR RCOURIR1O01VKOOGGOQ01CZZZZ02F000 «#uso0 wur nu L x 901 @ =mmwnereos DO00000 DO00OO0L0LVKOOGGO001CZZZZ02F000 « Muvo smr n u x Y01 #' mumwnereas RELITEO0 RELITEOLO2SK00GGC001CZZZZ02F000 ABFeGIVJILMLOTMS_1234567890 D000000 D00000OLO2SK00GG0001CZ22202F000 FoGIvJI L ML0TMS 1234567890 RCOURIR RCOURIRZO 0001CZZ2202FP000 RCOURIR RCOURIRJ02SK00GG0001C222202F000 AQF GEINIIL MUY §_1234567890 ALF°GHINJII L MLOTMS_1234567890 D000000 DOO0O0OJO2SK00GGO001C2Z22Z02F000 AF GXINIIL MLOTMS_1234567890 1 ' DEC : TECHNICAL pOOO00D DODOO00202SKRO0GGO00ICZZZZ02F000 AL POGHINIIL MLWOTS,1234567890 RCOURIR RCOURIR101VK00GG0001Q222202F000 vy + v see<dea L L N D000000 DOOCO00101VKOOGGO001QZZ2202F000vy »*tns Ko v Wy NN RELITE0 RELITEOLO2SK00GG0001Q2z22202F000 mNI‘vM%MfihMM‘\J’w5% P e , D000000 DO0000OLO2SK00GG0001Q222202F000 =adély=108ANeTwdLe (A\/2) I VvT100 RCOURIR RCOURIRJ02S5K00GG0001Q222202F000 =adély=108ANeS8dLo¢O\/2) S5} D000000 D0000002025K00GG0001Q222202F000 =ad¢ly=108ANeSmILs¢ R LE ‘ RCOURIR RCOURIR202 Doooooo RCOURIR DBULTN1 GGO001Q222202F000 =a®ély=100ANSBILoxf\/+4) 59} 001Q222202F000 murymmaflmwmm “4) 59} e — RCOURIRLOLVKOOGGOO00L0ZZZZ02FO000 < ams oo e e st ot min'® gy = = ry o b=0 DBULTN1101VKOOGGO0010ZZZZ02F000 € amy try e M im S mia® 0y =~y w o 4n =0 AaseCoRéRelifiivdos? Fun-§1° DBULTNL DBULTN1Z02S8K00GGO0010Z22202F000 ‘Mfl,f:‘ @ 3 ] i RCOURIR RCOURIRJOZSKO0GGO0010Z2Z2202F000 DBULTN]1 DBULTN1J02SK00GG00010222202F000 RCOURIRLOLVEOQGGOOOIUZZZZOZF000 DBULTNILOLVEOOGGOOOIUZZZZ02F000 RELITEOLOZSKOOGGOO0IUZZZZO0Z2FPO00 DBULTNILOZER00GGO00LIUZZ2Z202FP000 afelilii x%&gwuww 1 Bl fifl'"';f,‘ S e !E 1 £o DBULTN1 DBULTN1LO02SK00GG00010Z2%Z02F000 e B RELITE( RELITEOLO2SK00GG00010222202F000 RCOURIR DBULTNL RELITEO DBULTNL LINE DRAWING cEe 3?"‘ 1 LR * ie éBé ii AsBeCcEéEs DBULTN1 DBULTN1202SK00GG0001UZZZZ02F000 AaFfGgIiJjLlMmOoSsl234567890 RCOURIR RCOURIRJO2SKO0GGO001UZZZZ02F000 AaPfGgIiJjLlMmO0Ss1234567890 DBULTNL DBULTN1JOZBK00GGO001UZZZZ02P000 AaFfGQIiJiLlMmO0881234567890 A ———— ib canwe orwnMimggo gtiamNmTsnere s < w mvm g wm o =gg o g tha = 0o s e esso AaFminJjLleflnSalZM%?&?O AaFfGgliJiLiMmboSsl234567890 RCOURIR RCOURIR202SK00GG0001UZZ2ZZ02F000 AaFfGgIiJjL1MmO0Ss1234567890 L DEC " ASCII A J TYPE FONT ID FAMILY D FONT FILE ID Y S NOTE The sequence for the font file printout is in descending order. downline fonts, cartridge fonts, resident fonts. Also, if there are a lot of errors on the printout, there may not be enough space on the sheét to print out all resident font files. MA-1489-84 Figure 2-2 Summary Sheet Test Pattern o Y oSO e COMMUNICATION 19 The summary sheet shows you the current switch settings (off or on) and explains their meaning. The sheet also lists the available fonts and any printer errors. NOTE: The LNO3 monitors switch settings only at powar»»up. Turn the power off before changing any switch setting. The following paragraphs describe the function of each switch. Both switch packs have the on position labeled (Figure 2-3). Use a ball point pen or small screwdriver to change switch settings. 1 BACK OF PRINTER SP2 o[e ] o SP1. CONFIGURATION SWITCHPACKS (SHOWN WITH FACTORY SETTINGS) MA-1304-B4F Figure 2-3 Configuration Switches [—— 20 COMMUNICATION Y 2.4.1 Switch Pack 1 (SP1) | | | Switch pack 1 controls the printer’s interface type, baud rate, and data format (7 or 8 bits). Switch pack 1 also enables or disables parity checking. Interface Type (SP1-1) | This switch is set to match the data communication interface, either serial or parallel (future option). SP1 Function On Parallel interface Off Serial interface (factory setting) Baud Rate (SP1-2, SP1-3, and SP1-4) These switches select the transmit/receive speed the printer uses to communicate with the computer. SP1-2 SP1-3 SPi-4 Baud Rate Off Off Off 1200 Off Off Off On On Off 2400 3600 Off On On 4800 (factory setting) On Off Off 7200 On Off On 9600 On On Off 19200 On On On 19200 S O 7 or 8 Data Bits (SP1-5) This switch is set to match the character format used by the host computer, either 7 or 8 data bits. SP1-5 Function On 7 data bits Off 8 data bits (factory setting) A W5 R COMMUNICATION 21 Parity Enable (SP1-6) This switch enables or disables parity. If enabled, the printer checks the parity bit selected by switch SP2-1. | | Function SP1-6 Parity enabled On Parity disabled (factory setting) Off 2.4.2 Switch Pack 2 (SP2) Switch pack 2 controls the type of parity bit checked, the printer’s identification (ID) response, the autowrap feature, and XON/XOFF or restraint protocol. Parity Bit (SP2-1) If switch SP1-6 is on, switch SP2-1 selects the type of parity bit the printer checks for and sends. In 7-bit mode, the printer can e check for odd parity and send a space parity bit, or e check for even parity and send a mark parity bit. In 8-bit mode, the printer can only check and send even or odd parity. Switch SP1-5 selects 7-bit or 8-bit mode. SP2-1 On Off Function 7-Bit Mode 8-Bit Mode Check odd, send space parity. Check even, send mark parity. Check and send odd parity. Check and send even parity. Device ID Select (SP2-2 and SP2-3) These switches set the printer identification (ID) response to LNO3, LQP02, or LA100. These switches are usually set for an LNO3 ID response, except when the printer is connected to a system that requires an LQPO2 or an LA100 ID response. These switches do not affect the printer's response to control functions. AR 22 COMMUNICATION SP2-2 SP2-3 Device ID Off Off LNO3 (factory setting) Off On LQPO02 On Off LA100 On On LNO3 (same as factory setting) Autowrap (SP2-4) This switch selects the method of controlling a line of characters that exceed the right margin. If you select no wrap, the printer drops characters exceeding the right margin. If you select autowrap, the printer prints characters exceeding OO the right margin on the next line. The printer remains in this state, unless you send an autowrap mode (DECAWM) sequence to override the switch setting. A soft terminal reset (DECSTR) or a reset to initial state (RIS) sequence resets the printer to the state selected by the switch setting. Chapter 5 describes the DECAWM, A DECSTR, and RIS sequences. SP2-4 Function On Autowrap (factory setting) Off No wrap XON/XOFF or Restraint Protocol (SP2-5) This switch selects XON/XOFF or restraint protocol for data transmission. SP2-5 Function Description On Restraint Para. 2.5.4 Off XON/XOFF (factory setting) Para. 2.5.2 B e R Restraint Polarity (SP2-6) This switch selects the polarity of the restraint signal when you use restraint o protocol (SP2-5) for data transmission. SP2-6 Function On Inverted Off Normal (factory setting) PG COMMUNICATION 2.5 23 DATA SYNCHRONIZATION The data flow between the printer and host computer must be synchronized. To synchronize the data flow, the LNO3 uses an input buffer and either XON/XOFF protocol or a restraint line. 2.5.1 Input Buffer The printer has an input buffer that can hold up to 1,000 characters. This buffer allows the printer and host computer to communicate independent of printing speed. v The printer temporarily stores all received characters (other than NUL and DEL) in the buffer before processing them. A SUB control character replaces any character received with an error (for example, a parity error). The printer reports these errors on the summary sheet (Figure 2-2) and prints a reverse question mark < in place of the character. 2.5.2 XON/XOFF Protocol The XON/XOFF protocol lets the printer prevent the input buffer from overflowing. Otherwise, you might lose data if the printer stops (due to a paper-out condition, for example) or if the communication speed is greater than the print speed. To control the input buffer, the printer sends XON and XOFF control characters to the host computer. An XON character informs the host it can send data to the printer. An XOFF character informs the host to temporarily stop sending data, because the input buffer is full. The printer also sends an XOFF character when an error occurs (for example, an open cover or paper jam) or when the printer is off-line. After the printer is powered up and ready to operate, it sends an XON character to the host. The printer loads data from the host into the input buffer, until the buffer holds 750 characters. Then the printer sends an XOFF character to the host. If the host does not stop sending data, the printer sends a second XOFF character when the buffer holds 875 characters. As the printer processes characters, the buffer empties. When the buffer holds less than 750 characters, the printer sends an XON character to the host. This method maintains the buffer within its capacity. 24 COMMUNICATION 2.5.3 IO XON/XOFF Summary SR | The printer sends an XON control character following an XOFF condition if all the following conditions become true. XON Conditions e The printer is ready. e All faults are cleared. e There are less than 750 characters in the input buffer. The printer sends an XOFF control character when any of the following condi- tions become true. XOFF Conditions The printer is not ready. e A fault condition occurs. A e There are 750 characters in the input buffer. e There are 875 characters in the input buffer. e The printer is ready to send a report. 2.5.4 B Restraint Line The printer can use a restraint line to tell the host computer to stop sending S data. The printer must use a restraint line when the host or software does not recognize the XON/XOFF protocol. The restraint line is in addition to the nor- mal data lines. When the restraint line is asserted according to the restraint polarity (SP2-6), the host cannot send data. On some systems, the restraint line is called ready/busy. A CHARACTER CODE PROCESSING 3.1 Receiving 7-Bit and 8-Bit Data 3.1.1 7-Bit Code Table 26 3.1.2 8-Bit Code Table 28 3.1.3 25 DEC Multinational Character Set 3.2 Printable Characters 3.3 Control Characters 33 3.3.1 7-Bit to 8-Bit Conversion 38 3.3.2 8-Bit to 7-Bit Conversion 38 3.4 30 32 Escape Sequences, Control Sequences, and Device Control Strings 38 3.4.1 Using Control Characters in Sequences 3.4.2 Sequence Format 3.4.3 Escape Sequences 40 3.4.4 Control Sequences 41 3.4.5 Device Control Strings 3.5 3.5.1 3.5.2 3.1 39 43 Sending and Receiving 7-Bit and 8-Bit Data - 39 Sending Characters 44 45 Receiving Characters 45 RECEIVING 7-BIT AND 8-BIT DATA This chapter describes how the LNO3 responds to received character codes. The printer processes received characters according to ANSI standard X3.41977 and ISO standard ISO DIS 2022-1984. | Received characters include printable characters and control functions. Con- trol functions control how the printer processes, sends, and prints characters. Control functions include control characters, control strings, and escape and control sequences. Appendix C compares the control functions used in the LNO3 and other Digital printers. The printer can process 7-bit and 8-bit data. The following paragraphs explain how 7-bit and 8-bit character codes are represented in character set tables. Paragraphs 3.3.1 and 3.3.2 explain how to convert from a 7-bit to an 8-bit or from an 8-bit to a 7-bit environment. 25 — CHARACTER CODE PROCESSING 26 3.1.1 7-Bit Code Table o A code table is a convenient way to represent 7-bit and 8-bit characters, because you can see groups of characters and their relative codes clearly. Figure 3-1 is the 7-bit ASCII code table. There are 128 character code positions arranged in a matrix of 8 columns and 16 rows. COLUMN 0 | BITS ROW | B4 B3 B2 B1 1 87 00 |87 0 | g5 10 1 0 0 0 1 1 oo 1 b 2 2 oo 11 3 1 {Dx(%? 1 3 0 16 SP 17 21 ! 33 22 1] 42 34 # 43 11 =B 3 | (XOFF) | 19 3 13 4 24 o 41 1 49 2 62 50 3 63 21 § 22 35 23 44 4 20 s 36 4 5 |01 0 1 BE 5 25 5 2 15 % 45 37 S 6 26 46 6 6 7 o1 1t 0 14 25 6 22 & 7 7 27 ’ 47 30 6 0 1 11 24 16 23 7 38 8 |1 000 BS 8 CAN 24 ( 9 |10 0 1 HT 11 25 31 ) LF 12 10 SUB 26 ¥ A 1A vT 11 13 | ESC | 8 4+ B 18 14 12 34 C 28 1C 5 1300 | OB 15 0 35 D 29 - 1D 4 {1+ 1 1 0 SO 16 14 36 30 * 111 1 1 1 Sl 17 37 F 1F / 47 10 |1 0 1 0 11 |1 0 1 1 12 1 1+ 0 0 FF 9 - 19 ; 32 27 E 1E 15 31 § oCcTAL 27 § DECIMAL 18 32 51 | 33 64 B 36 67 P 80 A 101 Q 121 a B 102 R 122 c 103 F 40 65 41 66 42 67 T 69 u a4 108 45 106 70 56 H 160 96 P 112 141 q 161 60 97 61 142 70 7 82 b | 98 r c s 163 62 143 99 53 63 124 144 84 d 85 e 145 126 § 146 9 147 54 125 86 72 116 101 165 v 166 103 w 167 74 66 118 76 72 X 88 h 104 X 120 |5 Y 131 gof | . 151 ws] Y 171 106 z 57 67 ‘ 150 77 170 41 51 9 71 57 I 111 42 . 58 J 112 74 y4 132 90 ] 83 . i 73 K 113 C 133 k 163 107 173 44 < 74 60 L 114 \ 134 1 154 55 - as | < 75 | M 115 |5 ] 135 93l M | 109 46 56 > 62 76 N 116 78 A 136 94 n 110 57 ? 77 o 17 — 137 o 157 177 6F 7F 29 52 2A 39 72 3A 43 2B 54 2C 20 2E 2F 59 38 3C 30 3E 63 3F 48 49 4A 75 4B 76 4c 4D 58 59 54, 91 58 92 5C 5D 4E 79 4F 5E | 95 &F . 68 69 152 BA 121 79 122 172 78 108 l 155 } 175 o 176 6D R 7A 174 156 ] R 78 123 68 6C h 119 8 38 — 117 130 87 ‘ 75 | w 47 ' 73 u 102 J 15 164 t 65 56 114 100 64 55 s 113 127 [al | 1 123 83 v 46 1 0 162 52 68 110 51 S 43 G 55 70 81 7 1 140 50 ‘ 104 107 37 28 | 64 E 54 . @ 53 T 66 1 1 A D 34 0 ) 120 5.2 65 1] ] 100 , 1 5 1 40 ascii cHARACTER] ESC | /' | COtuMVROW 33 31 27 50 |, 61 7 39 17 18 30 26 10 8 48 | 0 1 32 g1 00 4 4 o 60 20 12 c3| 1 ‘ 40 18 2 0 ‘ 0 NUL ] 4 1 20 00 0 0 3 S 0 0 0 2 2 0 6E 111 DEL 124 7C 125 0 [— 126 7E 127 m— — | HE X MA-T24T Figure 3-1 7-Bit ASCII Code Table B CHARACTER CODE PROCESSING BIT 7 ! < BIT BIT BIT BIT BIT BIT 6 5 4 3 2 i 3 MOST »le SIGNIFICANT BITS ' 27 | 4 LEAST SIGNIFICANT BITS [DECIMAL VALUE IS (DECIMAL VALUE COLUMN IN IS ROW IN CODE TABLE) CODE TABLE) | MA-0890-83 Figure 3-2 7-Bit Code Each row represents a possible value of the four least significant bits of a 7-bit code (Figure 3-2). Each column represents a possible value of the three most significant bits. Figure 3-1 shows shows each character with its binary, octal, decimal, and hexadecimal code. You can also represent any character by its position in the table. For example, the character H (column 4, row 8) can be represented as 4/8. The printer processes received characters based on their ANSI character type, either printable or control. You can determine a character’s type by its position in the standard character set. Columns 2 through 7 of Figure 3-1 contain printable ASCII characters, except for the space (SP) and delete (DEL) characters. SP (2/0) can be considered a printable character or a control character, because it occupies space in memory and on paper. DEL (7/15) is always used as a control character. Columns 0 and 1 of Figure 3-1 contain control characters. R 28 CHARACTER CODE PROCESSING 3.1.2 8-Bit Code Table In general, the conventions for 7-bit character codes also apply to 8-bit charac- ter codes. Figure 3-3 shows the layout of an 8-bit code table. It has twice as many columns as the 7-bit table and contains 256 (versus 128) character code positions. COLUMN | \ 00 | 01]02|03)]04|05]06 )07 08 })j09] 10§ 11|12 | 13 | 14| 15 iy, ROW 00 NUL | DLE | sP pecs § 01 SOH | DC1 PU1 02 STX | DC2 PU2 03 ETX | DC3 STS 04 EOT | DC4 IND | CCH 05 | ENQ | NAK NEL | Mw 06 | ACK | SYN SSA | /i S SPA AN i 07 | BEL ETB ESA | EPA 08 | Bs |can HTS 09 | HT | EM HTJ 10 LF | suB VTS 11 VT | ESC PLD | CSI 12 FF | FS PLU | ST 13 CR | GS Rl 14 SO | RS Ss2 | PM 15 st ARG | us 5 conesTMT o , | osc BT, DEL | SS3 | APC GL CODES 7-BIT CODE TABLE -~ cooes TM > i GR CODES > MA-0892-B3 Figure 3-3 8-Bit ASCIl Code Table SO, R CHARACTER CODE PROCESSING 29 The 8-bit code table (Figure 3-3) has two sets of control characters, CO (control 0) and C1 (control 1). The table also has two sets of printable or graphic characters, GL (graphic left) and GR (graphic right). On the printer, the basic functions of the C0 and C1 control codes are defined by ANSI. CO codes represent the ASCII control characters described earlier. The CO code}s are 7-bit compatible. The C1 codes represent 8-bit control characters that let you perform more functions than possible with the CO codes.You can only use C1 codes directly in an 8-bit environment. As with the 7-bit table, each row represents a possible value of the four least significant bits of an 8-bit code (Figure 3-4). Each column represents a possible value of the four most significant bits. All codes on the left half of the 8-bit table (columns 0 through 7) are 7-bit compatible. Their eighth bit is not set and can be ignored or assumed to be 0. You can use these codes in either a 7-bit or 8-bit environment. All codes on the right half of the table (columns 8 through 15) have their eighth bit set. You can use these codes only in an 8-bit compatible environment. The GL and GR sets of codes are reserved for printable characters. There are 94 GL codes in positions 2/1 through 7/14. There are 94 GR codes in positions 10/1 through 15/14. By ANSI standards, positions 10/0 and 15/15 are not used. You can use GL codes in 7-bit or 8-bit environments. You can use GR codes only in an 8-bit environment. BIT 7 BIT 6 BIT 5 4 MOST SIGNIFICANT BITS (DECIMAL VALUE IS COLUMN IN CODE TABLE) BIT 4 A 4 BIT 8 ‘ B8IT 3 BIT 2 BIT 1 . 4 LEAST SIGNIFICANT BITS ' (DECIMAL VALUE IS ROW IN CODE TABLE) MA-0BS 1-83 Figure 3-4 8-Bit Code O CHARACTER CODE PROCESSING 30 il 3.1.3 DEC Multinational Character Set Figure 3-5 shows the DEC multinational character set. This 8-bit character set is the default character set when you turn the printer on. O The 7-bit compatible left half of the DEC multinational set is the ASCII graphic set. The CO codes are the ASCII control characters, and the GL codes are the ASCII graphic (printable) characters. I COLUMN O B7 0 1 0 0 0 0 2 BITS B6 0 0 0 0 NUL 00 20 1 0 00 1 1 21 2 0 01 0 2 o0 11 3 ROW | B4 B3 B2 B1 | ps 4] 3 ‘ 1 0 16 10 (ngfl 1 1 2 17 11 22 18 2 1D 3 1 1 0 SP 40 ' 41 Ve a2 20 34 12 22 23 # 43 44 3 (xcfig 1913 3 30 61 49 3523 31 62 2 50 100 A 101 B P 64 40 Q 65 41 102 ‘ 66 42 , 80 140 . 50 60 121 a1 141 51 122 82 61 142 98 52 62 83 143 53 63 84 144 85 86 S ‘ 123 68 T 124 69 U 125 3 51 c 103 52 D 104 43 1 120 67 63 33 1 1 @ 32 7 1 96 97 P 160 1 112 9 161 70 113 r 71 162 99 S 163 100 t ‘ 164 145 101 u 65 146 165 117 102 v 72 115 73 116 01 0 0 4 20 $ 36 4 64 5 0 1 0 1 5 5 25 2115 o, /fl 45 5 65 105 6 22 \ & 46 38 6 B3 35 E 26 37 25 66 54 F 70 v 0o 1t 11 7 7 7 27 23 7 47 30 7 55 G 107 rA w 127 87 147 103 w 8 |1 000 BS 10 |, 30 [CAN |, ( 50 40 8 70 | H 110 || X 130 88 | 150 58 68 | X g 1 00 1 HT 11 g9 25 31 ) 41 29 51 9 5739 71 | 111 73 49 Y 131 151 10 | v 01 0 LF 12 10 1SUB | 32 ¥ |52 74 Z 90 162 3A J 132 24 58 12 1A 42 72 A 26 54 6A 13 vT 11B |ESC | 3 27 + 43 73 59 K 113 75 [ 133 91 153 107 173 12 34 76 \ 92 154 1C L 134 c 60 114 | 61 M 115 77 ] 135 93 155 62 | 76 N 116 A 136 57 77 2F 3F | o 5 6 0 110 6 7 ‘ 1111 0 1 1 14 4 16 6 17 18 8 19 9 {1 1 0 0 FF 13 /1 1 0 1 CR 15 13 35 D 10 14 |1+ 1 1 0 SO 14 16 30 Sl 17 31 12 ! 18] 1 1 1 1 « 45 2C 3B : 56 2E / 74 < 3c 75 55 46 1€ 1F 38 2D 36 | 54 29 37 37 2B 44 F 67 53 ’ ASCIHl CONTROL SET ascii characTer| ESC 28 - 15 36 26 28 E 34 27 18 14 24 47 > ‘ 3D 3E 63 | 44 45 106 46 ar 48 4A 48 4c 4D 78 b’ 4E 117 79 " 4F 64 54 55 126 66 56 57 67 wa] 8959 58 y 106 z 75 166 118 5D 76 119 170 120 78 12179 122 172 7A 18 . 123 78 l 109 } 175 124 7C 125 7D 156 176 6E 7E 126 1 110 1371 157 177 BF BF 7F 111 DEL A, 127 ‘ ASCIli GRAPHIC CHARACTER SET COLUMN/ROW P 33 | ocTaL 27 T 171 94 95 — 77 108 6D R 167 174 6C 5E — 106 69 74 68 5C B 114 4 4 24 48 5 0 1 60 0 33 21 42 4 1 | DECIMAL X HE B EA WA 110 PR Figure 3-5 DEC Multinational Character Set (Left Half) CHARACTER CODE PROCESSING 31 The 8-bit compatible right half of the DEC multinational set includes the C1 8-bit control characters in columns 8 and 9. The GR codes are the DEC supplemen- tal graphic set. The DEC supplemental graphic set includes accented letters and other symbols not included in the ASCII graphic set. The following paragraphs describe the various types of characters and how they control printer functions (such as setting margins and tabs). 8 1 9 1 0 ..-.?.. 0 200 10 1 0 0 1 220 221 145 91 i 130 146 ¢ 222 92 203 223 131 147 83 204 IND | 2 84 206 a3 224 148 94 225 85 95 NEL | 133h 1¢] 149 206 96 227 135 151 87 13: 21 231 a0 pod 212 VTS | 138 232 4l 8A 9A 213 233 PLD | 132 | CSI | 155 88 214 PLU | 0| 8C Ri § 98 234 ST | 156 w62] 2 A2 163 A3 244 164 A4 245 |es [T @ |67 ° A 247 j=¢ I 122 @ v 252 || B 0 AA 171 AB 254 72 A 301 (e c1 N 178 A | 194 a 262 B2 179 B3 264 wo| B4 265 T 266 c2 » Yo |l c3 304 || c4 ES A ) A | ME w3 G - A 20 @ 226 o 213 RS || CE 7 I L Y D ETE | 203 8B 274 (e8| - cB 314 F |204a| 28] 346 E6 347 v @ 245 F5 366 231 2;3 R 332 28] 9| DB 1334 |20 F6 367| E7 E7 350 e S, 2:2 370 [ ] 23 351 L 37 N 352 |24 @ G 372 | 2% EA 333 yy F3 364 & | 244 Fé4 365 ES DA 0 243 o8 | 247 NRES E < a 363 % € 7] I E3 344 |28 E4 345 @ 330 233 187 271y |25 D6 377 ET G F2 343 a 07 CA 362 | 242 o | 246 PR 5] E2 FO 361 | |2 F1 g8 | 20| E 312 (202 240 214| 1:; F 342 D5 |30 360| a D3 324 l22] D4 325 'fd 1 EO 323 ol O 1 341 |25 E1 211 O 0 340 321 |2 D1 271 272 |wef ! | 224 322 O 15 1 @ D2 |08 c6 307 1 1 320 00 c5 306 14 08 303 A [182]| B6 267 0 co 302 BA 253 « 261 |77 B1 80 270 251 1 |192 B7 250 0 A BS w6 13 300 263 3 AT 230 1:: o+ 246 a7 210 241 el Al AB 150 86 207 HTS ¥ 226 134 |we] 242 L 1 260 243 £ 12 ©° AD 201 129 81 82 3 wo| FINN 202 0 ! W] \\ 240 128 | DCS | 144 80 11 1 FA 353 @ § |28 EB 354 |26 373 @ 251 FB 374 Y | 282 9 AC 215 BC 235 255 DC 275 EC _ s, FC 73| AD 355 el BD T 375 8D 157 90 (33 208 CcD | DD | 216 SS2 | 142 V2 236 256 276 158 174 1901 8E 9E AE BE 217 237 267 277 8F | oF AF SS3 | 43| ADDITIONAL 159 10 CONTROL SET 178 é 191 BF cc y 316 T e 7 | 27| ED 336 | 206 22| | DE EE 317 337 387 CF B 223 DF “ | 283 FD 376 238 CE 207 Y 356 254 & 239 k\ EF FE 377 255 FF DEC SUPPLEMENTAL GRAPHIC SET MA- 511086 Figure 3-5 DEC Multinational Character Set (Right Half) 32 CHARACTER CODE PROCESSING 3.2 PRINTABLE CHARACTERS The printer prints ASCII graphic characters as received. Characters from posi- tion 2/0 through position 7/14 in 7-bit character sets (and from position 10/0 through position 15/15 in 8-bit character sets) are usually interpreted as printable characters. The printer prints characters at the active position on the current page. The active position is defined by an active column (horizontal position) and an active line (vertical position). After printing a character, the printer increments the active column. After printing a line, the printer increments the active line. The size of these increments depends on the font you are using or any control functions you send before the printable characters. NOTE: The actual characters printed depend on the printable character set used. Paragraph 4.3 explains how to select different character sets. Appendix B shows the character sets the printer can process. If the spacing is based on the current font, each printable or space character increases the active column by one space increment (determined by the font). If the active position is within the printable region, each printable character or space character prints and the active column increases as required. When the printer reaches the right margin, the autowrap feature determines what happens to printable characters. If you select the no wrap setting, characters are lost. If you select the autowrap setting, the printer performs an automatic carriage return and line feed before printing the next character. You can set the autowrap feature with configuration switch SP2-4 (Paragraph 2.4.2) or the autowrap mode sequence (Paragraph 5.2.3). B, O oS CHARACTER CODE PROCESSING 3.3 33 CONTROL CHARACTERS Control characters do not print. They usually cause the printer to perform some action. For example, the HTS control character sets a horizontal tab. There are two groups of control characters. CO (columns 0 and 1 in all character sets) C1 (columns 8 and 9 in 8-bit character sets) Table 3-1 lists the CO control characters that the LNO3 recognizes. Table 3-2 lists the C1 control characters that the printer recognizes. Both tables give column/row locations to help you find each character in the character sets. The printer ignores any control characters not listed in the tables. You can use an alternative method to send CO control characters from your input keyboard. To send a character from the keyboard, you hold down the Ctri key and press a second key specified in Table 3-1. NOTE: You do not convert printable characters. Columns 8 and 9 of the DEC multinational character set (Figure 3-5) contain 8bit C1 control characters. In 7-bit mode, these characters are coded as 2character escape sequences of the form. ESC Fe 111 where ESC is the escape character Feis a final character from columns 4 and 5 from anure 3-5. Table 3-3 Iis%ts equivalent 8-bit and 7-bit control characters. The following paragraphs explain each conversion process. 34 CHARACTER CODE PROCESSING e e R s, Ay R Ry O | CHARACTER CODE PROCESSING s e D i o S e ¥ ey X L s Sy L .7 ke L S " % & ol sl G i o ‘ e ; % - ; . - 7 Bl . o m i, e L o L @ o it : 7 5 e R e i i \ - . o . i L : 5 o . < G - o v s . i L i o 7 L ] o o S : . . . Ly - 2 . 2 S ‘\)“K} & : 5 55 it .:;‘: o i o M 7 i Ll Gl e = ] o : C o S S . % v : o . 2 il JT—— CHARACTER CODE PROCESSING ARG 2 i i i s i i 2 o i gfi’%e - ; : 4 i g : o o i : g;04,“ gti : «%:, ‘?1:’ == 36 S i [ o AR P [ ORI P A, P T— DA RO O P CHARACTER CODE PROCESSING o o b »3'@, o i o L @ . i i 5 .. ) e. L i . i iy . i -= . by g o - i i . o . L 38 CHARACTER CODE PROCESSING 3.3.1 7-Bit to 8-Bit Conversion R You can convert the 7-bit escape sequences in Table 3-3 to 8-bit control characters as follows. 1. Remove the ESC character. 2. Set the eighth bit and clear the seventh bit of the final character. 3.3.2 8-Bit to 7-Bit Conversion | You can convert the 8-bit control characters in Table 3-3 to 7-bit escape sequences as follows. 1. Insert an ESC character. 2. Clear the eighth bit and set the seventh bit of the 8-bit control character. 3.4 ESCAPE SEQUENCES, CONTROL SEQUENCES, oG AND DEVICE CONTROL STRINGS Escape sequences, control sequences, and device control strings provide more control functions than control characters. These multiple-character sequences let you control many printing functions. Here are some examples. Character sets Fonts (loading, assigning, and selecting) Character attributes (such as bolding and underlining) Spacing (for monospace and proportional fonts) Active column and line Print area and page margins Autowrapping O Tabs Line feeds and carriage returns Justification 'Vectors for line drawing Product identification Printer status Resetting or initializing the printer T Each escape sequence, control sequence, and control string performs a specific control function. Many control functions are automatically set to an initial value (Paragraph 5.14) when you power up or reset the printer. CHARACTER CODE PROCESSING 3.4.1 39 Using Control Characters in Sequences You can use control characters—ESC, CAN, and SUB—to interrupt or recover from errors in escape sequences, control sequences, and device control strings. e You can send ESC (1/11) to cancel a sequence in progress and begin a new sequence. - e You can send CAN (1/8) to indicate the present data is in error or to cancel a sequence in progress. The printer interprets the characters following CAN as usual. e You can send SUB (1/10) to cancel a sequence in progress. The printer interprets the characters following SUB as usual. The printer does not lose data when errors occur in escape or control sequences and device control strings. The printer ignores unrecognized sequences and strings, unless they end a current escape sequence. NOTE: At the beginning of each document you print, set the printer to a known state. You can use the reset to initial state (RIS) sequence. This sequence also clears the printer of any partial pages left in the buffer from a previous document. If your printer is connected to the printer port of a video terminal, you probably have to use soft terminal reset (DECSTR) sequence instead of RIS. Paragraph 5.13 describes both sequences. You should also send a form feed (FF) at the end of a document, so the last page of the document will eject from the printer. 3.4.2 Sequence Format This manual shows escape and control sequences in their 8-bit format. You can also use equivalent 7-bit sequences (Table 3-3). The 8-bit format uses the CO and C1 control characters and ASCII characters from the DEC multinational character set (Figure 3-5). The sequences also show each character’'s column/row position in the character set, below the character. The column/row code eliminates confusion over similar looking characters such as 0 (3/0) and O (4/15). 40 CHARACTER CODE PROCESSING Spaces appear between characters in a sequence for clarity; they are not part S, of the sequence. If a space is part of the sequence, the SP (2/0) character appears. 3.4.3 Escape Sequences An escape sequence uses two or more bytes to define a specific control function. Escape sequences do not include variable parameters, but may include intermediate characters. Here is the format for an escape sequence. ESC | F 1/11 2/0 to 2/15 3/0 to 7/14 SR Escape Intermediate Final sequence characters character introducer (zero or more (one character) [ characters) PR The escape sequence introducer is the ESC control character. After receiving ESC, the printer stores (but does not print) the next received characters as part of the sequence. Zero or more intermediate characters can follow the ESC character. Intermedi- R ate characters come from the 2/0 through 2/15 range. The final character indicates the end of the sequence. The final character comes from the 3/0 through 7/14 range. The intermediate and final characters together define a single control function. For example, the following escape sequence selects the French character set. ESC + R 1/11 2/11 5/2 S CHARACTER CODE PROCESSING 3.4.4 41 Control Sequences A control sequence uses two or more bytes to define a specific control func- tion. Control sequences usually include variable parameters. Here is the format for a control sequence. cst P..P 9/11 3/0 to 3/15 I...| F 2/0 to 2/15 4/0 to 7/14 Control Parameter Intermediate Final sequence (zero or more (zero or more (one character) introducer characters) characters) The control sequence introducer is the C1 control character CSl (9/11). You can also use the equivalent 7-bit sequence, ESC (1/11) [ (5/11). After receiving CSlI, the printer stores (but does not print) the next received characters as part of the sequence. Parameter characters are characters received after CSl, in the 3/0 to 3/15 range. Parameter characters modify the action or interpretation of the sequence. You can use up to 16 parameters per sequence. You must use the ; (3/11) character to separate parameters. All parameters are unsigned, positive decimal integers, with the most signifi- cant digit sent first. Any parameter greater than 9999 (decimal) is set to 9999 (decimal). If you do not specify a value, a 0 value is assumed. A 0 value or omitted parameter indicates a default value for the sequence; for most sequences, the default value is 1. NOTE: All parameters must be positive decimal integers. Do not use a deci- mal point in a parameter—the printer will ignore the command. If the first character in a parameter string is the ? (3/15) character, it indicates that DEC private parameters follow. The printer interprets private parameters according to ANSI X3.64 and ISO 6429. The printer processes two types of parameters, numeric and selective. A numeric parameter indicates a numeric value such as a tab or margin location. In this manual, numeric parameters appear as actual values or as Pn, Pn1, Pn2, and so on. 42 CHARACTER CODE PROCESSING Numeric Parameter Example Control sequence introducer First numeric parameter CSli 9/11 5 3/5 Second numeric Final Delimiter parameter character ; 3/11 7 3/7 0 3/0 S 7/3 In this example, the left margin is set to column 5, and the right margin is set to column 70. The numeric parameters are 5 and 70. The ; (3/11) delimiter separates the two parameters. | A selective parameter selects an action associated with the specific parameter value. In this manual, selective parameters appear as Ps, Ps1, Ps2, and so on. Selective Parameter Example Control seguence introducer First selective parameter Second selective Final Delimiter parameter character CSi 9/11 1 3/1 : 4 m 3/11 3/4 6/13 In this example, the first selective parameter selects bold printing, and the second selective parameter selects underlining. The ; (3/11) delimiter separates the two parameters. Intermediate characters are characters received after CSl, in the 2/0 to 2/15 range. The final character comes from the 4/0 to 7/14 range. The final character indicates the end of the sequence. The intermediate and final characters together define a control function. If there are no intermediate characters, the final character defines the function. | RS R CHARACTER CODE PROCESSING 43 Control Sequence Examples 1. The following sequence clears all horizontal tab stops. Control sequence Numeric Final introducer parameter character Csi 3 g 9/11 3/3 6/7 2. The following sequence turns off justification. Control 3.4.5 sequence Numeric Intermediate Final introducer parameter character character CSli 0 SP F 9/11 3/0 2/0 4/6 Device Control Strings Device control strings (DCS), like control sequences, use two or more bytes to define specific control functions. However, a DCS also includes a command string. Here is the format for a device control string. DCS P...P l..l F Command string ST 9/0 3/0 2/0 4/0 e e o ok e o e o e ke oo 9/1 2 to to to 3/15 2/15 7/15 “ J Device Protocol control selector String String terminator string introducer The device control string introducer is the C1 control character DCS (9/0). You can also use the equivalent 7-bit sequence, ESC (1/11) P (5/0). After receiving DCS, the printer stores (but does not print) the next received characters as part of the string function. 44 CHARACTER CODE PROCESSING BN The protocol selector follows DCS and includes parameter characters, intermediate characters, and a final character. The format is the same as a control sequence (except for the CSI character). The command string follows the protocol selector and includes several records. Each record may be several characters in length. Records are sepa- rated by the ; (3/11) delimiter. The string terminator ST (9/12) indicates the end of a string. You can also use D the equivalent 7-bit sequence, ESC (1/11) \ (5/12). 3.5 SENDING AND RECEIVING 7-BIT AND 8-BIT DATA You can select how the printer processes and codes data by using configura- tion switch SP1-5 and the following escape sequences. SP1-5 selects a 7-bit or 8-bit data format (Paragraph 2.4.1). The C1 receive and C1 transmit sequences enable or disable data transmission and reception in those formats. When you power up or reset the printer (Paragraph 5.13), it uses C1 receive enabled and C1 transmit disabled. Name Sequence C1 receive ESC SP 7 The printer receives 8-bit data and enabled 1/11 2/0 3/7 C1 control characters (as 7-bit ESC Function Fe sequences or single 8-bit bytes). C1 receive ESC SP 6 The printer receives 7-bit data and disabled 1/11 2/0 3/6 C1 control characters (as 7-bit ESC Fe sequences). C1 transmit ESC SP disabled 1/11 2/0 F The printer sends 7-bit data and C1 4/6 control characters (as 7-bit ESC Fe sequences). C1 transmit ESC SP G The printer sends 8-bit data and enabled 1/11 4/7 C1 control characters (as single 2/0 8-bit bytes). The following paragraphs describe the different selections you can make using switch SP1-5 and the escape sequences. e —— CHARACTER CODE PROCESSING 3.5.1 Sending Characters You can select three different methods for sending characters. Selection Result You select 8-bit mode The printer uses 8-bit (by setting switch SP1-5 coding to send all data. to 8-bit) and enabile its use (by using the C1 transmit enabled sequence). You select 8-bit mode The printer uses 8-bit (by setting switch SP1-5 coding to send data and uses to 8-bit), but restrict its 7-bit equivalent coding to use (by using the C1 send C1 control characters. transmit disabled sequence). You select 7-bit mode The printer uses 7-bit (by setting switch SP1-5 coding to send all data to 7-bit). (converting 8-bit data to a 7-bit equivalent). 3.5.2 Receiving Characters You can select three different methods for receiving characters. Selection Resuit You select 8-bit mode - The printer treats any (by setting switch SP1-5 received byte as an 8-bit to 8-bit) and enabile its byte. use (by using the C1 receive enabled sequence). You select 8-bit mode The printer does not change (by setting switch SP1-5 data, but truncates C1 to 8-bit), but restrict its control characters (by use (by using the C1 setting the most significant receive disabled sequence). bit to 0. You select 7-bit mode The printer treats any (by setting switch SP1-5 received byte as an 8-bit to 7-bit). byte with the most significant bit set to 0. 45 SELECTING CHARACTER SETS AND FONTS O AR 4.1 Before You Start 46 4.2 Character Sets, Fonts, and Font Files 4.2.1 Font Attributes 42.2 Font File Attributes 47 47 48 4.3 Selecting Graphic Character Sets 4.4 Loading, Assigning, and Selecting Font Files 50 4.4.1 Loading Font Files (DECLFF) 4.4.2 Assign Type Family or Font (DECATFF) 44.3 Selecting Fonts (SGR) 59 60 4.5 Deleting Type Family or Font Files (DECDTFF) 4.6 Font Status 4.6.1 4.6.2 4.7 61 62 Request Font Status (DECRFS) Font Status Report (DECFSR) Selecting Font Sizes 62 63 63 4.7 .1 Graphic Size Selection (GSS) 4.7.2 Graphic Size Modification (GSM) 4.1 55 56 64 64 BEFORE YOU START The LNO3 uses character sets and fonts to create the characters you see on a printed page. You can use the character sets and fonts that come stored in the printer, or you can add others. You use font files to add character sets and fonts to the printer. There are two ways to add font files. e Plug a font cartridge into the printer. e Down-line-load a font file from the host computer. This chapter explains how to select character sets and fonts. However, before you use these procedures, you should understand how the printer uses char- acter sets and fonts. The next section describes some important terms. 46 — SELECTING CHARACTER SETS AND FONTS 47 Appendix F contains some helpful hints and examples using LN03 commands. The appendix also includes problem-solving information. 4.2 CHARACTER SETS, FONTS, AND FONT FILES Character sets contain a set of codes that describe the general appearance of characters. For example, a character set might contain the code for an uppercase A or the number 1. Fonts determine the size and style of printed characters. For example, a couri- er 10 point font describes a certain style (courier) and size (10 point) of printed character. Fonts and character sets are independent of each other. You need both a font and a character set to print characters. The LNO3 stores the data for character sets and fonts in font files. Each font file contains the data for a unique combination of one font and one character set. You can assign a font to any character set available in the printer. The font files that come with the printer are stored in ROM. If you load other font files from the host, they are stored in RAM. Font files must be in a standard Digital format. 4.2.1 Font Attributes Each font has seven attributes that define the visual representation of characters, independent of any character set. Font Attributes Example 1. Type family Courier, elite 2. Spacing Proportional or fixed (monospaced) 3. Type size 10 point (1 point = 1/72 inch) 4. Scale factor 1:1 (This describes a vertical to 5. Typestyle 6. Character weight Normal, bold 7. Character proportion Normal, expanded, condensed horizontal proportion.) o Normal, italic 48 SELECTING CHARACTER SETS AND FONTS For example, one of the standard fonts used in the printer is courier 10 pitch, monospaced, 10 point, with 1:1 scaling, and normal typestyle, character weight, and character proportmn G You can assign this font to any available character set, such as the ASCII or DEC supplemental sets. A type family (the first font attribute) identifies a group of fonts related in design, but differing in the six other attributes. For example, the two standard type families used in the printer are courier and elite. 4.2.2 Font File Attributes Each font file has 12 attributes, including the 7 attributes for a single font and the character images for a single character set. Font File Attributes Font Attributes Type family Spacing + | Other Attributes Character set Rotation Type size Character subset Typestyle Resolution Scale factor TS File encoding Character weight Character proportion Each font file has a unique 31-character identification. This font file ID describes the character set as well as the the font attributes. Appendix D describes the standard font file IDs in the printer. Figure 4-1 shows the character sets and fonts stored in ROM when you receive the printer. The DEC built-in-1 and pi font files are duplicates of the courier and elite font files. The figure does not include optional font files stored in cartridges or down-line-loaded from the host computer. You can combine any available character set and font for printing. For exam- ple, you could use the ASCII character set with the courier 10 point, 10 pitch font. s SELECTING CHARACTER SETS AND FONTS 49 X X X X X X X X X X X X X X X X HOSV TJVYIINHO3L 230 50 SELECTING CHARACTER SETS AND FONTS P — The printer compares your selections with the character sets and fonts it has available, looking for an exact match (type family, character set, type size, proportions). If it does not find an exact match, the printer compares for the AR nearest match of attributes (spacing, type size, proportion, weight, style). Using the font file data stored in the printer, you can select the characters to print from in two steps. 1. Select a character set (Paragraph 4.3). 2. Select a type family or font (Paragraph 4.4). 4.3 SELECTING GRAPHIC CHARACTER SETS There are four graphic character sets stored in the LNOS. ASCII DEC supplemental DEC technical VT100 line drawing You select a character set for printing as follows (Figure 4-2). 1. Designate the set as GO, G1, G2, or G3. 2. Map the designated set into the graphic left (GL) or graphic right (GR) table in memory. You can then use the set for printing. The graphic left (GL) table is used when the character code format is 7-bit, or when the the character code format is 8-bit and the graphic characters are in the 2/1 through 7/14 range. The graphic right (GR) table is used when the character code format is 8-bit and the graphic characters are in the 10/0 through 15/15 range. | You do not have to select a character set every time you use the printer. You can use the default character sets. When you power up or reset the printer, the ASCIl set is designated as GO and G1, and the DEC supplemental set is designated as G2 and G3. In other words, the default character set is the DEC multinational set (ASCIlI and DEC supplemental sets). P SELECTING CHARACTER SETS AND FONTS 51 L [ | co Y —— A —| C1 GL [MAPPING (LOCKING SHIFT AND SINGLE SHIFT) -| G1 GO ' G3 G2 DESIGNATING | kN | 96-CHAR 94-CHAR GRAPHIC i REPERTORY] ‘ \ }~ - GRAPHIC REPERTORY o MA-1483-84 Figure 4-2 Selecting Character Sets You can only designate a character set you have stored in the printer. You can designate any of the standard 16 character sets (Appendix B) by using the basic escape sequence in Table 4-1. The intermediate character selects GO, G1, G2, or G3. The final character selects the character set. For example, to designate the U.K. set as GO, you would use the following sequence. ESC ( A 111 2/8 4/2 You can lock (map) the GO, G1, G2, or G3 character set into GL or GR memory by using the locking-shift (LS) control functions in Table 4-2. Figures 4-3 and 44 show this process for 7-bit and 8-bit character sets. The character set remains available for printing until you lock another set into GL or GR. You can print a single character from the G2 or G3 character set by using the single-shift (8S) control functions in Table 4-2. The SS functions temporarily store the G2 or G3 set in GL. After printing the single character, the printer returns to the previous set locked in GL. 52 SELECTING CHARACTER SETS AND FONTS P s RS S L AR R R - RO AR . RS O SELECTING CHARACTER SETS AND FONTS s & m o Gy 53 - o . o e L s - . D g o . isgg,n . ST . o g b . . i L i O e e - o= = %» - -o . . . = e . - = - i - o S it i .-. ":,'7” ;.:mr L o R S i . e . »:/;/‘é i . G G ok G i . . . o Ao ;vg’};g ok . - i . i et | il D o i i B i . i L i v . i . % 4 % @W@” ol o S o e S ; i L o o o i o G . . S = %& : i Cabe o . . Q"v h 4}@%\» o e T R . L o ;- i i o e i . it ) P . S . T- o L P SELECTING CHARACTER SETS AND FONTS A v e- S B =5 i .“s 54 o RS s e A SO OR LS1 GO O G2 IO 3 94-CHA R 96 -CHAR GRAPHIC GRAPHIC REPE RTORY — REP ERTORY - " i T s 7 -BITS — M A, - 14864 -84 F igure 4 3 Invoking Ch aracter Sets (7 B Mode) s o GR p| O C1 55 | 1 GL @) Lo SELECTING CHARACTER SETS AND FONTS GO | 94-CHAR GRAPHIC | 96-CHAR ‘ GRAPHIC REPERTORY | [T | REPERTORY 8-BITS MA- 14868 - B4 Figure 4-4 4.4 Invoking Character Sets (8-Bit Mode) LOADING, ASSIGNING, AND SELECTING FONT FILES The LNO3 has 32 font files stored in ROM. Each font file includes data for one of the four standard character sets: ASCIl, DEC supplemental, DEC technical, or VT100 line drawing. You can down-line-load up to 31 other font files from the host computer, if enough RAM memory (including cartridges) is available. Each font file also includes the data for one font, which is part of a type family. You can identify font files by a type family ID, a font ID, and a font file ID. The type family ID has seven characters. Here are the type family IDs for the four standard type families used with ROM-resident font files. 56 SELECTING CHARACTER SETS AND FONTS Type Family Identification Courier RCOURIR Elite RELITEO DEC builtin DBULTNT1 Pi font D000000 PO, The font ID has 16 characters (no lowercase letters) and describes the seven basic font attributes (including type family) of the ROM fonts. The font file ID has 31 characters. It describes the character set and the font attributes. Appendix D lists all standard type family, font, and font file IDs for the ROM font files. To make a font file available for printing, you must assign a select graphic rendition (SGR) number to the file (Paragraph 4.4.2). You assign an SGR number to the type family ID or font ID. Then you can select the SGR number AT for printing. When you power up or reset the printer, it selects SGR number 10 for printing (Paragraph 5.14). 4.4.1 Loading Font Files (DECLFF) Before loading font files in the printer, you should print a status sheet (Figure 22). The status sheet shows you what fonts are available. If necessary, you should delete unneeded font files in the printer, to make space for the new e files. Font files are loaded in memory with a specific orientation—portrait or landscape. All 10-, 10.3-, and 12-pitch fonts have portrait orientation, and all 13.6- pitch fonts have landscape orientation. The printer can change (rotate) the ST orientation, if enough memory is available. AN NOTE: If you need to rotate the orientation of a font, you can reduce the memory needed by having the same character set in both GL and GR. T 5155 SELECTING CHARACTER SETS AND FONTS 57 After you load font files in memory, they remain available for printing until one of the following events occurs. e You load new fonts with a Ps3 parameter value of 0, to delete all down- line-loaded fonts. (See the following escape sequence description.) e You load the same font file again. e You shut off system power. The default built-in fonts are available at power-up (Paragraph 5.14). e You remove the RAM cartridge that contains the font. The format for the load font file (DECLFF) sequence is as follows. Font DCS Ps1 ; Ps2 ; Ps3 vy Record Comment ; Record ST Ps1 Parameter Ps1 is the font file indicator that specifies the font file format used in the command string. Ps1 must be 0, which indicates the file is in the Digital font file format. Otherwise, the printer ignores the load font set. NOTE: You can only use font files that are in the Digital font file format. You cannot use LNO1 font files with the LNOS. Ps2 Parameter Ps2 specifies whether or not to print a summary sheet (Figure 2-2). Ps2 Function 0 Print summary sheet. (defauit) 1 Do not print summary sheet. If you use a numeric value other than 0 or 1, the printer assumes a 1 value. O 58 SELECTING CHARACTER SETS AND FONTS R Ps3 Parameter ' Ps lets you select which font ffles to delete before the printer loads new font files. Ps3 Function Delete all font files. 1 Delete selected font files that have the same fcmt flle ID as a font file being loaded. If there are several font files with the same font file ID, the last font file loaded replaces the previously loaded font file. If a font file loaded from the host has the same font file ID as a ROM-resident font file or cartridge font file, the host- loaded font file overrides but does not delete the other font file. You can load font files in the middie of a page. Be careful, however, when you delete a font file in the middle of a page. An error will occur if one or more characters already imaged on the page need the deleted font file. The printer will eject the page in order to print at the same position on the new page. A Final Character The final y (7/9) character identifies the DECLFF control function. The data between the y and the string terminator represents the font command string. This data comes from the 2/0 through 7/14 range. NOTE: You can print a summary sheet and delete all font files prewous/y AR loaded from the host, by sending the following sequence. DCS 0 ; 0 ; 0 y ST 9/0 3/0 3/11 3/0 3/11 3/0 7/9 9/12 Font Record The font record contains data on one or more font files. Usually, each font file contains the character images for a particular character set in a particular font. i The string introducer DCS Ps1 ; Ps2 ; Ps3 y indicates the beginning of the font record. The string terminator ST indicates the end of the font record. The font record is in Digital font file format. This record contains binary data that has been converted to a sixel format, as described in Paragraph 6.3. A, SELECTING CHARACTER SETS AND FONTS 59 If the printer receives an escape or control sequence in the middle of a font record, the printer loads those fonts already received and makes them availa- ble for assignment and selection. Incomplete or partial fonts are ignored. Comment record The comment recordis a list of user text, separated from the font record by a ; (3/11). The comment record is an optional parameter that is ignored by the printer. 4.4.2 Assign Type Family or Font (DECATFF) To select fonts for printing, you must assign a select graphic rendition (SGR) number to the the type family ID (7 characters) or font ID (16 characters). Each font file contains an ID string as part of its font record. The assign font number sequence assigns a type family ID or a font ID to the indicated SGR number. You can then use the select font escape sequence (Paragraph 4.4.3) to select the font for printing. The format for the assign font number sequence is as follows. DCS Ps1 ; Ps1 Parameter Ps2 | IDSting | Ps1 selects which font assignment to parmrm Ps1 Function 0 1 Same as 1. (default) Assign font ID to SGR number. 2 Assign type family ID to SGR number. ST 60 SELECTING CHARACTER SETS AND FONTS Ps2 Parameter - Ps2 selects the SGR number to assign to the type family ID or font ID. The following table indicates the SGR number assignment at power-up. Ps2 SGR Assignment ID - Font or Type Family 10 Type family = DBULTNT DEC built-in-1 family 11 Type family = RCOURIR Courier family 12 Type family RELITEO Elite family 13 Font RCOURIRJ02SKO0GG Courier 10 point, 10 pitch 14 Font 15 Font 16 RELITEOLO2SKOOGG Elite 10 point, 12 pitch RCOURIR101VKOOGG Courier 6.7 point, 13.6 pitch Font RCOURIR202SK00GG Courier 10 point, 10.3 pitch | 17 Type family DBULTN1 DEC built-in-1 family 18 Type family DBULTN1 DEC built-in-1 family 19 Type family DBULTN1 DEC built-in-1 family NOTE: All font cartridges are assigned an SGR of 17, 18, or 19. They can override automatic assignments of ROM-resident fonts. If two cartridges have AR the same SGR, then you must assign a new SGR to one of them. Type Family ID or Font ID String AR The type family ID or font ID identifies which font file to assign to the SGR number (Ps2). You cannot use lowercase letters for a type family ID or font ID. You can assign up to 10 fonts at one time. Font assignments can occur anywhere in the data stream. You can send an unlimited number of assign font number sequences to the printer. The printer will accept an ID for a font file not currently stored. However, if you R try to print a character from the missing font file, the printer prints a reverse question mark < instead. If you assign an ID to an SGR number that already has an ID assigned, the new assignment replaces the old one. 4.4.3 Selecting Fonts (SGR) This sequence selects a font for printing. The format for the select font sequence is as follows. CSI Ps m 9/11 *** 6/13 A SELECTING CHARACTER SETS AND FONTS NOTE: 61 You can also use the SGR sequence to select several character attrib- utes (Paragraphs 5.10). You can combine several SGR sequences by separating Ps values with semicolons. Ps Parameter Ps values in the range of 10 through 19 select the font or type family used for printing. (See Paragraph 4.4.2 for the initial SGR number assignments.) If you want to print more than 10 fonts or type families on a page, you must reassign other IDs to these SGR numbers. If you select a type family, you have two choices for the other six font attributes (type size, spacing, and so on). You can use the default values for those attributes, or you can change one or more attributes by using control sequences. If you select a specific font, all seven font attributes are already defined. So, selecting a type family gives you more options. NOTE: Some type families have both proportionally spaced and monospaced fonts. If you select a type family for proportional spacing, you must set the proportional spacing mode (Paragraph 5.2.5). The default is monospacing. You can use the select font sequence anywhere in the data stream. The selected font remains in effect until the printer receives another select font sequence or a reset to initial state (RIS) sequence (Paragraph 5.14). After a | power-up or RIS sequence, the printer uses SGR number 10. If you send an assign type family or font (DECATFF) sequence for the current SGR number, the sequence takes effect immediately. You do not have to : reselect the current SGR number. You can select an SGR number that does not have a type family ID or a font ID assigned. However, when you try to print a character from that font, the reverse question mark ¢ error character will print. 4.5 DELETING TYPE FAMILY OR FONT FILES (DECDTFF) This sequence lets you delete down-line-loaded fonts identified by a type family ID or font file ID. This sequence allows the host computer to control font memory storage. The format for the sequence is as follows. DCS Ps 9/0 *@w ~ [IDString de deded ke 7/14 e ST 9/12 62 SELECTING CHARACTER SETS AND FONTS Ps Parameter Ps identifies the ID string as a type family ID or font file ID. The printer ignores this sequence if you use any values other than 0 or 1 Ps Function 0 The ID string is a type family ID. 1 The ID string is a font file ID. The ID string identifies the type family or font to delete The type family ID is 7 characters long, and the font file ID is 31 characters. 4.6 FONT STATUS Font status sequences help the host computer to control and manage font memory. The host sends a request font status sequence, and the printer TS replies with a font status report. The report informs the host which fonts are currently available in the printer. 4.6.1 Raquest Font Status (DECRFS) The host sends this sequence to request a status report of the fonts available for printing, the memory bytes available for loading new fonts, or both. The format for the sequence is as follows. CSl Ps ; Ps “ { 911 TM 3/11 ** 2/2 7/11 , Ps Parameter | This parameter selects the type of font status requested. You can use several Ps values in the sequence. Ps Function I 0 Send both reports (same as 1 and 2). (default) 1 Send status of ROM fonts, down-line-loaded fonts, and cartridge fonts. 2 Send status of memory bytes available for down line-loaded fonts. % NOTE: If you use more than one Ps value in the DECFSR sequence, separate the values with a semicolon. If you use only one Ps value, omit the semicolon. The printer would treat the semicolon as a 0 parameter. fr SELECTING CHARACTER SETS AND FONTS 4.6.2 Font Status Report (DECFSR) 63 | The printer uses this sequence to report the font status requested. There is a separate report for the two types of status requests. The following sequences show the formats for both responses. Response to a DECRFS request with a Ps parameter of 1 DCS 1 “ { IDString ST 9/0 3/1 2/2 T7/11 *es 12 The ID string includes (in order) the type family name, the type family ID in parentheses, a colon (:), then a new line(s) with each font name. Each new type family starts on a new line after a semicolon. A blank line indicates the end of the previous family. Example type family name (type famnly ID): font file ID, font file ID; type family name (type family ID): font file ID; Response to a DECRFS request with a Ps parameter of 2 DCS 2 “ { nnn ST 9/0 3/2 2/2 7/11 ** 9/12 nnn is a dac:mal number that indicates the number of bytes available in memo- ry for down-line-loaded font files. 4.7 SELECTING FONT SIZES The following two sequences let you select the height (pomt size) and width of fonts when you select a type family ID for printing. If you also want to change the pitch (characters per inch), use the spacing pitch increment (SPI) sequence (Paragraph 5.4.1) or the select horizontal spacing (SHS) sequence (Paragraph 5.4.4). | NOTE: To use the graphic size salmtion (GSS) sequence to scale characters, you must have a font file in the printer that allows scaling. 64 SELECTING CHARACTER SETS AND FONTS 4.7.1 Graphic Size Selection (GSS) i This sequence sets the height and width of all characters in the font selected after the sequence. The GSS sequence remains in effect until the printer receives another GSS sequence or a graphic size modification (GSM) o sequence (Paragraph 4.7.2). The format for the sequence is as follows. CSI Pn SP C 9/11 TM 2/0 4/3 Pn Parameter Pn is a decimal value that specifies the height of the font in units determined by the select size unit (SSU) sequence (Paragraph 5.3). The width of the font is implicitly defined by the height. For example, the width for a 10 point font is 10 pitch. Initial value: Pn = 100. 4.7.2 Graphic Size Modification (GSM) This sequence lets you modify the height and width set by the graphmc size selection (GSS) sequence for all designated fonts (Paragraph 4.7.1). The GSM sequence remains in effect until the the printer receives another GSM or GSS sequence. The format for the sequence is as follows. CSI Pn1 ; Pn2 SP B 9/11 ** 3/11 TM 2/0 4/2 A Pn Parameters Default value: depends on the the paper size switch (Figure 1-1). Paper Size Switch Default 8-1/2 x 11 Pn1 =100, Pn2 = 100 A4 Pn1 =100, Pn2 = 83 | Pn1is a decimal value that specifies the height as a percentage of the height set by the GSS sequence. Pn2 is a decimal value that specifies the width as a percentage of the wndth set by the GSS sequence. NOTE: You can use GSM to select a different-size font from the fonts aVaila- ble in a type family. See Appendix F for an example of how to use GSM. Lol 5.1 Printing Features You Can Change 5.2 Set/Reset Mode 66 66 5.2.1 Line Feed/New Line Mode (LNM) 5.2.2 Carriage Return/New Line Mode (DECCRNLM) 5.2.3 Autowrap Mode (DECAWM) 70 5.2.4 Pitch Select Mode (DECPSM) 5.2.5 Proportional Spacing (DECPSP) 5.2.6 Origin Placement Mode (DECOPM) 5.2.7 Position Unit Mode (PUM) 5.3 Select Size Unit (SSU) 54 Spacing 5.4.2 54.3 - 72 73 74 76 77 s 77 Select Vertical (Line) Spacing (SVS) Set Vertical Pitch (DECVERP) 79 80 544 Select Horizontal (Character) Spacing (SHS) 5.4.5 Set Horizontal Pitch (DECSHORP) Page Print Area and Margins 83 5.5.1 Page Format Select (PFS) 87 5.5.2 Set Lines per Physical Page (DECSLPP) 5.5.3 Set Top and Bottom Margins (DECSTBM) 97 Set Left and Right Margins (DECSLRM) “ Active Column and Active Line Horizontal Position Absolute (HPA) 102 5.6.2 Horizontal Position Relative (HPR) 103 5.6.3 Horizontal Position Backward (HPB) 5.6.4 Vertical Position Absolute (VPA) 104 5.6.5 Vertical Position Relative (VPR) 105 5.6.6 Vertical Position Backward (VPB) 56.7 Cursor Up (CUU) 98 100 102 5.6.1 5.6.9 81 82 5.5 5.6 69 71 Spacing Pitch Increment (SPI) 5.4.1 68 104 106 106 Partial Line Up (PLU) - Superscripting 107 Partial Line Down (PLD) - Subscripting 107 65 P 66 PRINTING COMMANDS 5.7 Tab Stops 108 5.71 Set Horizontal Tabulation Stops (DECSHTS) 108 5.7.2 Setting Vertical Tabulation Stops (DECSVTS) 109 573 Tabulation Clear (TBC) 110 5.8 Product Identification (DA) 110 5.9 Printer Status 111 5.9.1 Device Status Request (DSR) 5.9.2 Device Status Report 5.10 Selecting Character Attributes 5.10.1 Underlining 5.10.2 Bold Printing 5.10.3 Italic Printing - 117 5.10.4 115 116 116 Justification (JFY) 118 5.11 Justification (JFY) 5.12 Drawing Vectors (DECVEC) 118 5.13 Reset 5.14 Initial Values and States 5.1 111 112 s 120 121 121 PRINTING FEATURES YOU CAN CHANGE This chapter describes the ANSI and ISO standard control functions you can use to control how the LNO3 processes data. You can select from several standard page formats, change line and character spacing, change margins, add and delete tabs, and perform many other functions to create your printed page. | Appendix F contains some helpful hints and examples using LN03 commands. The appendix also includes some problem-solving information. NOTE: When you power up the printer or send a reset sequence, the printer sets several control functions to an initial state. Paragraph 5.14 lists these initial states. The individual description of each control function also identifies the initial state of that function (if any). Paragraph 5.13 describes the two reset sequences. 5.2 | | SET/RESET MODE Printer modes control some basic printing features, such as wrapping text at the end of a printed line. These features have only two settings—set or reset. For example, you can set autowrap mode (wrap text at the right margin of a page) or reset autowrap mode (lose text that exceeds the right margin). Paragraphs 5.2.1 through 5.2.7 describe each printer mode and explain their functions. ORI PRINTING COMMANDS 67 You can use one sequence to turn several printer modes on or turn several printer modes off. The set and reset mode sequences use Ps parameter values to select different printer modes. There are two types of parameters for these sequences, ANSI and DEC private. When you use more than one parameter in a sequence, make sure all parameters are of the same type, all ANSI or all DEC private. A DEC private parameter string has a question mark ? (3/15) as the first character. NOTE: The number 3/15 tells you that the ? character appears in column 3, row 15 of an ASCIl character set table. See Paragraph 3.1.1 for more information. The formats for the set and reset mode sequences are as follows. Set Mode CSl Ps h 9/11 *** 6/8 Reset Mode CSl Ps ¢ 9/11 *** 6/12 Ps Parameter Ps selects the printer mode to set or reset. Each mode is described in the paragraph listed. Ps Printer Mode Paragraph Position unit mode (PUM) 5.2.7 Line feed/new line mode (LNM) 5.2.1 ANSI 11 20 DEC Private ?7 727 7?29 ?40 752 Autowrap mode (DECAWM) Proportional spacing mode (DECPSP) Pitch select mode (DECPSM) Carriage return/new line mode (DECCRNLM) Origin placement mode (DECOPM) 523 525 5.2.4 5.2.2 52.6 68 5.2.1 PRINTING COMMANDS Line Feed/New Line Mode (LNM) This mode defines the printer’'s response to the line feed (LF) control character. When line feed/new line mode is reset (off) and the printer receives the LF character, the printer advances the paper one line. The active column does not move to the left margin. , When line feed/new line mode is set (on) and the printer receives the LF character, the printer advances the paper one line and returns the active column to the left margin. The formats for the LNM sequence are as follows. Initial state: LNM reset. LNM Reset Mode csl 2 0 | 9/11 3/2 3/0 6/12 S Turns line feed/new line mode off. An LF character advances the active line only. LNM Set Mode csi 2 0 h 9/11 3/2 3/0 6/8 Turns line feed/new line mode on. An LF character advances the active line and returns the active column to the left margin. S PRINTING COMMANDS 69 5.2.2 Carriage Return/New Line Mode (DECCRNLM) This mode defines the printer’s response to the carriage return (CR) control character. When carriage return/new line mode is reset (off) and the printer receives a CR character, the printer returns the active column to the left margin without advancing the active line. When carriage return/new line mode is set (on) and the printer receives the CR character, the printer returns the active column to the left margin and advances the paper one line. The formats for the DECCRNLM sequence are as follows. Initial state: DECCRNLM reset. DECCRNLM Reset Mode cst 2 9/11 3/15 3/4 4 0 I 3/0 6/12 Turns carriage return/new line mode off. A CR character returns the active column to the left margin, without advancing to a new line. DECCRNLM Set Mode csi ? 4 0 h 9/11 3/15 3/4 3/0 6/8 Turns carriage return/new line mode on. A CR character returns the active column to the left margin and advances the paper one line. 70 PRINTING COMMANDS 2.2.3 Autowrap Mode (DECAWM) This mode determines what happens when text exceeds the right margin. When the autowrap mode is set (on) and text exceeds the right margin, the active position moves to the left margin on the next line. When the autowrap mode is reset (off) and text exceeds the right margin, the text is lost. The formats for the DECAWM sequence are as follows. NOTE: This sequence overrides the autowrap mode switch SP2-4 (Paragraph 2.4.2). A - Initial state: depends on the SP2-4 switch setting. DECAWM Set Mode cCsl 9/11 ? 7 h 3/15 3/7 6/8 Turns autowrap mode on. Text exceeding the right margin wraps to the left margin on the next line. DECAWM Reset Mode csl 9/11 2?2 7 3/15 3/7 | 6/12 Turns autowrap mode off. Text exceeding the right margin is lost. PRINTING COMMANDS 5.2.4 71 Pitch Select Mode (DECPSM) This mode controls the set horizontal pitch (DECSHORP) sequence Paragraph 5.4.5). | When pitch select mode is reset (off), the printer uses the horizontal pitch selected by the DECSHORP sequence. When pitch select mode is set (on), the printer uses the default horizontal pitch of the current font. | The formats for the DECPSM sequence are as follows. Initial state: DECPSM reset. DECPSM Reset Mode cst ? 2 9 I 9/11 3/156 3/2 3/9 6/12 Turns pitch select mode off. DECSHORP selects the horizontal pitch. DECPSM Set Mode csi 9/11 2 9 h 3/15 3/2 ? 3/9 6/8 Turns pitch select mode on. The current font determines the horizontal pitch. 72 PRINTING COMMANDS 5.2.5 Proportional Spacing (DECPSP) £ This mode is for use with proportional fonts. DECPSP lets you select proportional spacing or monospacing of characters. oG When proportional spacing mode is set, the printer uses proportional spacing based on the current font. When proportional spacing mode is reset, the printer returns to the monospacing it was using before proportional printing. The formats for the DECPSP sequence are as follows. g Initial state: DECPSP reset. Reset Mode csl 9/11 2 7 | 3/15 3/2 ? 3/7 6/12 Turns proportional spacing mode off. The printer returns to monospaced printing. Set Mode csl 9/11 2 7 h 3/15 3/2 ? 3/7 6/8 Turns proportional spacing mode on. NOTE: To use proportional spacing, you must first select a proportional font. OO PRINTING COMMANDS 5.2.6 73 Origin Placement Mode (DECOPM) This mode selects the starting point for printing on the page. You can select either the corner of the printable area or the corner of the physical page (Figure 5-4). DECOPM is a convenient method of converting any existing software that addresses the edge of the paper. When origin placement mode is reset (off), the origin is set 0.25 inches in from the upper-left corner of the physical page. When origin placement mode is set (on), the origin is set to the upper-left corner of the physical page. The formats for the DECOPM sequence are as follows. Initial state: DECOPM reset. DECOPM Reset Mode csl 9/11 2 5 3/15 3/5 2 3/2 | 6/12 Turns origin placement mode off. Printing starts 0.25 inches from the upper-left corner of the physical page. DECOPM Set Mode cst ? 5 2 h 9/11 3/15 3/5 3/2 6/8 Turns origin placement mode on. Printing starts at the upper-left corner of the physical page. 74 PRINTING COMMANDS SRR 5 5.2.7 Position Unit Mode (PUM) : This sequence selects a unit of measurement used with escape sequences that control spacing parameters. Table 5-1 lists the escape sequences affected by PUM. , | | The formats for the PUM sequence are as follows. e s Initial state: PUM reset. R PUM Reset Mode csl 1 1 | 9/11 3/1 3/1 6/12 RS Selects a spacing unit equal to one character position, called a character cell. The height of a character cell equals the current horizontal spacing increment, and the width equals the current vertical spacing increment. To set horizontal and vertical spacing, see Paragraph 5.4. PUM Set Mode Ccsi 1 1 h 9/11 3/1 3/1 6/8 Selects either decipoints or pixels, depending on the setting of the select size unit (SSU) sequence (Paragraph 5.3). R, RIS PRINTING COMMANDS - L . i . . . W s . o %:;% i} i . i L ‘.«:Z; S R T o el «.,‘fl X : L %5 0 L o i 75 76 PRINTING COMMANDS 5.3 SELECT SIZE UNIT (SSU) This sequence works with the position unit mode (PUM) sequence (Paragraph 9.2.7) to select a unit of measurement for spacing paramet ers (Table 5-1). When PUM is set, SSU selects either decipoints or pixels for a unit. If the printer receives an SSU while PUM is reset, the selected unit takes effect when PUM is set. The unit remains in effect until the printer receives another SSU or a reset sequence. | After a power-up or reset, the printer uses decipoint units. SSU sequence is as follows. CSI Ps SP | 9/11 ** 2/0 4/9 The format for the ~ R Ps Parameter Ps selects decipoint or pixel units. The printer ignores any values other or 7. than 2 | Ps Spacing Unit 2 Decipoint (1/720 inch) 7 Pixel (1/300 inch) NOTE: The printer converts decipoints (D) into pixel (P) values by using the following formula and rounding off the result to the nearest integer. DX5 A Pm 12 All arithmetic operations are performed using integer instructions. The printer converts 1 decipoint to 0 pixels and 2 decipoints to 1 pixel. i If you select decipoint units, do not use the horizontal position relative (HPR) and vertical position relative (VPR) sequences (Paragraphs 5.6.2 and 5.6.5). HPR and VPR both cause a cumulative positioning error, due to rounding. i PRINTING COMMANDS 77 This section describes five sequences that affect the spacing of lines and characters. Spacing depends on horizontal and vertical pitch. Horizontal pitch affects character spacing (characters per inch), and vertical pitch affects line spacing (lines per inch). NOTE: The spacing sequences do not affect character size. You can change horizontal and vertical pitch values with the select character spacing (SHS) and select vertical spacing (SVS) sequences, or with the spacing increment (SP1) sequence. These three sequences can use different units of measurement—character size, decipoints, or pixels. To select the unit of measurement, you use the position unit mode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). As an alternative, you can use the set horizontal pitch (DECSHORP) and set vertical pitch (DECVERP) sequences to change spacing. NOTE: The printer executes all spacing commands (except DECSHORP) when they are received. The new spacing increment takes effect inmediately. 5.4.1 Spacing Pitch Increment (SPI) This sequence sets the vertical and horizontal spacing increments for all characters that follow in the data stream. You can set one or both increments with one SPI sequence. SPI gives you maximum flexibility in adjusting character and line spacing. SPI uses dempmnts or pumls for a unit of measurement. You select the unit with the select size unit (SSU) sequence (Paragraph 5.3). SPIis not affected by the position unit mode (PUM) sequence (Paragraph 5.2.7) or by the page orientation. For example, if you set a vertical increment of 50 pixels (1/6 inch), the prmter us&s this setting for both portrait and landscape pages. You can change the SPI setting for horizontal spacmg by using one of the following s&quences e Another SPI sequence e Most combinations of the pitch select mode (DECPSM) sequence (Paragraph 5.2.4) and set horizontal pitch (DECSHORP) sequence (Paragraph 5.4.5) e A set horizontal space (SHS) sequence (Paragraph 5.4.4) 78 PRINTING COMMANDS IR SG You can change the SPI setting for vertical spacing by using one of the following sequences. ' e A set vertical spacing (SVS) sequence (Paragraph 5.4.2) e A set vertical pitch (DECVERP) sequence (Paragraph 5.4.3) The format for the SPI sequence is as follows. CSl Pni ; Pn2 SP G 911 *** 3/11 *** 2/0 4/7 NOTE: You should use SPI to set pitch. If Pn1 or Pn2 is 0 (or omitted), the printer uses the font file pitch for that setting. Pn Parameters G, Initial value: Pn1 = 0, Pn2 = 0. Pn1 selects the vertical spacing increment and Pn2 selects the horizontal spacing increment. NOTE: Parameters must be positive decimal integers. Do not use a parameter with a decimal point. The printer will ignore the command, If a position command does not precede a graphic character, then the printer S automatically places that character to the right of the previously received character. The distance between characters depends on the values af Pn1 and Pn2 in the most recent SPI sequence If you do not send an SPI, or you set the Pn1 or Pn2 value to 0, then the printer uses the default vertical and horizontal spacing for the current font. For monospaced fonts, the horizontal spacing is the same for all characters. For propor- tional fonts, the horizontal spacing is based on the widths of the characters (stored as part of the font attnbutes) AR PRINTING COMMANDS 79 5.4.2 Select Vertical (Line) Spacing (SVS) This s@quam};e selects the line spacing (vertical pitch) used with all fonts. The format of the SVS sequence is as follows. 9/11 e 2/0 4/12 Ps Parameter | | Ps selects the vertical pitch and vertical character position unit. Figure 5-1 shows an example of different vertical pitches. ~ Vertical Pitch Positioning Unit 6 lines per inch 1/6 inch (default) 4 lines per inch 1/4 inch 3 lines per inch 1/3 inch 12 lines per inch 1/12 inch 8 lines per inch 1/8 inch 6 lines per 30 mm 5 mm 4 lines per 30 mm 7.5 mm 3 lines per 30 mm 10 mm 12 lines per 30 mm 2.5 2 lines per inch 1/2 inch LINES SHOULD BE mm PRINTED PER INCH LINES PER INCH LINES PER INCH PER INCH PER INCH LINES PER INCH LINES PER LINES SHOULD BE PRINTED AT THESE LINES SHOULD BE PRINTED AT LINES THESE THESE LINES SHOULD BE PRINTED SHOULD SHOULD BE PRINTED AT AT LINES LINES BE ]PI‘IIWQPE“)s AT THESE THESE LINES LINES THESE EiE:, 'SHOULD THESE LINES 'SHOULD THESE THESE LINES LINES SHOULD SHOULD BE PRINTED AT PRINTED BE PRINTED BE BE PRINTED AT PRINTED AT WO THESE &£ THESE LINES SHOULD BE PRINTED AT LINES ORI AT D THESE - Vertical Character b ©CoOoO~NOOSE,WN -0 Ps INCH LINES PER INCH LINES PER INCH LINES- PER INCH INCH LINES PER LINES PER INCH MA -1127-85 Figure 5-1 Vertical Pitch Example 80 5.4.3 PRINTING COMMANDS Set Vertical Pitch (DECVERP) This sequence selects the number of lines printed per inch on a page. When you change the vertical pitch, the white space between lines changes. For O example, if you increase the number of lines printed per inch, you decrease the amount of white space between the lines. Vertical pitch does not affect character size. | Unlike some Digital printers, the LNO3 printer does not reset the top and bottom margins to the limits of the printed page after receiving a DECVERP sequence. However, DECVERP does change the position of the current vertical tabs. Each vertical tab stop value is multiplied by the new line height divided by the old line height. This method keeps a constant number of lines between vertical tabs. Print lines set by vertical tabs will move up or down according to the DECVERP value. The format for the DECVERP sequence is as follows. CSl Ps z 9/11 ** 7/10 Ps Parameter Ps selects the vertical pitch (lines per inch). Ps Pitch 0 Determined by current font. (default) - O NDWN = (The DEC built-in-1 font selects 6.25 lines/inch) 6 | 8 12 2 3 4 Selects pitch to fit 66 lines on 8-1/2 X 11 paper. For the LNO3 printer, selects 6.25 lines/inch. This setting is not affected by the DECSLPP sequence (Paragraph 5.5.2) or the page size. G, R PRINTING COMMANDS 5.4.4 81 Sefiect Horizontal (Character) Spacing (SHS) This sequence selects the character spacing (horizontal pitch) and character size for fixed-width (monospace) fonts. SHS has no effect on proportional fonts when you use proportional spacing(Paragraph 5.2.5). The format of the SHS sequence is as follows. CSI Ps SP K 9/11 * 2/0 4/11 Ps Parameter Ps selects the horizontal pitch and the horizontal character position unit. Figure 5-2 shows an example of different horizontal pitches. Horizontal Character Ps Horizontal Pitch Position Unit 0 10 characters per inch -1/10 inch (default) 1 12 characters per inch 1/12 inch 2 15 characters per inch 1/15 inch 3 6 characters per inch 1/6 inch | |1 5 characters per inch | 6 characters per inch; | 6.6 characters per inch; | 8.25 characters per inch; |10 characters per inch; |12 characters per inch; |13.3 characters per inch; |16.5 daracters per indh; MA-1128-85 Figure 5-2 Horizontal Pitch Example ; 82 PRINTING COMMANDS 5.4.5 Set Horizontal Pitch (DECSHORP) This sequence selects the character width and character spacing for fixedwidth (monospace) fonts. To set character width, DECSHORP selects a hori- i zontal pitch (the number of characters printed per inch on a line). The pitch select mode (DECPSM) controls the execution of the DECSHORP sequence (Paragraph 5.2.4). When DECPSM is set, the printer uses the horizontal pitch of the current font. When DECPSM is reset, the printer uses the horizontal pitch selected by the last DECSHORP. DECPSM lets you switch between the DECSHORP value and the current font value. Changing the horizontal pitch changes the white space around characters. Figure 5-2 shows an example DECSHORP also changes the following settings. e Resets the left and right margins to the printable limits. e Resets the line home and line end posmons to the printable limits (Paragraph 5.5.1) e Changes current horizontal tab stops. Each tab stop value is multiplied by the new horizontal pitch divided by the old horizontal pitch. This process keeps a constant number of character widths between tab stops. Both DECSHORP and DECPSM change the print positions set by tab characters. The format for the DECSHORP sequence is as follows. CSlI Ps w 9/11 ** 77 S PRINTING COMMANDS Ps Parameter 83 , Ps selects the horizontal pitch (characters per inch). © Determined by current font. (default) ] (Characters per Inch) ©CoOoO~NOOOEL,WOWN -0 Horizontal Pitch 10 | 12 13.2 16.5 5 6 6.6 8.25 15 ~ 5.5 PAGE PRINT AREA AND MARGINS Two factors define the size of your printed page. e The printer's scanning limitations determine the maximum printable area on a page. | e The margins determine the actual printable area on a page. The LNO3 can scan an area of 2400 pixels by 3400 pixels, or 8 inches by 11.3 inches. For portrait printing, the top scan line is 0.25 inches from the top of the paper. All scan lines start 0.25 inches from the left edge of the paper. For landscape printing, the top scan line also starts 0.25 inches from the top of the paper. However, all scan lines stop 0.25 inches from the right edge of the paper. DT 84 PRINTING COMMANDS R Figure 5-3 shows the two types of printing orientation. Table 5-2 lists the maximum form length in pixels for each orientation. Figure 5-4 shows the different printed page areas you can select, using the origin placement mode L (DECOPM) sequence (Paragraph 5.2.6). The initial values for page printing (Paragraph 5.14) produce the following page [ R areas for ROM-resident fonts. Initial Page Areas Landscape font 66 lines per page R 132 characters per line Portrait font 66 lines per page 80 characters per line e ot O B A B B e o PRINTING COMMANDS ORIGIN —————t» Y o HORIZONTAL DIRECTION LANDSCAPE ORIENTATION X (8.5in. X 11.0 in. STANDARD) DIRECTION DEFAULT® - ORIGIN X > HORIZONTAL DIRECTION PORTRAIT ORIENTATION {8.5 in. ')( 11.0in. STANDARD) (8.26 in. X 11.7 in. — A4) v VERTICAL DIRECTION BOTTOM EDGE MA-1492-8B4 Figure 5-3 Page Printing Orientation 85 AN PRINTING COMMANDS 86 A P25 0n. e et T .25 in. Y. TN| 41 ORIGIN | 8.0 in. 10.76 in. e PORTRAIT B.5 X11.0 INCHES OPM SET = 2400 PIXELS = 3225 PIXELS m WITHIN DOT‘TED/{( PRINTED AREA Bl NS ORIGIN 26 in|| I I | I : : B.0 in, | |~ PORTRAIT 11.0 in. = 2400 PIXELS | 8.5 X 11.0 INCHES , | = 3150 PIXELS | | I ‘ | | | e e s e _ |11.0in. | 10.5 in. | OPM RESET K « R | JR | LINES RS .25 in, - 'Q"‘ e N 0 | k | | I 8.0in, PORTRAIT A4 | | -=2400 PIXELS | | I | ORIGIN | | i PORTRAIT A4 l 8.0 in, | = 2400 PIXELS OPM SET 25 in.| OPM RESET | : 11.33 in. = 3400 PIXELS I t |1 =3225 PIXELS THIS EDGE 1S " THIS EDGE | THE SAME AS | O 11.01n ig: “““““ - - ) t} LANDSCAPE | 10.5in. l = 3150 PIXELS | | OPM RESET || : 85X 11.0 INCHES | TM 8.5 in. 8.0 in. =2400 PIXELS S I ORIGIN 25 in. 10.75 in. l 9 4ol 250n. . 25 N, o | | = 3400 PIXELS Lo oo e Y ; 11.33 in. ! i J 8.5 X 11.0 INCHES ORIGIN | g | LANDSCAPE | | | | OPM SET 'K"'\"‘”"‘”””l”‘“"‘“‘”“‘! ] i 80in. i | = 2400 PIXELS ' | | | focos oo o, — —— oo o - S——— a——_— e " P e e —— e e e — I e T e, 25 in [ .25 in, LANDSCAPE Ad OPM SET - | i i i | oo— vo——— w— - G W OO OO i ‘ L =3400 PIXELS 8.0 in. =2400 PIXELS I i | l > 4 8.26 in. ‘ | | | l I B oo o oo 1 | i I- k | =2400 PIXELS | | =3400PIXELS r OPM RESET | l o 8.0 in. . 8.26 in. t B | I omon moin. oo v e ol o o o — o——e - o] WA Figure 5-4 T | LANDSCAPE | 113300 I | gy ,2515:, r\omgw | 11.33 in, 11.7in e o o o o = a ORIGIN r ! o 1490 -84 SRR Page Printing Area s PRINTING COMMANDS 87 Changing the »Pfinting Area There are two methods you can use to change the printing area. 1. You can set the printed page to one of several predefined formats with the page format select (PFS) sequence (Paragraph 5.5.1). 2. You can changa the page margins and the number of lines per page with the following sequences. Set lines per physical page (DECSLPP, Paragraph 5.5.2) Set top and bottom margins (DECSTBM, Paragraph 5.5.3) Set left and right margins (DECSLRM, Paragraph 5.5.4) By using the PFS sequence, you can set your page format with one command. 5.5.1 Page Format Select (PFS) This sequence lets you select a page format from a list of standard formats. The PFS formats set the following parameters. e Origin — This is always set 0.25 inches down and in from the upper-left corner of the page. Print orientation Top, bottom, left, and right margins Line home, line end, page home and page end positions (defined below) Form length - The printer uses the format you select until you change the format. There are two ways you can change a PFS format. 1. Send another PFS sequence. 2. Change the margins or lines per page (Paragraphs 5.5.2 through 5.5.4) The line home position is the active position after a carriage return (CR). The line home position and /ine end position serve as the left and right edges of the printed page for justified text (Paragraph 5.11). A CR may move the active position forward or backward in order to reach the line home position. A, 88 PRINTING COMMANDS R The page home line is the active line after a form feed (FF). The index (IND), next line (NL), and CR (in carriage return/new line mode) characters all cause a form feed when they pass the page end line. You should use the vertical position absolute and relative (VPA and VPR) sequences to move below the page end line (Paragraphs 5.6.4 and 5.6.5). If a line feed (LF) passes the page end line, then the printer prints the current page and performs an FF to get to the next page. Public and Private Parameters PFS has two types of parameter values, public and DEC private. Public parameters are defined by ANSI and have a value in the 0 through 7 range. The DEC private parameters are defined by Digital and start with a question mark ? (3/15) character. The format for the PFS sequence is as follows. CSI Ps SP J /11 ** 2/0 4/10 B Ps Parameter Initial value: Ps = 7?20 Default value: Ps = 0 T — Ps selects 1 of 12 page formats. These formats are divided into two types, a normal page format and an extended page format. In normal format, the page home line is 1/2 inch below the top margin and the page end line is 5/6 inch above the bottom margin. I In extended page format, the page home line is at the top margin and the page end line is at the bottom margin. NOTE: If you select a portrait (tall) format, you should also select a portrait font. Likewise, if you select a landscape (wide) format, you should select a P landscape font. sualliamonimisy; PRINTING COMMANDS 89 Format Description Ps OhWOWN = O Normal Page Formats ~ Tall text communication (default) Wldfl text cammumcatwn Tall A4 (210 mm X 297 mm) Wide A4 Tall North American (NA) letter Wide North American letter Extended xPage Formats 6 Tall A4 7 Wide A4 220 721 722 723 Tall North American DEC private (initial) Wide North American DEC private Tall A4 DEC private Wide A4 DEC private Tables 5-3 s@howsy the printable area selected by each PFS format. The text area is for justified text. Table 5-4 shows the pixel values set for the margins and page positions. Table 5-5 shows some typical page formats (lines per page and characters per line) cmamd with PFS and the spacing sequences(Paragraph 5.4). You use the spacing smuenc&s to select lines per inch and characters per inch. S 90 PRINTING COMMANDS AR R R RN R o Y RO PRINTING COMMANDS >" - e L " b £ ot i i Gt i I o . fi%fi- i i ¢ . et o . -~ . - . i . v - sy s . = . , L 2 o ‘ . 91 A o téTz&c o m&x M ey. . «Y- 5,' . R Vrorm., o L o O, oAm”.W/mfi%i ,-mw m=.&WflflWw w»-m ,vo mnw%,fi S mfiv o,).%.fMie- .um&« S = = %‘- S8e=-o o n.fl.fl.mv“ o i v&v« MflMu % . -m.,.S. ,fi;&.&e mw.%fmw{%L.:A % S i 5&6 < T &i\ S B 0 O AT i SRS R AP SOOI PRINTING COMMANDS 93 PFS Examples 1. Selecting a compatible font You should select an appropriate size font for the printing orientation you are using, portrait or landscape. The foliowing examples show some typical selections, using three sequences: PFS, font select (SGR, Paragraph 4.4.3), and set top and bottom margins (DECSTBM, 5.5.3). For This Page Format... Use These Sequences 8.5-inch x 11-inch paper Portrait (80 columns) PFS: CSiI ?20 SP J DEC built-in-1 font SGR: CSI 10 m 66 lines DECSTBM: cCsSil1 ; 667 Landscape (132 columns) PFS: CSl 721 SP J Courier 6.7 point font SGR: CSI 15 m 66 lines DECSTBM: CsSi1 : Portrait (132 columns) DEC built-in-1 font PFS: SGR: CSl 722 SP J CSI 10 m 70 lines DECSTBM: csSil1 66 A4 paper : 70r The following examples compares two procedures. The left column is for the LNO3 printer. The right column is for previous Digital printers. Both procedures list a series of escape sequences to use, the correct parameter values for Lo those sequences (in parentheses), and the effect of each sequence. LNO3 Printer Previous Digital Printers . Reset the printer. RIS DECSTR (Para. 5.13) DECSTR Has no effect in old printers. 94 PRINTING COMMANDS LNO3 Printer 2. Previous Digital Printers Set page format. DECVERP (2) Selects 8 lines per inch. Sets size unit for the following DECSLPP sequence. DECSLPP (68) Selects 68 lines for an 8-inch form length. Declares 8.5-inch page length (similar to PFS). DECHPWA (0 ; 120) Sets printable area to 10 inches, with 0.25-inch left margin and 0.75-inch right margin. PFS (Para. 5.5.1) PFS (?21) (?21) Selects 8.5-inch page Has no effect. length (like DECSLPP). Selects 11-inch page width (like DECHPWA). 3. Set type size, character proportion, and spacing. DECSHORP (3) Selects 13.2 characters/inch. Sets type size to 10 point. Sets character proportion to 100 x (10/13.2) percent, which yields 13.2 characters/inch. PRINTING COMMANDS LNO3 Printer Previous Digital Printers GSM (Para. 4.7.2) GSM (100 ; 76) (100 ; 76) Does not change type size. Has no effect. 95 | Sets character proportion to 100 x (10/13.2) = 76 percent, rounded to the next highest integer. SPI (Para. 5.4.1) SPI (87 ; 54) (87 ; 54) Sets character position units Has no effect. to the largest values that provide at least 132 columns. in 10 inches (54 decipoints) and 66 lines in 8 inches (87 decipoints). NOTE: The 54 parameter value creates 133 character positions per line. A 55 value would create 130 character positions. On the LNO3 printer, 54 decipoints becomes 22 pixels, which creates 136 columns. The 87 parameter value creates 66 lines per page. On the LNO3 printer, when 87 decipoints become 36 pixels, there are still only 66 lines. 4. Set the margins. DECSLRM (Para. 5.5.4) DECSLRM (5 ; 136) (5 ; 136) Selects first 132 columns for Same. printing. DECSTBM (Para. 5.5.3) (1 66) Selects first 66 lines for printing. DECSTBM (1; 66) Same. 96 PRINTING COMMANDS LNO3 Printer Previous Digital Printers Clear and set tab stops. B TBC (Para. 5.7.3) TBC (4) (4) DECSVTS (Para. 5.7.2) DECSVTS Clears all vertical tab stops. R Same. 9;17 ;25 ; 33 ; (9;17 ;25 ;33 ; 41 ; 49 ; 57 ; 65) 41 ; 49 ; 57 ; 65) Sets vertical tab stops that Same. fall within margins. TBC (Para. 5.7.3) TBC (3) (3) Clears all horizontal tab stops. Same. DECSHTS (Para. 5.7.1) DECSHTS (917 ;25 ;33 ;41 ; 49; (9;17 ;25 ;33 ;41 ; 49 ; 57 ;65;73;81;89;97; 57 ;65;73;81:89;97: 105 ;113 ; 121 ; 129) 105 ; 113 ; 121 ; 129) Sets standard (8-column) Same. OO horizontal tab stops that fall within margins. R R PRINTING COMMANDS 97 5.5.2 Set Lines per Physical Page (DECSLPP) This ”sequerm?edafims the form length. The maximum form length depends on the setting of the paper size switch, the origin point for page coordinates (Paragraph 5.2.6), and the page orientation. m form ner of the paper, the maximu er-left cor If the origin is set to the upp s lengths are e 3225 pixels for 8.5-inch X 1 1-inch paper and e 3400 pixels for A4 paper. If the origin is set to the upper-left corner of the printable area, the maximum | | form lengths are e 3150 pixels for 8.5-inch x 11-inch paper and e 3400 pixels for A4 paper. DECSLPP sets the top margin to 1 and the bottom margin to the form length. In general, the form length limits the range of possible settings for the set top and bottom margins (DECSTBM) sequence. The format for the DECSLPP sequence is as follows. CSI Pn t 9/11 ** 7/4 | Pn Parameter Initial value: Pn = 0. Pn sets the form length within the limits described above. If the Pn parameter is 0, or if Pn is greater than the maximum size for the paper and origin, then the form length is set to the maximum for the paper and origin. The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). If you use character cells, the height of each cell equals the current line-height setting. You can change the line height by changing the vertical spacing (Para- graph 5.4). 98 PRINTING COMMANDS 5.5.3 Set Top and Bottom Margins (DECSTBM) | R This sequence sets the top and bottom margins and the page home line. These settings are relative to the current origin point for page coordinates (Paragraph 5.2.6). The top vertical margin specifies the first printable line on a page. The bottom vertical margin specifies the last printable line. These margins are called hard margins, because you cannot print outside the area defined by the margins. NOTE: You can use the drawing vectors (DECVEC) sequence to draw lines outside the margins. See Paragraph 5.12. The page home line specifies where a form feed (FF) positions the first printa- ble line on the page. R s The format for the DECSTBM sequence is as follows. CSI Pn1 ; Pn2 r 9/11 * 31 TM 7/2 Pn Parameters Initial value: depends on the paper size switch. Paper Size Switch Initial Value 8-1/2 x 11 Pn1 =1, Pn2 = 66 A4 Pn1 =3, Pn2 = 69 Pn1 sets the top margin and page home line. Pn2 sets the bottom margin. If the first parameter is greater than the second parameter, the printer ignores the sequence. RO The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). s PRINTING COMMANDS 99 If you use character cells, the height of each cell equals the current line-height setting. You can change the line hwght by changing the vertical spacing (Paragraph 5.4). NOTE: Marin settings are relative to the current origin point (Paragraph 5.2.6). | Margin settings take effect Whan received. The printer sets margins exactly where specified, with the following exceptions. e If Pn1is O or omitted, the top margin is unchanged, ~ e If Pn2 is 0 or omitted, the bottom margin is unchanged. e If Pn2 is greater than the form length, the bottom margin is set at the bottom of the form. e If the sequence tries to set the top ma‘rgin below the bottom margin, the command is ignored. If the active position is less than the the new top margin, the active position is set to the new top margin. If the active position is greater than the new bottom margin, the next attempt to print a character causes a form feed (FF). NOTE: When you change the form length, the printer (1) clears the top and bottom margins, and (2) sets the top margin to 1 and sets the bottom margin to the form length. Margins measured from the edge of the paper may vary by plus or minus 1/16 inch, due to paper ahgnment tolerances. Example Assume Pn1 has a value of 300 (pixels) and Pn2 has a value of 3000 (puxeis) e |f the (,yojfl'igin,!point is' at the comar of the paper, the printer sets the top margin 1 inch from the top of the paper and the bottom margin 10 inches from the top of the paper. e If the origin is at the top corner of the printable area, the printer sets the top margin 1.25 inches from the top of the paper and the bottom margin 10.25 inches from the top of the paper. S 100 5.5.4 PRINTING COMMANDS Set Left and Right Margins (DECSLRM) This sequence sets the left and right margins and the line home position. The left horizontal margin specifies the first printable position on a line. The right [ horizontal margin specifies the last printable position on a line. The line home position specifies where a carriage return (CR) moves the active column. g These margins are defined as hard margins, because you cannot print outside the area defined by the margins. There are two exceptions. 1. You can use the drawing vectors (DECVEC) sequence to draw lines outside the margins (Paragraph 5.12). T 2. If you are justifying text (Paragraph 5.11), but the spacing between words is less than the minimum specified width of the space character, the text is printed unjustified. This text will exceed the right margin. | The format for the DECSLRM sequence is as follows. CSi Pn1 . Pn2 S 9/11 ** 3/11 ** 7/3 Pn Parameters SO Initial value: Pn1 = 1, Pn2 = 80. Pn1 sets the left margin and line home position. Pn2 sets the right margin. If the first parameter is greater than the the second parameter, the printer ignores the sequence. The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). If you use character cells, the width of each cell equals the current character- width setting. You can changa charac’ter width by changmg the horizontal spacing (Paragraph 5.4). O PRINTING COMMANDS 101 - Margin settings take effect when received. The printer sets margins exactly where specified, with the following exceptions. e If Pn1 is 0 or omitted, the left margin is unchanged. e |f Pn2 is 0 or omitted, the right margin is unchanged. e If Pn2 is greater than the printable width, the right margin is set to the right printable limit. e |f the sequence tries to set the left margin to the right of the nght margin, the printer ignores the sequence. If the active position is less than the new left margin, the active position is set to the new left margin. If the active position is greater than the new right margin, the next attempt to print a character causes a carriage return and line feed (CR LF). Example Assume Pn1 has a value of 450 (pixels) and Pn2 has a value of 2100 (pixels). e If the origin point is the top corner of the paper (Paragraph 5.2.6), the printer sets the left margin at 1.5 inches and the right margin at 7 inches from the left edge of the paper. e |If the origin point is the top corner of the printable area, the printer sets the left margin to 1.75 inches and the right margin to 7.25 inches from the left edge of the paper. T 102 PRINTING COMMANDS 5.6 ACTIVE COLUMN AND ACTIVE LINE The active column and active line represent an absolute position on the paper where the next character prints. The following control functions use the active position as a reference point. The following sequences set column positions. Horizontal position absolute (HPA) Para. 5.6.1 Horizontal position relative (HPR) Para. 5.6.2 Horizontal position backward (HPB) Para. 5.6.3 The following sequences set the line positions. Vertical position absolute (VPA) Para. 5.6.4 Vertical position relative (VPR) Para. 5.6.5 Vertical position backward (VPB) Para. 5.6.6 Cursor up (CUU) Para. 5.6.7 The following sequences set half-line increments for superscripting and subscripting. AT Partial line up (PLU) Partial line down (PLD) | : Para. 5.6.8 i Para. 5.6.9 The next line (NEL), reverse index (Rl), and index (IND) control characters also move the active position. (See Table 3-2.) 5.6.1 Horizontal Position Absolute (HPA) This sequence selects the active column on the active vertical line. If you try to move the active column to the right of the last position on the line, the active position stops at the last position on the line. The format for the HPA sequence is as follows. CSI Pn 9/11 ** 6/0 Pn Parameter Pn is the new active column. The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). PRINTING COMMANDS 103 If you use character cells, the width of each cell is equal to the current charac- ter-width setting. You can change character width by changing the horizontal spacing (Pamgraph 5.4). , Default value: Pn = 1. 5.6.2 Horizontal Position Relative (HPR) This sequence moves the active column by adding Pn to the current active column. If you try to move the active column to the right of the last position on the line, the active position stops at the last position on the line. The format for the HPR sequence is as follows. CSI Pn 911 a 6/11 Pn Parameter Default value: Pn = 1. Pn is the value added to the current active column. The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) sequ@nces (Paragrapns 5.2.7 and 5.3). If you use character cells, the width of each cell equa&srtmr current characterwidth setting. You can change character width by changing the horizontal spacing (Paragraph 5.4). NOTE: If you select decipoints and send the HPR sequence with a Pn value of 1, the active position will not move. The printer converts 1 decipoint to 0 pixels. (See Paragraph 5.3.) ~ 104 PRINTING COMMANDS 5.6.3 Horizontal Position Backward (HPB) This sequence moves the active column backward by subtracting Pn from the current active column. If you try to move the active column to the left of the first position on a line, the active position stops at the first position. The format for the HPB sequence is as follows. CSI Pn | 9/11 ** 6/10 B Pn Parameter " Default value: Pn = 1. Pn is the value subtracted from the current active column. The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). If you use character cells, the width of each character cell equals the current character-width setting. You can change character width by changing the horizontal spacing (Paragraph 5.4). 5.6.4 Vertical Position Absolute (VPA) This sequence selects the active line without changing the current active col- umn. If you try to move the active line below the bottom line, the active position stops at the bottom. The format for the VPA sequence is as follows. CSlI Pn d 9/11 *** 6/4 Pn Parameter Default value: depends on the paper size switch. Paper Size Switch Default Value 8-1/2 x 11 Pn =1 A4 Pn=3 . PRINTING COMMANDS 105 Pn is the new active line at the current active column. The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unitmode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). If you use character cells, the height of each cell equals the current line-height setting. You can change the line height by changing the vertical spacing (Paragraph 5.4). NOTE: If Pn is less than the current active line, the active line moves back- ward on the current page. 5.6.5 Vertical Position Relative (VPR) This sequence moves the active line by adding Pn to the current active line. If you try to move the active line below the bottom line, the active position stops at the bottom line. The format for the VPR sequence is as follows. CSI Pn e 9/11 *** 6/5 Pn Parameter Default value: Pn = 1. Pn is the value added to the current active line. The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) saquancas (Paragraphs 5.2.7 and 5.3). If you use character cells, the height of each cell equals the current line-height setting. You can change the line height by changing the vertical spacing (Paragraph 5.4). NOTE: |If you select decipoints and send the vertical relative position sequence with a Pn value of 1, the active position will not move. The printer converts 1 decipoint to 0 pixels. (See Paragraph 5.3.) If PUM is set (decipoints or pixels selected), you have to adjust for the offset between the top of characters and the baseline. 106 5.6.6 - PRINTING COMMANDS Vertical Position Backward (VPB) This sequence moves the active line backward by subtracting Pn from the current active line. The active column does not change.lf you try to move the LT active line above the top line, the active position stops at the top line. The format for the VPB sequence is as follows. CSI Pn k 9/11 ** 6/11 ARSI Pn Parameter Default value: Pn = 1. Pn is the value subtracted from the current active line. The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). OB If you use character cells, the height of each cell equals the current line-height setting. You can change the line height by changing the vertical spacmg (Paragraph 5.4). 5.6.7 T , Cursor Up (CUU) This sequence moves the active line up Pn lines without changing the active column. If you try to move the active line above the top line, the active position stops at the top line. The format for the CUU sequence is as follows. CSI Pn A 9/11 * 4N Pn Parameter Default value: Pn = 1. g Pn is the number of lines that the active line moves up at the current active column. PRINTING COMMANDS 5.6.8 107 Partial Line Up (PLU) - Superscripting This sequence lets you print superscript characters. The PLU sequence moves the active position up a predefined distance. The distance moved is one-half a vertical line increment, as determined by the currently selected font. The partial line down (PLD) sequence returns the active position to the previ- ous baseline. Other positioning sequences will also move the active position. The format for the PLU sequence is as follows. PLU 8/12 5.6.9 Partial Line Down (PLD) - Subscripting This sequence lets you print subscript characters. The PLD sequ&nce moves the active position down a predefined distance. The distance moved is one-half a vertical line increment, as determined by the currently selected font. The partial line up (PLU) sequence returns the active position to the previous baseline. Other positioning sequences will also move the active position. The format for the PLD sequence is as follows. PLD 8/11 NOTE: If the active position is near the top margin when you send PLU (or the bottom margin when you send PLD) and the margin is not set to the edge of the printable area, the superscripted (or subscripted) character may exceed the margin. Although the character exceeds the margin, the complete character cell will print; the printer does not clip the character at the margin. However, if the top margin is at the edge of the printable area, supersonpt characters do not print; the printerleaves a blank space. 108 PRINTING COMMANDS 5.7 TAB STOPS | A tab stop is a preselected point that the active position moves to when you send a tab control character (F’aragraph 3.3). The active posntuom is where the RO next character prints. You can set horizontal and vertical tabs. Setting a tab already set has no effect; the same is true for clearing a tab already cleared. Tabs are set relative to the current origin point for printing (Paragraph 5.2.6). Also, tabs are set at the selected position, regardless of margins. You can set tabs with the following two sequences. SOAORIN 5 Set horizontal tabulation stops (DECSHTS) Set vertical tabulation stops (DECSVTS) Para. 5.7.1 Para. 5.7.2 You can clear tabs with the following sequence. R Tabulation clear (TBC) 5.7.1 | Para. 5.7.3 Set Horizontal Tabulation Stops (DECSHTS) This sequence lets you select up to 16 horizontal tabs at one time. A horizontal tab is a preselected point on a line. When the printer receives a horizontal tab (HT) control character, the active position moves to the next horizontal tab. There are 32 possible horizontal tab stops, and you can set each tab independently. The format for the DECSHTS sequence is as follows. CSi 9/11 Ph e Pn Parameter : 311 ... ; 311 Pn u N B 75 S Each Pn is a selected horumntal tab stop. You can select up to 16 tabs in one sequence. The Pn values may be in any order in the escape sequence. The uni{ of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). If you select character cells, the width of each cell equals the current characterwidth setting. You can change character width by changing the horizontal | spacing (Paragraph 5.4). I PRINTING COMMANDS 109 When the number of new tab settings is more than the number of available positions you can assign, the printer sets the new tabs as follows. The printer inserts each new tab stop value into the current tab stop list, starting after the old tab stop with the next lower value. If more than the allowed number of tab stops have been set, the printer discards the old tab stop with the highest value before entering each additional new tab stop. If the new tab stop has the highest value and the allowed number of tab stops has been set, then the printer ignores the new tab stop. HINT: Use half as many tab settings for proportional spacing. This makes it easier to position the printer correctly at the next column. 5.7.2 Setting Vertical Tabulation Stops (DECSVTS) This sequence lets you set up to 16 vertical tabs at one time. A vertical tab is a preselected position that the active position moves to when the printer receives a vertical tab (VT) control character. The printer has 67 possible vertical tab positions. You can set each tab independently. The format for the DECSVTS sequence is asfollows. | | ¢Sl Pn : .. : Pn v 9/11 ** 311 .. 3/11 ** 7/6 Pn Parameter Each Pn is a selected vertical tab stop. You can select up to 16 tabs in one sequence. The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). If you use character cells, the height of each cell equals the cUrrent line-height setting. You can change the line height by changing the vertical spacing (Paragraph 5.4). The printer sets vertical tab stops at the selected positions. New tab stop values are added to the current tab stop list, starting with the lowest value. If you exceed 67 tab stops, the printer stores the flrst 67 tab stops and discards the highest-value tab stops. 110 PRINTING COMMANDS AR Tabulation Clear (TBC) 5.7.3 This sequence clears one or all horizontal or vertical tabulation stops. The format for the tabulation clear sequence is as foliows. csl Ps 9/11 ** g 6/7 A PR Ps Parameter Ps is a decimal value that selects which tab stops to clear. Ps Action 0 Clear one horizontal tab stop at active column. 1 Clear one vertical tab stop at active line. 2o0r3 Clear all horizontal tab stops. 4 Clear all vertical tab stops. 5.8 PRODUCT IDENTIFICATION (DA) The host computer sends a device attributes (DA) sequence to request a device's product identification. The printer automatically sends its product identification after receiving a DA sequence. There are two formats for the DA sequence from the host. R CSi 9/11 ¢ or 6/3 CSIi 9/11 0 c 3/0 6/3 I The printer responds to the DA sequence by sending one of the following identifying sequences. You select the response by setting configuration switches SP2-2 and SP2-3 (Paragraph 2.4.2). Switch Setting Sequence Set for LNO3 ID response. cCSI 2 2 6 c 9/11 6/3 3/2 3/6 6/3 csi 9/11 ? 1 3 ¢ 6/3 3/1 3/3 6/3 Set for LQP02 ID response. , csl ? 1 0 c Set for LA100 ID response. 9/11 6/3 3/1 3/0 6/3 | o PRINTING COMMANDS 111 5.9 PRINTER STATUS The printer uses device status reports to inform the host computer about the printer's operating status, including errors. The host can request two types of status reports, brief and extended. NOTE: For information on font status reports, see Paragraph 4.6. 5.9.1 Device Status Request (DSR) The host uses the following sequences to request an extended printer status report, request a cursor position report, and enable or disable unsolicited printer status reports. Sequence Request CSI n Send an extended status report. 9/11 6/14 cst 0 n 3/0 6/14 9/11 Send an extended status report. CSl 6 n Send a cursor position report 9/11 3/6 6/14 (active column and active line). cst ? 1 9/11 3/15 3/1 cslt 2 2 9/11 3/15 3/2 n 6/14 Disable all unsolicited status reports from printer. n Enable brief, unsolicited status 6/14 reports and send an extended status report. cst ? 9/11 3/15 3/3 3 n Enable extended, unsolicited status 6/14 reports and send an extended status report. NOTE: The printer sends unsolicited reports only when an error occurs. The printer does not report errors that occur before you enable unsolicited reports. For more information, see Paragraph 5.9.2. 112 PRINTING COMMANDS 5.9.2 Device Status Report The printer can send brief and extended status reports (solicited or unsolicit- ed), as well as the cursor position report. The printer sends unsolicited reports (if enabled) when a change occurs in any reportable status condition. Unsolicited status reports are initially disabled. NOTE: Unsolicited reports are always sent after the current page. When errors occur on a page, the unsolicited report lists each type of error only once—even if an error occurred several times on that page. | It would be time consuming and redundant to send reports throughout a page, for each occurrence of an error. Also, it is easier for applications to handle reports in one place—after a page is printed. Device Status Report (Brief) The formats for the brief status reports are as follows. Sequence Meaning cst 0 n 9/11 3/0 6/14 No malfunction detected. followed by cst 2 9/11 3/15 2 0 n 3/2 3/0 6/14 Device Status Report (Extended) For extended status reports, the printer sends two sequences—one of the brief sequences, followed by a longer sequence. The formats for the extended status reports are as follows. Sequence Meaning csi 0 n 9/11 3/0 6/14 No malfunction detected. followed by cst ? 9/11 3/15 2 0 n 3/2 3/0 6/14 PRINTING COMMANDS Meaning Sequence n CSli 9/11 3/3 113 Malfunction detected. 6/14 ollowed by | CSl /11 Pn 3/15 fi*w ;.. Pn n Fek 6/14 Pn Parameter Each Pn value is an error code of up to three digits. Tal le 5-6 lists the error codes. The printer § reports error codes in pairs—a generic code, followed by a specific code. NOTE: The ?(3/15) occurs only once per DSR sequence. . ,{y ¢ i ,&'fl i . Lo . . L . . o . L PRINTING COMM ANDS P — SO SN SRR -o Lo = . . ‘ e SO Ll e . R - - - -- E o . 114 = R e DA o PRINTING COMMANDS 115 Cursor Position Report The format for the cursor position report is as follows. csl Pni 911 : ** 3/11 Pn2 ** R 5/2 Pn Parameters Pn1 is the active line and Pn2 is the active column. The unit of measurement can be character cells, decipoints, or pixels. You select the unit by using the position unit mode (PUM) and select size unit (SSU) sequences (Paragraphs 5.2.7 and 5.3). 5.10 SELECTING CHARACTER ATTRIBUTES You can select four different character attributes by using select graphic rendi- tion (SGR) sequences. Character attributes let you highlight your printed text. Underlining Para. 5.10.1 Bold printing Para. 5.10.2 Italic printing Para. 5.10.3 Strike through Para. 5.10.4 NOTE: The strike-through attribute is often used in legal documents, to indi- cate words deleted from a previous version of the document. The four character attribute sequences and the select font sequence (Para- graph 4.3.3) use the same basic SGR sequence. CSI Ps m 9/11 TM 6/13 You can select one or more of these attributes in the same sequence, by including several Ps values separated by semicolons (3/11). CSI Ps ; Ps : Ps m 9/11 TM 311 * 31 *** 6/13 The printer uses a selected attribute until you turn the attribute off or reset the printer. A Ps value of 0 turns off all attributes: underlining, bold printing, italic printing, and strike through. 116 PRINTING COMMANDS 5.10.1 Underlining ' This sequence lets you turn the underlining feature on or off. When you turn underlining on, the printer underlines all printable characters that follow, including spaces. Underlining remainsin effect across line and page boundaries, until you turn underlining off. The thickness of the underline and the distance below the baseline depend on the font you use. The baseline is the imaginary line that each printed line of characters rests on. The format for the underline sequence is as follows. CSI Ps m 9/11 ** 6/13 PS Parameter S Ps turns underlining on or off. Ps Function 4 Turn underlining on. 24 Turn underlining off. 5.10.2 Bold Printing A » This sequence lets you turn bold prmtmg on or off. When you select bold printing, the printer either uses a bold (darker) font from the current type famliy or uses shadow printing to produce darker characters (nf no bold font i available). NOTE: | The printer performs shadow printing by imaging each character twice. The second image is offset from the first by 2 or more pixels in the horizontal direction, as specified in the font file. T — e [ PRINTING COMMANDS 117 The format for the bold printing sequence is as follows. CSl Ps m 9/11 6/13 ** Ps Parameter Ps turns bold printing on or off. Ps Function 1 Turn bold printing on. | 22 Turn bold printing off. 5.10.3 Italic Printing This sequence turns italic printing on or off. When you turn on italic printing, the printer uses italic characters (if available) for the printable characters that follow the sequence.Otherwise, the printer underlines printable characters. NOTE: The printer does not have any built-in italic orbold fonts. You should use this sequence with ltalfc fonts Iaaded from the host campumr orona ROM cartridge. The format for the italic printing sequence is as follows. CSlI Ps m 9/11 *** - 6/13 Ps Parameter Ps turns italic printing on or off. Ps Function 3 Turn italic printing on. 23 Turn italic printing off. 118 PRINTING COMMANDS 5.10.4 Strike Through | This sequence lets you mark characters that you want to delete. The printer draws a line (similar to underlining) through the marked characters. The format for the strike-through sequence is as follows. CSl Ps m 9/11 *** 6/13 Ps Parameter Ps turns the strike-through attribute on or off. Ps 9 Turn the strike-through attribute on. 29 ‘Turn the strike-through attribute off. 5.11 AR Function JUSTIFICATION (JFY) This sequence lets you align printed text at the right margin. When you justify you change the spacing between words. Justified lines have the first text, character of the first word at the left margin (or at the line home position, if different), and the last character of the last word at the right margin. When you turn JFY on, the LNOS justifies all text that follows, until you turn JFY off. The printer spaces words evenly on each justified line. The SP (2/0) character indicates a word space to the printer. You can control the limits for word spacing with the Ps parameter for the justification sequence. (See the Ps parameter description.) | The printer does not make end-of-line or hyphenation decisions. The following control characters and escape sequences determine where lines end. Carriage return (CR) Form feed (FF) Line feed (LF) Vertical tab (VT) Next line (NEL) Forward index (IND) Reverse index (RI) Vertical position absolute (VPA) O I PRINTING COMMANDS 119 The active font determines the spacing between charactersin a word. Text that exceeds the printable area is lost, because the printer doas not autowrap text during wstmcatlmn The prmterdo&s not justify leading spaces, but sets them to the “normal” width of the SP (2/0) character (that is, the width of SP if you did not use the JFY sequence). Also, the printer does not shrink or expand the value of hori- zontal position relative (HPR) sequences in the text. If a line contains a horizontal tab (HT) or horizontal position absolute (HPA), the printer only justifies the text between the last HT or HPA and the end of the line. The format for the JFY sequence is as follows. CSI Ps SP 9/11 *** 2/0 4/6 F Ps Parameter Ps turns justification on or off. Ps Function 0 Turn justification off. (default) 2 Turn justification with limits on. 72 Turn justification without limits on. When you select justification with limits (Ps = 2), the printer will not shrink or expand the SP (2/0) character beyond the limits determined by the current font. Usually, these limits are in the range of 50 percent to 200 percent. When you select justification without limits (Ps = 92) the printer can shrink SP to zero size or expand SP to any size. o 120 PRINTING COMMANDS 5.12 DRAWING VECTORS (DECVEC) This sequence lets you draw horizontal or vertical lines with length and width. Margins do not affect line drawing. If you try to draw a line beyond the physical limits of the page, the printer will print the part of the line that occurs within the page. | NOTE: The printer draws lines without modifying the active position. R The format for the drawing vectors sequence is as follows. CSI Pn1 ; Pn2 ; Pn3 ; Pnd ; Pn5 ! | 9/11 ** 311 ** 31 ** 31 ** 3J/A1 TM 2/1 7/12 Pn Parameters R The Pn parameters select the length, width, and direction of the line. The select size unit (SSU) sequence (Paragraph 5.3) determines the unit of measurement for Pn2 through Pn5. SO e Pn1 selects a horizontal (x) or vertical (y) line. Pni Function 0 Draw an x line—horizontal with respect to the page orientation. (defaulit) 1 Draw a y line—vertical with respect to the page orientation. | O Other e Perform no action. Pn2 selects the x start position. Default value: Pn2 = 0. e Pn3 selects the y start position. Default value: Pn3 = 0. e Pn4 selects the line length. If the requested line is less than 1 pixel long, the printer draws a line 1 pixel long. Default value: Pn4 = 1. ARSI PRINTING COMMANDS 121 o Pn5 selects the line width. If the requested line is less than 1 pixel wide, the printer draws a line 1 pixel wide. | Default value: Pn5 = 1. NOTE: For an x line, Pn4 specifies length in the x direction and Pn5 specifies width in the y direction. For a y line, Pn4 specifies length in the y direction and the Pn5 smmfms, width in the x direction. 5.13 RESET | When you send a reset sequence, th@ printer resets the value or state of several oparatmg features (Paragraph 5.14). There are two sequences you can use to mset the printer to tts initial state. Reset m initial state (RIS) Soft terminal reset (DECSTR) These two sequences perform the same function. Each sequence resets all state variables to the initial values. Reset to Initial State (RIS) ESC ¢ 111 6/3 Soft Terminal Reset (DECSTR) csi ! p 9/11 2/71 7/0 NOTE: You can smd DECSTR to the prmtm port of a VT100 or VT125 video t@rmmal 5.14 INITIAL VALUES AND STATES The LNO3 haS a set of mmal values permanently stored in memory for some escape saquancas The printer uses these initial values after you power up the printer or sam a reset sequence (Paragraph 5.12). Table 5-7 sfiows the initial values the printer uses when you turn power on (power-up) or send a reset sequence. These values are typical selections for operating the printer. You cannot change the designation of initial values. RO 122 PRINTING COMMANDS ARONOAGING: AT U R R [CE s JR RS i i : % G G PRINTING COMMANDS s 123 . ”%g%m 54 - s . . . . i ! . e . . ’“w& o . !19%'4« - - . . G o . . . i i L e e i L , o. o i G . o . . e S i L o - . = . = %‘32’;; : L b 7 ,/ o o e . ] B . “f&;,:w?‘?“’}éai ; ] . L . . e . : : ' . G | e | gfiy L '%;fi@’%@l e : L . ol G . e . . }}&;&( . : ”,5 ’ . : S o | ' . .‘»é;& o . L Wl PRINTING COMMANDS BN, AR IR =- 124 0 ] i o i e L o G A o R . | AP e it . e wfi%&w@ : 'M . e g i i i i o N . ’ SR 125 PRINTING COMMANDS . e Ul .o s 5 S : . e : S Dl feoiaas - b . . Sl A A ; I u i . i L usw, . e ) . i i ~ ‘ i o g . i o , i . . . i i i i hit e e = - - = - - - i -= - u - i BQ . . ,"g‘i“ &5 . “ . «%J . o 4’«%\;‘%‘% L . i i RS s L L . i )‘% | & s L‘i’x 2 “(l_ (& i i @ 4: e s o e ‘ e o . - . . , . ‘ ;?:‘% o - $Q " R o (i . . Vr e e i . i o . . G e ’ o %‘#gg&z‘” % ‘wu e "{“ o . i e - i - - S P T o - = e i o e i R e AT PROCESSING - SIXEL GRAPHICS 6.1 " Printing Graphs and Drawings 126 6.2 Selecting Sixel Mode 6.3 - 6.4 127 How the Host Computer Sends Sixel Data - How the Printer Decodes Sixel Data 131 134 6.1 PRINTING GRAPHS AND DRAWINGS This chapter describes how to select sixel mode. In sixel moda you can print graphs and other drawings. The chapter also describes e how the host computer must encode the sixel data it sends to the LN03, and | | e how the LNO3 decodes the data and prints the graphic image. A sixel is a group of six vertical pixels that represents bit map data for a graphic image. A prxel mpresents the individual dots of ink you see on a printed page. The printer processes sixel data as bits of information. A bit value of 1 means prmt a dmt (pmml) A bmt value of 0 means leave a spaca Sixels are coded as 8-bit bytes. Each byte is an ASCIl character code. Paragraphs 6.3 and 6.4 describe the coding process. You can send sixel data to the prmtm after placmg the printer in sixel mode. When you select sixel mode, the printer interprets the ASCII character codes as sixel data and prints a graphic image. 126 | PROCESSING SIXEL GRAPHICS 6.2 127 SELECTING SIXEL MODE You select sixel mode by sending the following device control stnng (QCS) You also include all your sixel graphic data and formatting information in the DCS. The formatting section of the DCS is called the sixel protocol. This section describes the features you can select with the sixel protocol. The DCS is the only method to enter sixel mode. You can ex;t and reenter sixel mode, but you cannot reset it. In sixel mode, the LNO3 assembles the sixel dot patterns when it receives the ASCII character codes. You send the snxe! data in the same device control strmg used to select sixel mode. DCS Ps1 ; Ps2 ; Ps3 q sixeldata ST DCS and Protocol Selector The DCS introducer and the protocol selector place the printer in sixel mode. The protocol does not have an initial state. The printer interprets the Ps parameters in the protocol selector as follows. Ps1 Parameter Ps1 selects the horizontal grid size, vertical grid size, and p:xe aspect ratzo The grid size defines the size of the area where you can place a single pixel. You should select the Ps1 value that most closely matches the device you are using to develop the sixel data. Table 6-1 lists the Ps1 values. You can override the: Ps1 ‘v‘a‘lue with the Ps3 parameter. 128 PROCESSING SIXEL GRAPHICS Ps2 Parameter - | - s2 selects a background color. The printer ignores this parameter. s3 Parameter | | s3 lets you select a horizontal grid size other than the standard sizes for Ps1. ny Ps3 value other than 0 overrides the Ps1 value. The Ps3 value can be in ecipoints or pixels, selected by the select size unit (SSU) sequence (Pararaph 5.3). When you use Ps3, you must enter a pixel aspect ratio as the first character in the sixel data stream. The Ps3 value and the pixel aspect ratio define the grid size (including the vertical grid size). Sixel Data You can embed control characters and printable characters in the sixel data stream. The printer responds to the control characters listed in Tables 6-2 and 6-3. The printer responds to printable sixel codes in the 3/15 to 7/14 range. Paragraph 6.4 describes how the printer interprets character codes. PROCESSING SIXEL GRAPHICS 129 After entering sixel mode, the printer determines the current sixel position from the text position. This position is called the graphic left margin. The horizontal and vertical directions are the ANSI text horizontal and vertical directions at the time you entered sixel mode. L o As each sixel prints, the acfivegaéificn advances to ‘thé next herizénté jfgrid position. The distance moved is equal to the horizontal grid size selected by Ps1 or Ps3. h L Positioning is always relative to the active position. You cannot move back- ward, except by using the graphic carriage return and graphic new line control characters (Table 6-3). ST (String Terminator) ST causes the printer to leave sixel mode and return to text mode. E—— e 130 PROCESSING SIXEL GRAPHICS PROCESSING SIXEL GRAPHICS 6.3 131 HOW THE HOST COMPUTER SENDS SIXEL DATA To create a sixel, you take a 6-bit data packet and add 077 octal to form an 8bit byte. The byte represents an ASCII character between 077 and 176 octal. The host computer creates the sixel by adding 077 octal to the binary bit map data. The LNO3 decodes the sixel by subtracting 077 octal to reform the binary data. The following paragraphs describe the procedure for encoding binary data into sixels. | Data bits are arranged in the data stream in a specific order. Essentially, the order is from the most significant bit to the least significant bit. For example, assume the host is sending a buffer with 3 bytes of data, and a pointer is pointing to the first byte in the buffer. The host sends 6 bits at a time, in the following order. 1. Bits 7 through 2 from byte 0 2. Bits 1 and O from byte 0, and bits 7 through 4 fmm byte 1 3. Bits 3 through 0 from byte 1, and bits 7 and 6 from byte 2 4. Bits 5 through 0 from byte 2 In this example, the host sends 3 bytes of data as 4 characters. If the data buffer does not contain an even multiple of 6-bit groups, the host must send extra bits. For example, to send 2 bytes of data, the host must convert 16 bits. The host converts two 6-bit groups to sixels, leaving 4 bits. The host converts these 4 bits by adding 2 extra bits with undefined values. When the printer detects the end of record, the extra bits are discarded. The following example shows step by step how the host would remove 3 bytes from the data buffer and convert them to sixels. Figure 6-1 shows the 3 bytes in the data buffer. 132 PROCESSING SIXEL GRAPHICS | 1 MSB 7 syTE 0| BIT 6 oo 5 4 o1 LSB 3 2 1 i 0 ]1|ofofo i1lofl1 o1 ]of1]o]n 2{ olofo]o]ofofo]o | | ; | MA-1151-83 Figure 6-1 Th‘r‘ee Bytes‘ of Data in Buffer 1. Removes bits 7 through 2 of byte 0 from the buffer. 000110(2) = 006(8) | g 2. Adds 077 octal. The sum equals the ASCII character code used for the sixel—in this case, an uppercase E. 006(8) z + 077(8) 105(8) = E | } 3. Places the ASCII character code for the sixel in a buffer that will be sent to the printer. l 4. Removes bits 1 and 0 of byte 0, and bits 7 through 4 of byte 1 from the buffer. 000101(2) = 005(8) 5. Adds 077 octal. The sum is the ASCII character code used for the second sixel—an uppercase D. 005(8) + 077(8) 104(8) = D | } | ] | PROCESSING SIXEL GRAPHICS 133 Places the second sixel in the buffer that will be sent to the printer. 105 104 . Removes bits 3 thmugh 0 of bym b 1, ww! but@ 7 and 6 of byte 2 from the buffer. - 010100(2) = 024(8) Adds 077 octal The sum is th@ ASCII charaoter code usad for the third sixel—an uppercase S. ALeE 024(8) + 077(8) 123(8) = Places the third sixel in the buffer that will be sent to the printer. E D S 105 104 123 10. Removes bits 5 through 0 of byte 2 from 000000(2) = 000(8) th | 11. Adds 077 octal. The sum is tha ASCII charactar ccde for the foumn - sixel—a wwtmn mark (‘?) 077(8) = ? 12. ne fourth sixel in the buffer and sends the characters to the printer. E D S ? 105 104 123 077 134 PROCESSING SIXEL GRAPHICS 6.4 HOW THE PRINTER DECODES SIXEL DATA - 57 pans The LNO3 receives sixel data as ASCIl character codes in the 3/15 thmugh 7/14 range. The printer processes 8-bit codes in the 11/15 to 15/14 range by converting the eighth bit to a 0, then processing the data as 7-bit codes. Because the column codes are restricted to the 3/15 (octal 077) through 7/14 (octal 176) range, the host computer adds an offset of octal 077 to each sixel column octal code. The printer determines which of the 6 pixels to print as follows. 1. Subtracts the offset (077 octal) from the received code. 2. Assigns each of the low-order 6 bits to a grid position. The 6 pixels are arranged vertically as follows. Bit 0 (LSB) Top pixel T, Bit 1 Bit2 Bit 3 Bit 4 Bottom pixel Bit 5 (MSB) For example, if the printer receives the code value 105 octal, ASCllcode 76543210 01000101 it subtracts the offset value (077 octal) from the code value. Then the printer maps the resulting value of 6 into memory as follows. Data bits 543210 000110 Memory 10 3e 40 50 6o A b Pl L o i i A TSI L o o e L N L Lo . i i i o i B e i ‘?». D e e il h o /| L o i . s i i L e L o A o o i 136 PROCESSING SIXEL GRAPHICS [ i . ii Q’%\b G . 5 S Hal o i o oo s = o = G et s S ¢ }. L S = i - - s o e e ‘, . . - .m,fi A o . - e o : G o i v i G o Tnes L . A) e - L s o . . - : i i e . . : : - o ‘ . 7 : 0 ‘ i Ceh e , J . e. . i : i . G o o L e g . i . e . s e o . Gt i e L . : o ‘> i i i L i B o o . ‘ - i ; B SO e - -- %%% = . L S = L . - . . = o - - = e 5 fi‘w“ i . . o "H L m, i Se 4 zg‘u i B . o L i e e o L . i S . | . e - i AR o R - S ’W}@ e o S - o T o \!,;AWW‘!VWWW L 2 e e ; o i . = - I e = -~= e - -~-~ i . > . w}k‘:%:"“: . b . i e o - A, . G e = ;% e- o - . - S s e - s %“ry L A@%‘;x W ! 0 i 0 =e e i A - i i @5‘% i s e i e Lo| v . . - . - = o . i - i = 7 . L = = c N Eee e - R- e L o i N Vfi e . NHRCE o = . i ‘;‘ 138 PROCESSING SIXEL GRAPHICS * S R i | ‘ N Dl N L 3 ‘ e o A ) i ” " — . Hesieosibiniiy. ’ i e - L = R, il i I . U (e L . L R = i Bl = 4 \';{\' . i = : i L = e = - o L - fir\»“ o L e o fii% . - -~ - pon . o S o . - e - - = - — == 5; . 3}’3{"' o i i o -~ = - . e i L - e, e s —= s =~-= o bl i s - -~ L e ‘zt& 7 i o i 45;«‘15,5:!1 = -— e ;“%%VE . %té - . . . G e < i L . o = - . - La0 = - 5 i i =~ - - . i — g . - e s AT - - . - L o 'f‘%’ . - o =~ & - . - -= e = - = 1:;%:5. s - -~ -~e ot . See i - - = AN e 1o = i e . 0 o L i o o Sy i e L il e . | : e . - i L i i : : . i e i . - G [l e o e L i I i i | o il na : iy . e i v e il | i il e e i : i o . i i . | i e i b e H i L i Ly L : e v o i i | 2 i 4 o . i o S i i e " o : i i I Al L i i iy d o i 3 e | ) i u jlishte b i i i . . i i . ! i | i i &WW, il I 3 . . o PROCESSING SIXEL GRAPHICS iy, i @ o | b e L : i . ; o B i o - @ = 140 i B A | This appendm ,sh‘ vs the 170haractar se Character Set — | 7-bit ASCII United Kingdom Dutch e Finnish French French Canadian German | Italian’ Japanese (JIS Roman) Norwegian/Danish i DEC Supplemental Swedish Swiss | DEC Technical VT100 Line Drawing ISO Norwegian/Danish 141 142 APPENDIX A: CHARACTER SETS COLUMN 1] B7 B6 BS 0 pov 1 0 0 N 0 i o1 NUL | o 0 1 00 1 2 o1 2 0 2”5 T 6| SP [ 10 ' ID 1 21 (xc%? 1 4 5 22 18 o1 1 3 3 3 41 1 160 50 96 60 12 70 1 ‘ 49 A 101 65 Q 121 81 141 51 97 61 113 42 2 62 B 102 R 122 142 162 3 c 21 34 61 31 50 41 66 . 82 161 71 98 114 72 (XOFF) | 19 83 53 99 163 63 124 144 164 13 15 # 35 23 44 36 21 % a5 6 2 & 38 7 27 4 14 6 16 7 23 ’ BS 10 8 CAN 24 30 ( HT 11 31 9 19 7 17 18 9 12 32 ¥ A 1A | ESC | 33 01 1 vT 12 1 0 0 FF 12 c 1C 13 10 1 CR ‘ 13 15 14 t1 o SO 16 14 30 1 17 37 27 B 18 14 34 D 47 39 50 8 51 9 42 : 52 + 53 43 28 54 > 34 65 ' 54 F 70 v 86 102 w 127 87 o3 150 67 | H 110 38 X 130 48 58 71 57 1 111 73 Y 131 58 J 74 Z 132 70 56 39 24 73 59 k] 74 55 = - 61 36 . 46 56 > 62 | / 57 ‘ I 47 72 49 4 112 4A 1 K 113 ‘ 114 L 7% 4B [ 66 57 67 88 104| 681 151 108} 20 162 59 69 106 5A 6A 133 91 153 134 154 | 107 58 68 M 115 77 \ ] 135 N 118 A 136 | BE | 77 63 | 0 117 137 3F 4F | 5F 3D % E] 4C ‘ 0 4D 78 4E 79 [ 88 \ 75 117 147 76 3¢ | 74 165 65 56 ”G i 45 2F 46 116 101 55 107 - 1F 45 73 64 85 35 ? 54 u 35 115 100 69 29 47 84 E 60 2E 44 T 53 < 2D 68 145 44 2C 43 104 5 126 AL . 67 105 37 41 29 52 36 7 40 33 64 ’ 31 F 26 51 28 1E 15 25 S 24 1D E 37 28 ) 10 sus 26 24 4 27 25 1 110 80 33 $ 13 120 62 24 8 P 143 5 11 40 64 52 11 15 30 | @ 123 4 LF 20 - a8 42 5 01 0 100 O 103 10 1 0 0 1 =] a‘sfi T ] 32 25 00 0 ol 63 5 8 ) 22 20 1 1 1 1 , 43 4 7 1 , 12 |pc3| 10 0 11 0 10 T 11 2 6 9 ! 2 2 3 17 0 0 1 1 92 108 5C 6C 93 158 109 50 94 95 6D 168 110 6E 157 111 s ascli CHARACTER] ESC | /' | COLUMN/ROW 33 | ocTaL 27 | DECIMAL 1B § HEX | WA TIET Figure A-1 7-Bit ASCIl Character Set i b = [Teirs |2 § “m| 30 w > @® |row| BaB3B281 | 85 | COLUMN/ROW | - TR Wi COLUMN . 0 ot 1 0 b5 AW Ol D4 | DI bd coooo 1] ° 0 b 3] | NUL| o , 1 1 0011 o110 | 0 8] Q1 1 rooo0 1t 10] 001 o v o : , 120 13] + o 1 1 1 11 1 + 1 1 in e 15 122 142 51 72 163 , 19 S 13 20| $ |3 14 24 25 45 6 26 21 15 % 2| 16 & 27 ; T | 3 25 5 3] 2 6 46 a7 |s3 s E o] 45 U |sa)| 6 F | 20| a6 V 66 106 67 7 23 7 27 37 ar) 30 50 39 70 110 24 7 H | 13 kY 51 71 [SUB| 1 | B ) 26| 41 29 ‘ 14 9 52 % |a 14 |ESC| 8 G || |10 0| 55 38 25 19 ( . 28 33 27| + 1B 72 |58 J 53 73 . 2B ! 38 &£ |60f = 61l ] s ] 74 X ' || 56 £ 130 |8] L | 89 s 132 ol 133 36 56 76 136 30 3 . 1E 17 37 0 | st sl F 7 ¥ w] > 62] 5cf M N 135 a3l 9l 2E k| se ] 57 77 137 |@] 2 %*F | 8] 3F |wos] 69 152 j |ws) o y 2z 153 154 . | 6C 155 m | 109 . | ep 156 n | 1o 6E T 5] o 5F x 6A 68 16 0o | SO | s i | 108 sol 75 |04 1 92) 3D 3c 150 h Kk | 107 134 w 67 - 2D 55 | ol 1D || g s8f D 2c 147 68 35 ! v 165 146 151 c - [102] 66 131 Y |6 74 u 11 . t |0 65 58 | C 0] |w] G4 K 73 164 48 Bl 9l |us 63 57 | 72] 1 e 87 s 14 144 145 | 126 W r 64 |8 56 15 | CR | 13 d 127 ny 3A 54 28 57 39 | a3 34 |8] 125 107 7 32 |99 1 54 10 12 ¢ 124 5 HT | o 9 98 53 24 |CAN| |8| b 7 162 62 gocpg 82} 61 70 | 143 28 . 161 s2 18 VT q a || 123 |8 ' 141 s1] R 8 , 14] 2 |12 T 6 6 o0 | FF | ot Q p | A 111 1" 33 %| 60 18 5 5 | LF ! 160 23 4 )| BS 17 80 121 i 140 12 4 11 - P A . | 2 7 71 41 20 d 2 4 6] SP | 32 21 o 0 3 3 o101 v 120 22 3 0100 6] 7 1 40 10 ngg = 10 5| 'y 0 20 0 ' 4] 6 I 0 "2 00 5 o 1 ; fi 0001 21 2 | s7 | | 1m|DEL 6F O, KEY ascii characTer| NOTE: ggE THE FOLLOWING TABLE INDICATES THE APPROXIMATI ONS THAT ARE USED | /11| 33 27 COLUMNROW | ocral | oecimad ‘ TO REPRESENT THE DUTCH CHARACTERS THAT ARE NOT AVAILABLE IN THE DECMCS SET, 18 | HEX COLUMN/ HIGHLIGHTS DIFFERENCES FROM AsCll (THESE APPROXIMATIONS ARE TO BE COMPATIBLE WITH THE VT220 AND VT240.) THE CHARACTER POSITION IN THE CHART IS LISTED BY COLUMN/ROW,. | CHARACTER SET APPROXIMATION ROW NAME (SYMBOL) 4/0 5/11 7711 THREE QUARTERS (3/4) ' SUPERSCRIPT (*) LOWERCASE ij LIGATURE (i) LOWERCASE y WITH DIAERESIS (V) DIAERESIS (**) QUOTATION MARKS (") NAME (SYMBOL) 7/12 7/14 FLORIN SIGN (f) ACUTE ACCENT (') LOWERCASE f (f) APOSTROPHE, SINGLE QUOTATION MARK, ASCII ACUTE ACCENT () MA-0893-830Q Figure A-3 Dutch Character Set KEY ASCH CHARACTER | coLumn/row | OCTAL ' HIGHLIGHTS DIFFERENCES FROM ASCII i DECIMAL HEX PO Figure A-4 Finnish Character Set 146 APPENDIX A: CHARACTER SETS IS COLUMN ; , @mw * B7 [ 0 , O BITS BS B6 B4 B3 B2 m ' |0 00O 1 - 3 ‘ 010 0 5 o101 6 8 9 10111 1 00 0O |1 001 0 10 0 1 25 5 15 6 . | Bs 7 27 7 17 HT 10 8 8 CR 14 1 11 0 SO 31 25 51 32 11 B | ESC 52 1A 2A 29 |3 $C 27 62 a2 63 51 33 64 53 66 54 36 55 67 70 56 38 61 56 7% 1 2F COLUMN/ ROW OCTAL 116 64 74 145 165 85 101 55 17 65 75 146 166 “12e 86 102 56 66 76 127 87 147 103 19 57 67 77 130 150 58 68 88 131 3B 89 90 58 167 120 105 151 171 172 78 171 79 122 68 a2 108 M 155 §: 62 N 136 77 o 30 3E 63 3F ' BC 93 50 6C E 109 8D 156 [ 123 78 124 7C 175 125 70 176 94 110 126 137 157 177 5F BF 7F 5E 9% 6E 111 7E 127 ] HIGHLIGHTS DIFFERENCES ‘ FROM ASCIH DECIMAL HEX — NOTE QUOTATION MARKS (") ARE USED AS AN APPROXIMATION FOR THE DIAERESIS MARK (-}, COLUMN 7/ROW 14, Figure A-5 R 170 104 135 acf gy 118 L - 1R 73 164 100 174 a5 ? 54 125 63 144 107 § 75 47 84 15 154 - 3 53 124 29 134 55 57 83 91 1C 2E 72 163 K 59 35 1E H v 62 143 7A c 37 G 70 114 52 123 173 18 17 e | 106 F 71 6A 74 > 45 162 28 153 f 3A 46 u 142 82 5A, ' 2D 69 122 70 161 133 73 60 10 44 108 T 61 113 152 106 < 36 68 51 97 69 . 30 104 141 81 132 53 14 43 S 121 59 44 29 67 o 12 60 J 58 28 F E 1030 R 160 1 98 50 72 . 39 42 2 66 140 1 . 43 80 A 57 12 15 | : 54 E ¢ 65 34 1092 42 ~ D 28 D g & 52 18 16 " Q 1 120 m o] A 31 50 0 1 P : 61 34 13 g 49 71 41 19 A B 28 10 SUB 26 : Si 50 40 18 ‘ %0 37 30 9 1311 10 1 7 CA“ 24 9 | " 23 11 FF 6 16 7 , 48 35 22 B | S 26 6 1 60 4 14 21 T Y 00 ASCII CHARACTER § 24 20 & 0 0 1 3 13 5 14 o 23 4 1 2 12 ‘uca 5 | 13 18 1 111 22 4 r - 11 4 vT 12 1 18 3 111 01 1 ; 17 4 LF - (xcfi«? 1 0 3 1 (XOFF) | 19 10 10 : 3 0 16 2 3 12 10 1 o 2 [0 110 , 0 1 2 A 4 2 20 1 o0 11 " 1 VIDCY | 2 o010 : 7 NUL 0 0 |0 0o 1 2 ‘ 01] 0 French Character Set MA. 74254 Ry APPENDIX A: CHARACTER SETS 147 COLUMN 0 37 36 ‘ BITS 0 ROW | B4 B3 B2 B! | g5 0 loooo 1 0 0 0 0 2 1 0 1 aaseg | © 20 NUL,O 1810 0 3 4 5 ] 0 2 40 &P’1 32 2 P 1 1000 1! 1 1 g&?' 17 1 11 ! 1411 33 Q 2 loo1 o 2 22 18 T 42 2 12 R |& 3 /0011 3 tmcm 19 ®B # 35 4 0100 44 20 14 24 $ 5 25 3B24 21 % 45 6 {0110 6 15 66 26 2216 | & 46 7 7 7 - 27 ' a7} 27 37 10 30 50 70 8 18 28 18 HT 11 3 9 19 LF 12 3 3 IpC3| 13 4 8 5 o1 11 23 7 1 0 0 1 10 |1 0 1 0O a1 2 § o 10 1 a , , 28 ) 32 % 10A Sus 261A 23 44 38 2 71 52 . 72 Sl F 1F ASCII CHARACTER| ESC 15 3N / u v 126 146 v 5% ® sr] |s] 2D - 56 46 2E 57 47 2F a8 | ] 85 63 55 86 56 127 w L 2 3A | 100 64 65 f 9 102 66 147 72 73 w 164 116 1 74 165 17 75 166 118 ’6 167 « ac 75 3D 76 M > 62 N ? 17 o 3E 63 3F ] HIGHLIGHTS DIFFERENCES | DECIMAL ‘ FROM ASCH HE X Figure A-6 101 53 B4 54 | , COLUMN/ROW | OCTAL 145 € T 16 | 11 1 1 e || 28 “ 195 K 1D 1E u 59 35 3 t 74 D 30 144 i 15 17 d Z + 36 124 14 162 115 s 1 163 T J 2a 39 62 ¢ 99 58 42 1c E ‘ ||7 83 Y 2] 14 G 48 | 107 142 _j123 1 c 16 ~ b S 57 FF |1 séo 55 9 54 14 |1 1 1 0 |67 41 43 ol 7 51 1B 13 : | 29 34 ’CR 7 37 B 5 ; 25 14 13|11 01 52 43 1M1 011 ,VT 11 ESC 27 121100 122 34 39 17 8 7 2 : r French Canadian Character Set BAL. TADAL COLUMN O ‘ BITS B7 0 B6 ROW | B4 B3 B2 B1 | gs 0 000D ) NUL 1 0 7 0 0 0 1 0 20 0 110 00 1 1 m%; DC1 1 3 4 5 6 7 8 o010 SP 17 22 # 10 1 o ! 33 1 Pt 42 2 122 3 11 20 41 21 62 (XOFF) | 19 83 53 63 124 144 54 64 13 24 20 14 $ 5 25 & 15 ¢ 1t 10 5 6 26 6 22 16 & o 1 v o1 7 27 ! 7 17 5 21 7 23 % 35 23 44 36 24 45 37 25 46 82 4 ‘ 5 38 6 47 7 26 30 27 |CAN|;, 8 18 11 |, 31 25 ) 51 a1 9 12 |suB | 32 26 1 % 52 42 . 27 + 53 . LF vT ] 19 10 A 13 1 , ( B 18 14 34 40 8 28 1A | ESC | 50 29 2B 54 53 35 66 54 67 55 E 70 | 70 13 161 72 s ‘ 163 15 t 164 u 117 45 55 65 116 74 101 165 106 70 126 86 146 166 56 102 v 46 66 G 107 71 127 B7 147 w 167 47 57 67 H | 130 88 150 48 58 68 57 71 1|5 72 J 112 59 74 | 118 76 103 110 119 4] X 170 120 ws| Y 171 39 58 74 152 L 3A 73 K 113 75 153 i 3B ‘ 111 78 49 4A 48 151 69 106 6A 107 k 6B 121 79 172 122 7A 123 78 1T 1 00 FF c 1c 28 1 44 < 60 L 76 108 124 55 45 - 75 61 M 11 35 29 - 13 CR | s 13 115 77 - 155 109 175 125 14 {1 1 1 0 * 46 > 62 N 116 / 57 ‘ 77 15 (A 1 0 I 1 D 1D SO 14 16 30 Sl 17 37 36 E 1E 15 31 F 1F 2C 2D 56 2E 47 2F ac 3D ? 76 3E 63 3F 4c 4D | 0 6C 174 7C 6D 7D 156 176 78 110 126 117 157 177 4F 6F 7F AE 79 6E 111 DEL PO 173 154 12 o 77 114 12 AT 75 F 38 eR 73 100 145 SRR 71 114 99 125 85 112 162 98 105 69 ¢ R 160 Ot 2A 43 65 37 10 30 84 36 BS | ; 1 0 1 0 61 143 4 10 97 | q 52 34 P 142 123 4 g 81 51 96 60 141 22 01 0 0 HT 50 140 43 DC3| 3 |1 0 0 1 80 121 | 18 3 9 120 12 4 1111 01 1 1 40 2 00 1 1 100 o0 1 9 3 g 1 0 1 -1 4] 32 2 2 2 16 0 . 1 0 gy 7€ 127 Ay : ascicHARACTER| EgC | /' | COLUMN/ROW 33 | ocTAL 27 1 DECIMAL 18 HE X HIGHLIGHTS DIFFERENCES FROM ASCI! o MA-TE2TA A Figure A-7 German Character Set O APPENDIX A: CHARACTER SETS 149 COLUMN 0 B R B? 0 BITS B6 ROW | B4 B3 B2 B! | g5 | ; 0O ! , ] ‘ oo 1 b 2 00 1 1 3 4 o1 0 0 a 5 o1 0 1 C 1 DC{? {XON) 1 SP 21 ! ; 40 1 32 0 41 1 20 33 4 1 49 61 a3 62 3 4 4 B4 5 5 S 6 |01 10 6 6 7 7 7 7 3 4 5 66 01 1 1 11 10 1 10 88 CAN 2418 HT 11 g9 31 . LF 12 ‘ 13 vT ] ‘ a0 55 18 34 131 1 01 CR 15 1c ' : c 28 13 35 D 10 © |1 1 1 0 SO 16 36 E 1E 11 1 1 | 0l 14 30 17 37 15 a F 1F 1/11 27 18 | HEX ' RE ‘83 53 97 b 142 c 143 61 63 ‘ 74 u 125 e 145 101 |- u 165 148 v 166 147 w 167 X 170 120 Y 171 2 172 44 ‘ 54 85 64 65 f ‘ G g9 102 66 103 67 i ss| J i 152 59 i K , k 107 74 154 68 105 69 sl 47 2F ? 77 63 3F 0 118 77 78 121 79 |15 ; 123 78 155 175 6D 7D 156 176 N , 75 11876 174 76 3E 17 108 56 62 ‘ 68 m |e > 116 : 160 M 2E 73 105 1 ‘ 30 115 t 75 20 72 100 1 sl 164 114 d 72 3c s 163 71 84 s = . r 162 70 113 T 1 2C 161 68 57 38 q 144 151 39 160 124 h | 0] 38 : 112 98 99 1 P 62 L / Italian Character Set 52 141 60 57 | DECIMAL 82 ‘ H 56 A | 51 a < 46 | | ocrar “ 54 44 * | COLUMN/ROW oo, ' 28 14 35 . + B 12 g 43 27 ‘ 11 : SU 42 . 26 FF Figure A-8 67 B1 67 'S 104 69 ‘ J 123 43 | | R 42 7 s 122 66 F 5436 9 29 c 103 66 35 Q 41 E 41 ) % 16 B 102 53 52 | 25 65 85 34 71 [SUB | 32| 101 D 8 51 28 A 52 ] 40 9 | 50 ( 1211 100 ‘15 33 37 o BS ’ 1 00 1 ]1010]| 51 7 |1000 w0 32 6 0 P & 50 3 5 1 63 2 ASCII CHARACTERY ESC g 16 17 3 1] 1 0 2 14 ‘ 10 2 9 pr—— 0 1 8 e 20 ]0 00 1 3 — 2 0 0 1. 0 NUL 0 2 o, ? |oo0oo0o0 1 R 1 0 0 0 60 n 1o o 1187 6E F 111 DEL 6F 124 7C 125 126 7€ 177 ] 127 7F ‘ | HIGHLIGHTS DIFFERENCES { FROM ASCHI i T RETG 150 APPENDIX A: CHARACTER SETS SO COLUMN O BITS B o 0 ROW | B4 B2 B2 B1 | ps o 00 00 1t ’ 1 NUL ° 20 0 0. 1 MOCN‘! 48 @ ‘ 49 A 101 41 51 61 62 B |10 122 142 66 82 98 33 1 42 2 18 /0011 3 2 |pCal 21 3 4 12 22 43 13 23 24 |01 00 4 4 14 01 01 5 25 20 B 6 26 6 16 22 27 7 17 7 g8 l100o0 BS 23 |y 9 |1 00 1 HT 11 |, 31 LF |10 N | 30 24 45 50 3z ‘ 5 46, 6 38 ’ 47 39 50 | ) 51 a1 9 12 10 |SUB | 32 * 52 . A 1A 42 2A 1M1 01 1 vT | 3 27 43 ? 1211 100 FF 14 M c 28 1C ! 54 18 19 26 18 28 29 28 D 65 53 E 66 F 35 54 67 65 106 126 146 166 56 102 v 46 66 167 70 86 165 117 118 76 151 ws) Y 171 72 J 152 106 F4 172 59 K 107 { 123 74 ‘ L 154 ' 174 M 155 109 } 175 156 ] o 176 39 58 47 57 ‘ Kl 57 = 75 61 56 3c / 77 3D 68 108 6D 121 79 122 78 124 125 7D 126 7E 17 137 157 177 4F 5F 6F 7F 9 g5 P 7C 6E o R 77 7A 6C 110 149 78 6A 3E 63 67 69 76 3F 147 e 75 131 | | HEX u 55 o 11 57 18 145 45 B& I 62 | | DECIMAL 125 71 > 27 74 69 1 | 46 | 116 170 X | 120 * f ocraL 164 105 3A ? t 68 1D 33 64 100 wal 36 ASCl CHARACTER| EgC | /' | COHUMN/ROW 144 54 84 A 73 150 60 2F 124 a4 68 115 163 58 - 47 104 ‘ 88 D ¥ 63 72 S 130 16 n 53 so| | SO F 143 43 83 48 |1 1 1 0 15 62 123 114 110 14 Sl 52 67 162 H 29 18 | v 11 42 103 13 71 r |& < 2 q 70 70 38 13 1E 97 112 161 w CR 37 P 103 |1 1 01 E 81 96 60 141 87 13 17 50 " 55 20 65 80 12 SO 160 G - 30 40 140 65 35 14 64 120 127 15 ' 100 | 107 44 2C c 52 a7 25 12 Y 27 8 B 64 34 7 1] 9 33 36 C 8 51 4 ¥ 25 63 3 | |1 01 0 [CAN| & N 26 7 o1 1 1 36 % 15 6 44 ’ 21 5 35 5 61 34 B 3 | (XOFF) | 19 7 10 30 ! 3 (01 10 0 20 T ' o 32 17 11 "y | 60 22 2 6 ‘ 2 B 0010 5 40 41 2 4 SP 71 7 ° 16 10 D 3 ° 1 0 1 |0 oo 1 2 111 DEL L 127 | HIGHLIGHTS DIFFERENCES | FROM ASCII ‘ RO B TRE TR U Figure A-9 Japanese (JIS Roman) Character Set R COLUMN 4] BITS 1 &7 o0 4] ROW | B4 B3I B2 B1 | gs |NUL|, T |0 001 1 2 10010 3 0 011 3 6. P | 17 Q. - 8y q 13 2 22 R r 162 2 2 18 12 110 %fi? 1 1 3 P | o2 i =® (XOFF) | 19 ‘gg | 43 1 83 143 99 s 163 683 T 124 144 t 164 84 100 145 24 44 4 20 36 24 . 54 5 45 125 1 16 % 0 110 6 22 48 0o 11 7 27 47 7 7 HT , | 16 1 1 39 30 50 18 | M o3 1 LF 12 10 |SUB | 32 A , 1111 01 1 vT 13 |ESC ; | 1211 100 ; | 101 0 10 , 8 FF 1 9o ; 11 25 e 1 a7 10 . 103 w 687 118 77 171 58 69 72 J 132 w0 152 106 b4 172 - 5A BA 7A "‘K 133 153 58 107 173 B8 123 L 134 154 124 £1 M 135 76 N 39 58 = 75 56 > - 62 16 87 57 Yy 56 29 76 151 45 13 167 89 < 28 118 147 131 44 | 12 102 1 74 54 66 7 3A 2B 56 1127 57 ' 43 yi 170 73 34 117 | 166 X §2 53 y 65 104 38 2A 46§ B8 ' 3 101 H 9 42 85 56 81 201 74 165 150 1 av 28 G 64 126 6 73 130 8 26 18 56 40 SC, 27 B 14 67 | . 1A | : 27 CAN, 24 | , 7 115 116 u 55 F 28 8 wyr 4 23 17 10 U 1w 25 21 6 1 00 1 ' 4 14 7 114 72 53 5 9 28 62 123 5 Bs 142 82 52 S o1 23 6 1 000 | 122 70 161 35 25 8 2 51 13 4 ; 50 ‘-~ n I DC3| 3 5 o 1t o 1 % 0 0100 7 1 ‘ |oooo 6 7 1 0 0o 4 3 ¢ 59 k] 60 58 g1 68 105 120 78 121 79 122 7B 174 92 108 5C _BC 893 ‘108 175 136 94 110 156 176 c 1C 13 1 1.0 1. CR 15 35 14 |1 v 1 0 SO ~ 14 36 30 46 Y 37 57 77 137 187 , 177 F 1F 2F id | BF BF . 7F , ASCI1 CHARACTER | 1 t D 10 E 1E 3c 20 : 2E ' 30 3k 1/11 § COLUMN/ROW HIGHLIGHTS DIFFERENCES 27 | DECIMAL ' ]jfl Figure A-10 ¢ HEK Norwegian/Danish Character Set 5D 5E 7C 155 175 6D 70 126 6E 7E BASL TR YA 152 APPENDIX A: CHARACTER SETS A COLUMN 0 1 6 BITS B6 0 0 00 0 NUL 1 |o o o0 1 1 2 loo1 o 2 3 001 1 3 4 o100 4 0 1 0 1 5 5 21 o1 1 0 6 26 B7 0 ROW | B4 B3 B2B1 | gs 5 6 7 8 9 0 0 0 0 | 0 0 O 20 0 10 0 1 60 142 T 162 103 67 123 83 143 99 | s 163 104 68 124 84 144 100 t 164 105 69 125 85 145 101 u 165 106 126 146 v 166 5 6 25 22 & ’ 16 38 26 34 53 35 66 54 36 27 37 |1 000 50 70 18 28 23 17 |y |[CAN|; | ( 8 11 31 HT | . 25 ) A 26 % 1A 33 'S 9 19 |1 0 1 0 LF 0 |SUB | 32 1M1 011 vT 13 E 14 34 c 1C Sl 82 37 45 52 30 ‘ 122 46 % 15 7 165 | 1 1 1 102 65 25 33 7 SO B | & 64 51 10 14 [ 1 1 1 0 61 q 161 51 97 |- 1 B S c 12 27 47 7 39 w| 8 55 | 38 a1 9 71 52 42 . 53 . 29 2A 18 67 , 51 ! 28 54 | , c D H 36 57 ? F 1F 47 2F 77 170 X | 120 “ 3C 61 30 76 62 N 77 o 3E 63 3F ws|] Y A71 106 z 172 69 68 121 79 122 78 124 155 109 175 156 176 8D 110 6E e, 123 108 6C R 78 174 16 2F 68 119 154 74 M / 4] w 173 75 1€ 67 150 OGS 167 107 - 31 103 76 ‘ 153 55 37 18 66 K 59 45 E 147 73 38 - 15 | 102 75 7A 1D 17 117 6A 35 > 74 N D 46 86 , 73 116 65 127 56 72 115 58 13 . 55 | 63 | 64 A Al 152 15 30 54 ‘ L 14 53 62 70 113 I 72 60 56 70 46 107 52 el 160 57 39 < = 45 G 44 20 a4 F ! 29 43 | E 28 2C a2 80 151 3A 43 \ 32 o1 1 1 CR 141 41 81 4 7 |1 1.0 1 121 4 6 13 65 3 6 FF 101 3 5 1 10 0 112 63 4 12 P 5] 3 : 96 62 2 | 60 64 ] 31 27 |1 00 1 140 50 2 2 BS 120 30 61 AR 1 a0 A 33 48 1 0 100 49 17 20 1 P 1 1 ! | 41 m% 21 40 7 1 0 0 DC1 SP 1 32 1 16 12 10 0 WS 7C 125 70 e 126 7€ 17 79 137 95 157 111 DEL 177 4F 5F 6F 7F 127 SR A AsCil CHARACTER| ESC | /'' | COrUMVROW 33 § OCTAL 27 | peEcimaL 18 Figure A-11 HEX HIGHLIGHTS DIFFERENCES FROM ASCI! ML TG P Spanish Character Set e APPENDIX A: CHARACTER SETS 153 COLUMN 0 ; 1 . BITS 15 °o0 ° 0L ROW | B4 83 8281 | s I~ S 0 |NUL!| 10 0 1 ‘ w6l P | DC1 | 55 2 22 | R 4 o100 S |0 c |DC3 | o 4 24 ] 201 ¢ 5 25 9 10 |1oo0 B 26 , 2 1 | HT |°¢ ol 12 32 = LF 011 | VT FF 131101 ‘ ] CR , I I 16 S 111 , KEY ASCI CHARACTERE ESC ‘ 10 , SuB —= s | |ESC 2 13 8 33 , 21 AR < 15 |1 35 2]: ¢ 1c D 10 16 36 ol Y ni ¢ E 1E 17 37 15 F 1F 1711 | coLumMN/ROW 33} OCTAL 27 | pECIMAL 18 | HEX < %] Y 52 ;i o 53 jof , o » : 54 : 44 2C Va 55 : sl 1 20 oUwl ' 3 A , S 64 101 < . | 50 80 a ’121 P 51 a 65| R [woz| _ [z[ 81 103 P 123 A 43 0 53 |82 A O 65 R 67 64 34 gg A ] 104 |8l |4} R jg 3 106 e ~ - 107 o 83 ) g: 52 S @ | %] 7 J 1 - 131 wgg ] 5 |61 _ I B BN el 4c 76 116 77 4D LG Tl , 146 .e o ° o |13 7 115 73 164 ‘é;fi 165 17 75 | 166 167 :g: ul o 151 - 92 1 135 93: «f 136 BREN 134 I 65 T |'Uf nal i N 60 il N e | ¥ ac 145 o~ e =]33 5% . _ T BlU | 0 144 v 132] | | v |6] |%] 5 U o 152 15 106 | Y ] 163 63 108 |a|l EEEE: 74 ud _ 70 a E RR naf [e 99 - |%] |l _ 143 e 57872 -, 181 @§ 119 o E - 147 | 2| 73 141 ‘ E gg " 127 gg ; \ 61 a 126 160 96 [ a 8 ) o7l a 125 140 60 P |12 o 1 0 a1 ] N P 7 1 20 33 3D | 56 ' P 51 [ 51 « 28 ) 0 a 61 40 6 1 0 1 |10 62 | K 50 | 34 c ‘ 47 @ 14 12 € 46 X | | 44 : 30 CAN a1 1211100 i 8 " |1010] 1M1 10 s ;g A 63 35 ¥ 30 49 43 23 45 _ 48 * 24 27 , : : © a2 4 : 20 | 32 2 ‘ f; 60 5 1 0 o 1 40 33 : 14 ° 4 1 41 i £ 3 BS SPp 3 | (XOFF} | 43 ? {1000 ] 23 3 7 8 S XONE gy 4 o | 9 . 3 i ° 20| 0 NUL 0 000 Tjeoor ' o 3 ® gg ; 5C 5D , Yl 137 g5 5F SUPPLEMENTAL GRAPHIC SET 121 79 172 12 173 z 108l y 12 155 . y 175 125 ‘ 6C 109 6D BT R 123 174 7C 70 176 el f | R 11| DEL | ' 157 ' 20 171 U w4l ¢ u‘ :;g BF E , 177 7F | NOTE: ALL PRINT CHARACTERS IN THIS CHARACTER * SET DIFFER FROM THE ASCII CHARACTER SET. M- 10,087 Figure A-12 DEC Supplemental Character Set 154 APPENDIX A: CHARACTER SETS T COLUMN 0 BITS B6 ‘ B7 0 ROW | 84 B3 B2 B! | pgs 0 1 2 ' 00 00 ' 1 0 4 5 6 0 2 0 0 16 10 1 21 1 8%} SP 40 32 61 Vi 2 12 22 23 43 c3 3 | (XOFF) | 19 3 13 4 24 4 20 $ 01 0.1 5 25 5 15 % 6 26 6 16 14 5 21 6 7 22 & L2 P 35 23 44 3 36 4 45 5 24 37 25 | & 46 6 38 26 47 84 100 t 105 69 125 145 165 55 101 u 45 85 65 F 106 70 126 86 146 166 56 102 v 46 66 G 107 n 127 147 w 167 47 57 10 130 ‘ 72 J t 00 1 HT 11 25 31 ) 41 9 12 10 SuB 26 32 ¥* 52 . A 1A 42 ‘ 13 & 153 . FF 12 54 LF 68 164 ‘ 9 |1 0 1 © 63 144 71 50 10 53 57 ( 19 54 39 .27 55 37 28 29 24 70 38 39 58 3A 72 124 E 66 114 43 65 35 162 104 D 34 103 r 83 52 53 62 98 67 c 51 CAN 24 ] 33 64 142 52 82 143 H 8 18 51 122 123 56 10 8 63 B 8 \ 9 32 40 BS 17 &0 A A 67 |1 000 |30 31 7 8 7 48 62 36 o1 1 1 , 23 34 1 -7 fl 7 42 # 01 00 4 33 21 0 ' 48 30 41 22 4 o .60 20 2 18 0 0 1 ! ‘1 2 |01t 10 7 0 17 1 00 1t1to0 1 0 0 o o0 1 1 0 L 20 NUL | 0 3100 11 o 0 I 44 72 54 87 88 48 111 73 58 131 99 64 103 s w04 68 115 73 116 74 117 S 75 18 76 67 150 163 119 77 X 151 170 120 78 171 T 49 112 74 4A S 1111 0 1 1 , 1211 1 00 , vT ESC 11 33 27 59 44 < 74 56 - B 8 34 c 1c 28 ¥ - 45 : 46 / 57 13 |1 1 0 1 CR 13 35 14 |1 1 1 0 SO 116 14 30 Si 17 37 1 ! 14 15 1)1 1 a3 29 o] 28 10 36 E 1E 15 I F C1F | 73 2C 20 56 2E 47 “2F = > ? 3B 650 3C .75 61 3D 76 62 3E 77 63 “3F K 113§ 75 48 L 114 M 115 N O 76 4C A 77 4D 116 78 4E » 117 137 157 177 4F &F 6F 7F 79 g5 m;DEL 127 5. ascli CHARACTER| EgC | /' | COtUMNROW R Figure A-13 33 ] ocTAL 27 | DECIMAL 18 | HEX ] HIGHLIGHTS DIFFERENCES FROM ASCII e e — MA-TEZEH Swedish Character Set S APPENDIX A: CHARACTER SETS I COLUMN b? o] o0 123 2 o101 , | o1 3 | | $ 4 5 5 5 6 o0 15 % 6 7 1 0o 1o+ 1 1 1+ 18 x| 19 | a2 |0 |SUB | 6] 33 | B 1A |ESC| 27 ) * 50 51 |a] 29 |4 F 67 |s| 37 70 || G 36 ol | 17 37 F 1F 1€ nl | 56 | |w] /| 2€ | 57 ] 164 T 44 105§ U | 0] V 46 107 y4 74 I | s | 54 100 64 18 73 116 74 145 165 55 126 | 65 146 75 166 |8 | 99 63 125 | 8 se 127 w : so ] 3B | 8 53 |e0] 45 106 J 3A 101 102 66 147 103 | 67 150 17 118 76 167 el 77 170 ] : K 3D > (L | el 2 2F KEY 144 | 73 72 M |1 124 |e] 104 | ss) 39 | 75| 61l SO 163 Y 7 |[s] = 2>} 143 8§ 1 38 L 1D | 123 |e7] 43 X 60 54 [ 103 H < 55 | <310 77 3] N O 3F HIGHLIGHTS ' ascii craracter| |sa|l 36 . - St | 5 E | a3 wmE 35 0] 1 1 |sa| 35 66 # 1. 15 o1 | CR | 13 16 D 27| 18 44 e i 53 i D . 28 |s2 34 9 52 28 FF | 8 28 34 o 7 €C 65 6 ) 14 0 111 0| + || 13 1A | VT ( 3 B || R 2 ~ |5t} 33 64 | 8 | A 17 1" 12 | LF , |9 |30 9 1o , |[CAN|22|] o011 | HT | o |37] 2% 46 27 |8 8 : & 23 7 10 % 4 45 2) 16 7 1000 | BS | \ | 6 o 15 32 63 4 | - 62 | s0 3 "4 o111 1 1131 4] 2 2 3 3 ' a 3 2 , _ 61 1 0 P 40 1 1 , 9l 11 48 | 30 | | 0100 6l 0] 1 o011 §1 | 0 1 | o |NUL| o 001 4l 8] } 0 3] | o | ' 21 7] 3 , oooo 1 i 2 BITS | Jrow] b4 b3 b2 b1 O) 1 155 DIFFERENCES ggc | /11 | corumwRow FROM ASCII 33 | ocraL 27 | DECIMAL NOTE: 18 1 HEX AT COLUMN/ROW 5/16 LOWERCASE € WITH GRAVE ACCENT REPLACES UNDERLINE (—) WHICH IS USED IN ASCIlI AND ALL OTHER NRC SETS. MA-DB93-8B3R Figure A-14 Swiss Character Set 156 APPENDIX A: CHARACTER SETS J aaw * B6 TM 1 BS BITS . 0 GLIGR B4 B3 B2 B/ COLUMN 2 |10 33 | 161 211 covola| [ 001 = 1[3]) |3a|we| 221 A2 43 | 243 | 3]1w3 231 o1 00| 4 r o 1o 1] 8§ J 011 0B l 36 | 164 £ || oo 63 | 263 . B2 51| 33 J 2% | Ag 264 | | 265 5 B85 66 266 36 86 67 | 267 | [ 1 oo0oo0|8 L too 1|9 -| 41 | 189 1o 1 010 J a2 | 170 oot |11 ( a3 | n gz 187 110 0/q42 l alm| 54 | 254 14| 274 Cl BC 655 | 183 50 | 250 UL ; AR 38 B8 51 L 251 /1 271 571 29 1 aAg ) -{ 39 20| aAD 56 | 256 46 | 174 2E| AF 57| 287 2F| AF 471178 | "~ A\ v 193 41 C1 02 | 302 o | 194 < 60 | 188| 75 | 275 =— 61| ‘ | 189 gD 76 | 276 2 o7 c3 | 304 44 Cc4 105 | 305 @ , x A @ = — BE 63 | 191 3F| sFl -— (13 ol 120 | 320 1 0 GL |GR el LRI 121 | 321 \Il Ly 45 cs 106 | 306 | ce 107 71| | 307 a7 c7 70 | 198 1g9 110 | 310 12 | 200 48 c8 11 311 73| 49 201 co 12 | 312 :z 202 : CA 113 | 313 75 | 203 48 | CB 114 | 314 76 | 204 2«;9‘, 122 | 322 22 | 200| ) oL fl 6 (14 T DR 83 53 |21} | 54 pDa 126 | 325 8 | 2131 55 | DS -\/ 126 | 326 86 2[1)4 56 6 .Q, 127 | 327 — 130 | 330 T 121 g7 | 215 57 - | D7 Zg W D3 84 | 212 216 | 6 cC | 3N a7 D9 132 1 332 sx 218 27 1 1] 133 | 333 2‘; ! 219 DR 134 | 334 o2 | 720 R 25? [l) 63 | E3 | 344 120 65 ES 03 | 2] 67 | E7 104 | 232 68 151 123 E9 152 | 352 fl;fi 2;: pN 153 | 353 1(?; 222 154 | 354 tog | 236 166 | 356 94 12221 W) 110 | 238 v 137 | 337 a 157 | 357 CE aF| CF 79| 207 A 93 | 221 5E 109 | 237 pp DE 95 | 223 5F | pF F4 76 366 z:s 6 167 | 367 ) | 19| 2e7 g 77| F7 1701 370 171 an agg 248 F8 Y C. 121 249 791 Fo 1;1: 250 172 | 372 FA K 136 | 336 317 118 E8 351 2331 AR 75 | FS 1166 | 6 | E6 : 78| 206 74 230 U 4E F3 117 | 245 146 | 346 77 | 2085 117} 73| 165 | 365 E4 150 | 350 135 | 335 50 | |23 | 345 ‘ pe , F2 163 | 363 | s 164 | 364 101 | 229 Y 6 @ 145 147 | 347 RS 20 L | 116 | 244 vgz 1 241 F1 28] ¢ ‘n 72 27| 144 E: 161 | 361 1;]3 P | 1] 143 | 343 | 99| 15 Py 160 | 360 162 | 362 s | 226 116 | 316 4D ' ¢p R E 142 | 342 DA o T 141 | 341 4 & 08 gg PR 140 | 340 1 GL |GR 62 123 | 323 124 | 324 cC 115 | 315 2: D2 § 69 | 197 4 190 |15 43 N\a 277 5 ‘ 68 | 196 ~ 77| | 303 104 I" 62| 3E f DECIMAL BB C2 103 @ 1 : | 301 65 BA COLUMN/ROW OCTAL B9 186 73 | 273 AC 4| 173| 1851 12 | 272 32 53 | 283 LEGEND CHARACTER | | 270 28 2B | AB t 11 0|14 87 0 56 | 184 52 | 252 \ 37 40 | 168 24 | AA oot |13 | |54 | 182 > 4 . 1 ' GL |GR A 101 B4 65 o1 1 1|7 65 | 255 300 B3| | |53 | e 2% | a5 a6 | 246 = 52 | 180 34 38 | 166 201 12 4 179] 64 / 24 | A4 27 | A7 4 100 oc s 32 \ 7.5 | T 39 | 167 |GR BO| 62 | 262 a5 | 246 a7 | 247 P R 49 | 177 3t B1 A3 44 | 244 ° 61 | 261) ‘- A a2 | 242 260 Fole ar | 2a1 1|1 GL 3 | 11 60 °c 00 ofg * 0 0 GL | GR ROW ooo0 * 1 6D | ED 156 | 356 BE _EE 111} 239§ 6F gfl L | T+ & 173 ] 373 wgg ggn TR B 174 | 374 | u| =2 175 | 375 x;»g 253 Fo [ B 176 | 376 126 | 254 7€ FE SR : HEX s ® MNOTE: WHEN SET IS MAPPED INTO GR, BIT B& IS 1 Mo Figure A-15 MO 83 SRR DEC Technical Character Set RS R, N APPENDIXA CHARACTER SETS 157 * L COLUMN ROW | B4 B3I B2 1 0 1 0 0 00 20 40 32 16 L {XON} 41 21 17 # 43 34 OF 22 23 19 23 24 44 C 14 1 68 a4 5 21 E 15 WS 108 B ! o oo 2% 22 F 106 G 107 16 et 70 46 SASERAE sy ePP 27 7 r 2 39 17 27 30 H 110 I m 18 5% 9 41 29 LF 10 12 10 VT & s eo,SR ) # : e A¥ s o 72 52 SuB e 73 49 J 42 13 - ¥ 11 K 112 74 113 75 oSl5 % 4A 25 "1 et « 2l 48 ) 1 1 e, ELRIANE, « £y ¥,%5 i 47 ( 24 " [ =i & s & & lateld 5 SR s A e Eis A e&o =5 & 48 76 C 4C 1156 13 77 0 4D 10 0 SO S ASCH CHARACTER o o N L5 ) &) Gy el X io S soo» e Sl g ! e <o, 14 s ! e Z= it etket Ce ! 17 15 ) o por} = 24 4 o 2 OCTAL DECIMAL xo LIGHTS DIFFEREMCES FROM ASCII HEX igure A- 16 SBRISlales R 1 ] e e o 16 e, 14 \ Lo 0.0 114 s T L s heeh 1 14 12 etyR ali A 12 FF W otyaTol s e a e it il 69 45 AT T R R RS o 0 104 R S KA RI 1 67 43 D 25 g 103 R 13 RO . B6 42 3 35 20 01 65 o ee g0 1 B 102 33 12 C 21 42 " 18 a 101 1 RN ¢ Slik‘ < . ReASeA,LN TRLe M R ReN o A * 11 22 2 fieT»lam 20 10 DC1 o NUL VT100 Line Drawing (DEC Special Graph i cs) Character Set WA TIA08 158 APPENDIX A: CHARACTER SETS O COLUMN 0 BITS B7 [&70 ROW | B84 B3 B2 B1 | gs 1] 1 2 0 0 o TTHIL 0000 NUL g ID SP 21 4 0 , 1 :g o , 2 0 20 " |000 1 oo 1 0 40 gg 41 3 oo 1 4 |01 00 & o1 0 1 18 B 4 64 52 D 104 a7 S 65 53 E 105 46 |66 54 F; 106 | 55 G 107 56 70 H 13 71 131 35 3 63 44 |so| 32 3 13 # 4 4 20 ‘ $ 36 5 5 25 45 5 2 % 15 |01 1.0 6 6 26 »| 16 & 38 6 6 7 o1 1o 7 7 27 47 17 39 7 7 23 ] 8 1000 BS 10 8 CAN 24 30 ( 50 40 8 g 1t 00 1 HT 11 9 3 25 ) 51 41 9 57 l 10 |1 0 1t 0 LF : 12 |SUB | 32 * 52 . 72 A 1A 42 58 J vT 11B 1B 27 43 ! 59 K FF 14 12 34 c 28 1C ’ 54 35 6 111 0 11 ‘ 1211 1 00 24 ' 14 8 18 9 19 26 10 23 24 25 29 44 <‘ 56 45 - 56 2 13 29 14 |1 1 1 0 $O 16 14 30 36 " 46 17 a7 F / 57 1F ASCII CHARACTER| ESC 1D 31 1/11 § COLUMN/ROW 33 | ocTAL 27 18 Figure A-17 20 1E 15 ; ‘ 38 39 2E 47 kT:] 74 60 R |& i S 123 B3 143 53 99 63 s 68 T 124 84 144 100 64 t 164 54 69 u 125 85 145 ol V ‘ u 165 55 101 | 126 w 127 42 43 44 45 46 n : 52 %6 61 gl 62 7 |1 72 118 1 A 73 116 74 17 L 56 87 R 57 88 58 AR 20 132 5A 91 58 134 92 61 M > 78 N 136 9F 163 or| 142 = 63 T 162 81 Q 136 ? 113 70 51 41 - 5C 77 9 161 59 L 3E 112 122 65 75 62 160 P 141 ac 3D 96 1 89 ; 3A 2B CR St 67 28 01 1 0 1 11 11 36 37 28 13 E 35 27 - 33 34 26 | 1% D 121 67 2 22 43 31 3 | (XOFF) | 19 4 60 c 49 62 ul ; 50 80 51 1 21 13 P || 33 42 &1 64 40 103 ! Ve IpCc3| @ m' B 11 22 2 48 30 120 102 cx&g 17 2 o 100 ' A 1 3 80 7 1 0 101 2 o 1 o 3F 93 50 94 8D 156 110] o 4 176 126 5E 6E 137 95 157 111 DEL 177 7€ 5F 6F 7F 127 HIGHLIGHTS DIFFERENCES { FROM ASCH SO | DECIMAL HEX 1SO Norwegian/Danish Character Set MA.T42HB R, S NS R ESCAPE SEQUENGE AND CONTROL SEQUENCE - ol sequences explained in This appendix lists the escape sequences and contr this manual. (See Paragraph 4.3 for the sequences, to designate character ' sets.) The sequences are listed in alphab@ticai wmm according to function. You can find a complete dascnptmn c:nfanysequence by going to the paragraph listed in column one. NOTE: | R The wquenc@s are shown in8-bit’ farmat Sequence characters are spaced for clarity. The spaces are nmt part of the format code. The row/column number below each character indicates the character’s position in the 8-bit DEC multinational character set (Figure 3-5). 159 160 APPENDIX B: ESCAPE AND CONTROL SEQUENCES APPENDIX B: ESCAPE AND CONTROL SEQUENCES : L e e - ‘%fi%}wfi* e Ja Sl e e N@; o . L - , - - = i et “ i o o o s . Gl o o > ' . "@ ¢ ) . s . L g o i ¢ . i . . L %}% o » . i e L o . ! . ARG ¢ / : L o i o Lo e bR . o "u - . o S - s B - . . o e o v :”Mfli Ui ~‘f%« . o o i i &) ‘,\' A i o e i L o , . L . o | - ; . . 161 — APPENDIX B: ESCAPE AND CONTROL SEQUENCES 162 per— . “W;{ , R S e - . . : . o -L . L ; s W i o M'fi%fi‘ e e = . i 2 e i / } . 0 e : . e . e e | ~ e : i . i e . i . ) . e L : o . e e . o e . L o . e i i i oo W ‘P . oo .. i ‘fi(e, G . o Sl o . . . o : . o e o oo : ‘ 95 e by "' o ‘ = - %fié Ve I i . = o = % i - Vo i ‘@%V o L T L 1 o ‘ - - o J—— gt .. i s M;,«; i s . i L L L o ... gy, : i ‘“* | : %fi’%fl%@%@w o o i L B ; S ' % . | ' Lniin e e . . o - ! o. § i JE o . L L e el e . o . e - : SRaNT e L . e ot L o . L s . . L , e . e ii o . : £ o - : : - o - i i o . “I'rp’ : s Y 'fl%‘ o = = - N e ¢ = e S . vl o A = g - o " i i . i - e - io e = - - < . = - 4 g e o o ‘ o L e s o o i %&\ S 4 i g . ‘i&\l e L . - el . . . . "d” o ‘ . i ;,’:i;ry 0 e o . o o o ;&3. Li : e i g 1o ’* e o i }fi‘;‘“’ G e. o aEn o R R e L L A a0 o ei ‘ L o i ol S o i - ? i A Sl 5 i o L L ! e L e - ”&,‘ 4 i i S L i B e, . o i ‘ e = TR ) y ) . . i i L ' 1 o . . G - e . . &f i - X‘. R . o . o . o . o . i , o e i L i ) o L G . i . s . : . %{% . o s . ’ . o . ~ . . o . o i i . . i i . . ' : o . v i o . L ,«_:,.4\‘% e . . i "‘v"‘@%‘f o e . - e i }.?«, % ; ; o o L vj%i‘ . L o ~i » s . i . : . : ‘ i ; . . i o b D e ‘ ‘ i . . i ’ o %@ . : e mu o - ! o o i . . ‘ . o e L m . i . e g o . i, & i o L et o e o . e L - . ‘ %%%“ e b L i L L wfi A % A i | il ; s e .v " e . . : %%: g&%{fiy; o o i ) o L - e ‘ e i i . %%g% L . | W L . i ~ - i - o L . . o - . . b e L L I . 0 i i i Wk% . j o - o . . o it ‘ e , o . i e o g}w,,g@: L o %w» 3 b . i «‘é\%;g’ i . . . 0 L '": i L o e o S o L [ x%’ , ‘ %%% o 'é& . . o s . o : A e . . o 2 4 L o . ! ‘ , . / i : . i Bt oe o : 4 'Q . gfi’%fig’(\ .4% , . a’i. ,o . R o - )e o . ,» . o : ; T e “"‘“@M"‘“"i"fi‘&fix@i‘?fi&:. Do b e e v . . . . o S i . . . . i . L « o . . e e o S e i L ' e o i L / . L i i v e . ; - S i Gl ‘@éfi i o i b ‘““l‘v,’.” . e L i Sa e . ' G L i . W o o . .. .L e o . . | e . i o o q»“wvfn: o eo . s . - .y W - i . i - - g o o : ‘ | — APPENDIX B: ESCAPE AND CONTROL SEQUENCES . o .o . o i & %}?\”6%“ o %%}«i g . - e - L . o 163 164 APPENDIX B i W ESCAPE AND CONTROL SEQUENCES . i \' o L - - - . ) . . . . Vi L Li %‘é}}%fié@% , 0 o o T . ‘ o 166 APPENDIX B: ESCAPE AND CONTROL SEQUENCES a W = APPENDIX B: ESCAPE AND CONTROL SEQUENCES it . wfl ~ b e A - i Loy L o Lo i o }\.g i - e el e . . o . o - %Ei” L . . .i . . G = - o . e e e . ! f,l'n\. i e - o ‘%{Q < - « o B 0 e i e L vs . . - - s . = o -é%“« . . , e = . i o i e i o . e 2 o . = - 2 i i .».;fig o ST R . .. \ ‘3%%“* . e :A'«"‘ L ‘ o e Sl i m%/ i o . . - " e i . il el o - E e o e o e . e . 3“ ol | L . e e o S 167 APPENDIX B: ESCAPE AND CONTROL SEQUENCES . B i 7 ' i S T e , » : o | G L T o L o o - ¢ . . . = it . - 168 i o i o » i i i -= o8 . B . i L <‘%§}M v S 1 : i i e ey i i . i o ) . | i S i . o e Gl . - e e i) L 0 Lo — . o . G " . . . LGl o %;‘S:'v.,.» o S ol ,. S L . W ,&o’@ . o o 0 i ;fi};}y o . i i o 3’% ol - oy o" = i i = . o s . “ R ‘::‘m o fl%fiio o o il . "0 ‘ - i die . L i L . : . . - ¢ b L ’ e o o o i . g!? o . e e S - O5es . Y . e fe e iy daile o - i L . o . - e i @31““" e . i . o 2 i d g R " i B Sl h i S o L i e« A‘ % W"«?” HB - . oo o i i s ' i -~ o! ! o . ) = - e e e S o o - . 0 . %%{@p i . . ’ ; : g : . . w%l'%: . L S -&my Gl 4 ' . . 'b‘@gg@% it i i A . y L - . e o | . e e — i i éi . »‘EW o . o S v o o i o i S R = - D i o i i o L L . e b G i # i e S G e i . i o G i, @) o : ; . ¥ i e i e . i ! e i : o o W ; i " o Dl L i ~ . U . B e e : o . . . v e . e s L g : , o o i . | i i o & . : : ‘ },i“fi”a Le | S . %W. o . . S T y e o s i Se - ' L e e \,%;‘y”y* ha @B}‘” . . i . i ". s 4 . . %%f%%f e /‘y%w i S .G - = . [ = 4 , o ; =-= : ! %{m ‘ i . . - v e = g = i il T e - o S— % -e . i R i ) . 4e w i . o “- e . . e e e - L dan . e %«@; o |%‘i@ L ..@: . e b ¢ i = . o o g i - i . Re ”‘.““"9:!“"’““ i . s A o - BRI S i S e o ;} i b L g i . v i e 4 W iy e L e l o . J— i e L i e e . : - L 4 e o sy . . Jr— J’w"{’?' L N APPENDIX B: ESCAPE AND CONTROL SEQUENCES e R oy . o 2 o . o o = A AN AR e G . Sl " L & ] o & gl 1 . . i ; i G i ;e n o = e - = o ss 170 o il e i . x o B oo L APPENDIX B: ESCAPE AND CONTROL SEQUENCES 171 .i 3 L . . . . r . « g B 0 i . e ' % o S . i i . L A o . . : i . . . : G : ) ; i i . i . . . " . 2 . e o i ‘ . i e ) L et . . ) . o i o 8 . o ; . - ‘ . L . o . ,/ .. et o i | e o o . - . - e . ) e - = = ‘ o . . il il = o o . o i e e . o . e " ; SRt I S .. . i . . DTS 172 APPENDIX B: ESCAPE AND CONTROL SEQUENCES G \ Sk L b o " - o o. . e xy%’é:h ‘/" L i e o .T :,r‘;' G Mw“ i i n ’f’wfi S g e i e L Seloval o i o i . S L & . L o 2 . - ,,,‘g’%% . s i | i s . e i i (e . L e o B P J&fif:”'; AR ol L %f’» / o e L i S L i :é : i i g L ' e 2 ! L Gl o o o . . L . i ! e . e L et ‘ . ’ ‘ B e 0 ! . o n o o o L },3 b @yggz« ; e . R * - - ‘%;’%gm% oG ‘fi&. . e c . L Haty L o e oo 4{,\3' ,}M{,}%fl L L i o ! e e . . e e o i L @.’x«fi e L %fimfij% P e : L e i e ,gi e g e e s b o i 9 n(?‘ i W R o ; e G| . i " ' & . S o e e . o § e G i i iy e @"QM& . o e ‘ ie : %fifi;@ . L L o v o ! : i i . G b e : G e . G : 5 — i e ! e v i . ) % i o i o w - — St : L e il - o e L %% & o oo L : AL & - - o e P i it B . ; . e St L o ! o S i wm&&“‘ R o . i " R [ it e i 1 o . A g 5 . - %f’%,w i . o . e ondne SR . i i it S . . SO L . | . G . L ' " Gl L L L ... PemsR Y o . o R o o e . .A I i ’ APPENDIX B: ESCAPE AND CONTROL SEQUENCES U S L 2 e . . A : o S ; ‘ o 173 L . - . o . B! . . . - i . 2 g . . . . . . RSB, 174 APPENDIX B ESCAPE AND CONTROL SEQUENCES & P o o -S o . :- - :.i -o, S: s=. :.-o : -.ov,. .-o; ReS,=%i% -o.Do -:s-,-b;-:.-@-= ol S%= . i . L e e -i ; o o- 3 L 2 3 (uvfln\uNw.mn\%SR -- . e o i . e DA A5 e oo c/mme 2 S i e- . & A oi eo e v .B i :.,:4 S po [ APPENDIX B: ESCAPE AND CONTROL SEQUENCES 7 e U i, T i . 4 e / o 4 i G . e ORETARE B 1z Y T PRty - . G . Gt : S e e - : -. = A G G . - L L o e i , i Lo o e o i S Lo B i . i o . v s o - . : : L i o L . i . e e e . o ' s w , . e R . g@r&({fi/ o ii L : oy i % i L | AR A \M?é i i <: B F i L - @@5 - i,e A . \ i " s N | o 5 e B . o . o - i ey . s il - o . b i . il .e o B o . A o s R i S A o DS i o 1 iy N sl N e ’ . e. Gl &%@%fl . 4 i e Ll . . L A“A/?% 3 R e A i 4 il L e e E el - o . W i . - i i o ~ . i . L . . a0 . o o L R o @{n e .. . = L ¢ L R (ha o il L . i ¢ SR e i e . o 5 " R o . @ ” D - v o L - o S e . s il oy, G i i B i = i Fv bt i e o v ! s v o i ey % L e G R 7 . Sy o o i ’%wb o \’ & ’,,\im o < o o » A o | o | B .- 175 DO APPENDIX B: ESCAPE AND CONTROL SEQUENCES ol S L e S e o . ,:f x¢q§ 176 it ¢ ol o i i - ‘ e 7 i I . s i T T L S , . ' y y L T s i RE 5 R : b i e e TS PRI A O AR This appendix is an alphabetical list of the ASClil-coded control functions used in the LNO3 and other Digital printers. The list includes standard ANSI and ISO control functmns as well as private Digital control functmns (markm by a DEC prefix). | Allprinters do not use the same control functions. Evan when ‘printers do use the same function, they do not always nmplement the function the same way. A o in the list indicates the particular printer uses that control function. Chapters 3 thmugh 5 describe the specific control functions used in the LN03. See the index for the page that dascribes“ a particular funmion. 177 178 APPENDIX C: COMPARING THE LNO3 WITH OTHER DIGITAL PRINTERS R APPENDIX C: COMPARING THE LNO3 WITH OTHER DIGITAL PRINTERS A i i o s . Bl . . e . i . i . 179 APPENDIX C: COMPARING THE LN03 WITH OTHER DIGITAL PRINTERS R ST sl e o " . o i . S i i i v ‘ : o = ‘ ~,‘ 4 R . ‘ e . e / " i o L . v i e s s o - i il G e A e o . i i g : 7 o i - o b 2 2 e s % o o = v.;fiq s o «%@,% : == H i o \, i y’ »w; . Q‘l} S i L e oy e i e o vb‘.h, ) : P fi‘& ‘33 i ‘:w Wgw"“w’m L o e s i o 3‘% s S Bl . o ; G Eine . G e e 0 i " o . ; g y i . - o 5 i o . s ; o i o L Bl i ; . o -o i o . f“‘&%y - e R . : e G L ; i s "f"w%"::] o ; . s - & . o i, e o v e A il ’ i it it o o g it . e o i J”“{}?@ L e o M i : i . . - o P o ‘A’”M-:‘ . i 2 L L i . » . it o o . i . - i a) A eim i | . ‘ ‘ ISP Py 3 v i e # i i i i X i i 4 ' fli*?*‘ 4 i - e s o o i . i : A ‘ i L - i - . W’*@ ' : . %" :e . | ; . — . A T %‘V iv i iy o e j . y . o: i L ! i . . e . . : . 4 i 4 i . . 4 o i K‘:%&'% . . . f i o i S - ;m o Mr'& o v ) - L «v"&k% B . o fiéf‘ . o i L i . 4 | St i ‘ s - b L | : . S ! i . - /\/ . f | = 5 '?\’ . o0 L L oo 180 e i 2 e . . | . . e O . iy o APPENDIX C: COMPARING THE LN03 WITH OTHER DIGITAL PRINTERS y— 181 X i e . - . i L L G = - . M .- %‘%fi; - “w . ,,“\«;B? o - s - = = o e . ’;J’Q o /Qg{(% %‘% o . i 4 o . i) ,‘ l il ;fl o w il . S i i /; - . -- e. . ,-- -x&yf,wmvww—-e.S- :-:oS:o.-:fivu«u.%fiw#wm-.-= Be g.-SY.L=m.w%.,Ae-3--e.-..,SSRee--%-M.f@i”-..eS-so2-.e-:=ek-.-eNeg..5e...-.e-..--Bs..-.S:-:-LIRS--,5:- :,‘ e e . Ecu’m o Se = o = =: . o : = - i i = S sSR o i - i - o - o . b St = e % e e -=..’. S - : - o ¢ = e et S -- = g - . : i o e e. -.- > coe S s - i ¢ P .- : o =o - 2 et = - 2 - =] - S.= e :- o ~ --= i -> e - = - S . . 182 APPENDIX C COMPARING THE LNO3 WITH OTHER DIGITAL PRINTERS 5 o i .% - o - o . A -.v‘ AR gyi T fo g - R AR e SR R = OGR: [ i APPENDIX C: COMPARING THE LN0O3 WITH OTHER DIGITAL PRINTERS 5 e 9 ) il - G o L o j . st W b : i .. il o L . 183 184 APPENDIX C: COMPARING THE LN03 WITH OTHER DIGITAL PRINTERS i b 3 it S i - %3‘ i T ‘ ' T i o A s i G u;’:m‘;‘hb(mfiz % i 4 = o e, L R s "»\‘ . ‘? . L . ob el e e i G G >“‘“ " L “fi i ¥ s AT I O s s i ILT-IN TYPE FAMILY IDs, LNO3 BU FON T IDs, and FONT FILE IDs Built-In Font File IDs for the LNO3 D.1 185 Type Family Names D.2 185 Built-In LNO3 Type Family Names, Type Family IDs, D.3 Font IDs, and Font File IDs 187 D.1 BUILT-IN FONT FILE IDS FOR THE LNO3 This appendix explains the values used in the font file IDs for the font files built into the LNO3 printer. In Table D-1, the Field column lists the location of a value in an LNO3 font file ID. Values are base 36 values (0-9, A-Z). The type family ID is field 1 (first 7 characters) of the 31-character font file ID. ID is fields 1 through 7 (first The font 16 characters) of the 31-character font file ID. D.2 TYPE FMMLY NAMES The type families built into the LNO3 printer use the following names. Type Family Name Type Fya{ymilfy ID (7 characters) DEC BUILTIN1 DBULTNT1 ELITE 12 FONT RELITEO D000000 COURIER RCOURIR The “D” in fihe type family ID for DEC BUILTIN1 indicates the name DEC BUILTIN1 is mgtsmmd with Digital, but is not mgnsmmd internationally. The “R” in m type fam:ly IDs for COUHIER and ELITE 12 indicate these names are registered internationally or are in the public domain. 185 186 APPENDIX D LNO3 BUILT-IN FONT FILE IDs W ® APPENDIX D: LNO3 BUILT-IN FONT FILE IDs D.3 187 BUILT-IN LNO3 TYPE FAMILY NAMES, TYPE FAMILY IDS, FONT IDS, AND FONT FILE IDS Table D-2 lists all type family names, type family IDs, font IDs, and font file IDs built-in into the LNO3 printer. The type family ID is field 1 (first 7 characters) of the 31-character font file 1D. The font ID is fields 1 through 7 (first 16 characters) of the 31-character font file S, AR i 188 APPENDIX D LNO3 BUILT-IN FONT FILE IDs W # 'SUMMARY SHEET . E.1 E.2 E.3 E.1 - Printing the Summary Sheet 189 Summary Sheet Contents 189 Sample Summary Sheet 190 PRINTING THE SUMMARY SHEET The summary sheet is a printout of the current status of the LN03. There are two ways to print the summary sheet. 1. Use the load font files (DECLFF) sequence (Paragraph 4.4.1), or 2. Place the printer off-line and press the test (T) switch. E.2 SUMMARY SHEET CONTENTS The summary sheet identifies the following items. Revision level of the printer software Status of the configuration switches Currently available fonts Memory available for additional fonts Status of any cartridges Paper switch setting Up to 30 error codes The summary sheet also lists the available fonts by their font file IDs, in the following order. Down-line-loaded fonts Font cartridges ROM-resident fonts The summary sheet cannot list 30 error codes and all possible font file IDs at the same time. Error codes have priority. So, if a large number of error codes are listed, some font file IDs may be omitted. 189 190 APPENDIX E: SUMMARY SHEET E.3 SAMPLE SUMMARY SHEET s, Fiigure E-1 is a sample summary sheet. Tables E-1 and E-2 list error codes that may a ‘;@ear on the summary sheet. These codes also appear on the front panel character display indicator. Table E-1 lists the codes for controller errors that may occur while the printer is operating. Table E-2 lists the codes for errors that may occur during the communication and loopback diagnostic tests. Table E-3 lists the codes for fatal errors that will stop the printer during the selftest diagnostics. Fatal errors are reported on the front panel character display indicator only. NOTE: Engine errors also appear on the front panel indicators. SR SR A g APPENDIX E: SUMMARY SHEET SWITCH 4 DEVICE o Paper Pat DECKXX.X POSITION ID Hy | »LNG3 DEVICE AUTO WRAP ON DECAWM OVERRIDES THIS SWITCH SETTING -8 XON/XOFF ENABLED Size:8.5 by 11 Cartridye 1:empty Cartridge Z:empty 278b tern Printed by the DEC LN03 Printer Job Status: No Errors ‘ RCOURIR RCOURTRLO1VK00GGO00 1C222202F000 g B e YV e dok DOOO00010IVEOOGGO00 1€222202F000 BELITEOLOZSR00GGU pOGOOOOLOZSKO0BGO00 1C2222029000 RCOURIRZ02SK006GGO00 1C222202F000 LT T DOOOOODIDISKOVGGHON 1€223202F000 AL P T AL Y L Y R S 123&5&#&9& DEC TECHNICAL Az RCOURIRJI025K00GGO00 1€222202F000 DO000002025K006G0001 o *fi'flhwm o2 & » R RCOURIRLOIVEOOGGOQD 1Q222202F000 | DOODOO0LOLIVROOGGODD 1OBZZL02F000 R R g SS "'“mw“’/\r g ;,m%&.w“mwm‘-«.m'www S VR e T wuifirymmfleAAn#xazuqfx/xagfvl 1 08AS T L0 £ 7))/ 2 BELITEOLO2SK00GGO00 1Q82ZE02F000 *ob$lye pOOODUOLOASKROOGGO00 102222029000 flCQUfiIRflG@EKQUQGQGG 102222029000 wul ¢l yu 1OBAI S uI Ly ¢ 108 ke B Lo ¢ & RCOURIRJIO2SK00GGO00 102222027000 weddy2 n@auamazwzfixoammana 1QETLE02P000 ' DOO0000JO2SKO0GGO001IQLZZZ02F000 = VvT100 LINE DRAWING ey we o e e RCOURIR RCOURIRIOIVKOOGGOOO 10222202F000 g gy e DI B T sog v TS gy o wqmwwmeMmMuWwMM'Owfluwwm [ DEULTHL DEULTNILOIVROOGGUOD 02222027000 RELITEO CRELITEQOLOZEKOUGCGOO0 0222202F000 fi&&wfiqfiéfifiliiiiiflétz‘fulfuo DBULTH] DEU&T&&%@Z&K@OG@NOU omzzozmw AdlnCo OZEZZ02F000 fl * RCOURIR. RCOURIR202ERO0GGO0 fi DBULTNI flnULTNlfiflEB&%@GfiHU@ 102322027000 TR Aakeqfi%&%fi%m“?w G §fie AdReCoEe£aliiils ; RCOURIR RCOURIRIG2SE00GGG00 102222029000 fi&umqwfi ii&xfi ,,{ DBULTHI DBULTHLI02EK006GG00 10222202F000 fl&flm@qfi&k&iififtééx“*?ux RCOURIR DBULTNI fifi”b?fllfifi&flfl@fifi&fi@fl IUZLTE02P000 I T TYPE FAMILY DEC SUPPLEMENTAL RCOURIRIOIVEQOGGOO0 1UL242027000 ,,g”u.wwwmummuwm'mam*mmmwmww»mm DBULTNI DRULTNIL10IVEDOGHO0D] L JZZZ202P000 W o mvoflmwflumm‘,q IR R R R RELITEQ RELITEOLO2SKO0GGGOO LB Z2Z02P000 Am?ffixliJAthmfl@&u123&56739fl oo UZZ2Z029000 AaFicgliliLiMa0oSs12345678 DBULTNI nnunwulunzsmfluana *umzzzuzw00fi hfilifigliJleMm@fi&fll@fifififi?flflfl RCOURIR RCOURINZOIBRO0G LK KLLUR SWITCHES SET FOR THE INDICATED B DATA BITS PARITY DISABLED Memagry available for fo nte: Test Level MEANING -8 4800 BAUD o RATE BETTING SERIAL INPUT P A WNEAUD WM BAUD Revision S HEE T u M MARY g 191 ASCH AaFfGgliJjLiMmO0581234567890 RCOURIRJO2SK00GGO00 1uzzzzfizrnug AaPftgliJilLiMmOoSs1234567890 &u?f@gx1Jjblfimfla$31234567390 Wk FONT ID i 'FONT FILE ID D NOTE The sequence for the font file printout is in descending order: downline fonts, cartridge ressident fonts, Also, fonts, on the printout, there may not be if there are a lot of errors - enough space on the sheet to print out all resident font files. MA-1488-84 Figure E-1 S ummary Sheet Test Pattern 192 APPENDIX E: SUMMARY SHEET . a0 il i . . i o e o e o i ‘"‘«f Sl 1 L i i i e RO AR, e R oo S o o i o da 5 O s o o ‘ 5 B M, " : i 2 »p‘ i e G P POy APPENDIX E: SUMMARY SHEET 193 - " e L o . ¥ o . s 5‘ o il e i G0 »‘:3‘ P o . . = . . iy L e it tf;‘;g»u‘\{w . o e g@% 0 '?"'9 i ot i ik S i B il . . i - . = . - . A‘VA 194 I APPENDIX E: SUMMARY SHEET MO 1 i - s = . . : - S 5 . . o i . A oe o e o = s = o o 2 A i e o g . 5 A G i : ] s o g i iA S S SO SN S AR S G HELPFUL HINTS, PROBLEMS AND SOLUTIONS, AND PROGRAMMING EXAMPLES H@lpfu| Hints 195 Problems and Solutions 198 Examples of LNO3 Control Functions 200 This appendix has three sections. The first section provides helpful hints. The second lists typical problems and suggested solutions. The third shows examples of important LNO3 control functions. F.1 HELPFUL HINTS General Always send a reset command before you start a document. The reset command places the printer in a known state. However, the reset command does not clear font memory. Make sure you have enough font memory available to do the document. Do not insert or remove ROM or RAM cartridges while the printer is printing. You can insert and remove cartridges when the printer is off-line or idle. The LNO3 does not operate as an LA100 or LQP02. When you set the device ID switches (SW2-2 and 2-3) to respond as an LA100 or LQPO02, the printer still operates as an LN03. Only the ID response changes. The LNO3 prints unsolicited reports after tha, print'ed page on which an error occurs. All parameters in escape and control sequences must be unsigned, positive decimal integers. Do not use decimal points in parameter values. Equivalent measurements 1 point = 1/72 inch (approximately) 1 decipoint = 1/720 inch 1 pixel = 1/300 inch (on the LNO3) For example, A 10-point type size equals approximately 10 X 1/72 inch. 195 196 APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES o Always load paper against the left side of the tray. Make sure the paper guide is firmly against the right edge of the paper. Otherwise, your printing may not align with the edges of the paper. e Use only the paper recommended by Digital. Thin paper may cause a paper jam. o - Recommended paper weight: 16 to 24 pounds. - Paper sizes: 8-1/2 X 11 inches and A4. - Part numbers for ordering the recommended paper: 8-1/2 X 11 paper LNO3X-AF A4 paper LNO3X-AH e e Page Format e Use the page format select sequence (CSI Ps sp J) to select the printing orientation, either portrait or landscape. When you power up the LNO3, the printer uses the portrait orientation. o Always use the upper-left corner of the printable area as the origin point for printed pages. To select the upper-left corner, set the origin placement i mode (OPM). If you reset OPM, the LNO3 places the origin at the upper-left corner of the physical page. However, the printer cannot start printing until 0.25 inchesin from the edge of the paper. o When you set new tabs or margins, clear all tabs or margins you I do not want. Also, make sure you select the correct unit of measurement: deci- points, pixels, or character cells. Otherwise, the printer may not set your tabs or margins in the desired location. A When the LNO3 is Off-Line e The printer and the host computer cannot exchange data. e The printer cannot report its status. | — APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES 197 Font Files e The LNO3 only recognizes font files in the Digital font mg format. You cannot use LNO1 font files in the LNO3. e For font files with the same font ID or type family ID but with different character sets, you must designate the appropriate character set. e You assign font files with the 7-character type family ID or the 16-charac- ter font ID. Use uppercase letters only for both IDs. You do not assign font files with the 31-character font file ID. Fonts and Character Sets e To use pmpmtional spacing, you must use a proportional font and select proportional spacing with the DECPSP sequence. e Do not use VT100 line drawing characters with other character sets. Otherwise, your printed characters will have inconsistent line weights (widths). e You cannot scale character sizes. However, you can use GSM to select the closest, smaller available size. GSM selects from the available fonts in the type family. If font files are assigned by type family ID, you can use GSM to saal@ct from the avaifiabm min't sizes in rthaat family. For example, suppose you are using a 10-point font from the DBULTNT1 family. You want to use a smaller point size. - If you send a GSM with a parameter of 70 percent for height, the LNO3 selects the6.7-point IIULTN1 fontmtha closest, smaller available size. - If you send a GSM with a parameter of 50 percent for height, the LNO3 will not find any DBULTN1 font smaller than the desired size. As a result, the printer will print blobs. See the GSM example in Paragraph F.3. 198 APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES ARSI Graphics e The graphics you print on the LNO3 will probably be smaller ‘than the same graphics displayed on your video terminal. A The LNO3 as a Dedicated or System Printer e To use the LNO3 as a dedicated printer, connect the printer to the auxilia- ry or printer port of your video terminal. | e To use the LNO3 as a system printer, you must assign the printer a terminal number and a queue name (if there is a spooler involved). The specific commands to use depend on the software used. F.2 PROBLEMS AND SOLUTIONS | can only down-line-load two font files. Add RAM cartridges. A typical font file requires 15 Kbytes of memory. Some of my graphs do not print. You can print small graphs, but some graphs may be too complex for the printer. The LNO3 uses a band buffer 6 pixels deep. The printer processes a maximum of 150 characters or vectors (including spaces) in a band at a time. R | get a blank page for each line of my source document. The current margins may specify a page that is smaller than a line height or width. Check your PUM and SSU settings. You may be using the wrong unit of measure. | cannot load my LNQ1 font files in the LNOS3. The LNO3 does not support LNO1 font files. The font files you use with the LNO3 must be in the Digital font file format. AR5 'AND SOLUTIONS, EXAMPLES APPENDIX F: HINTS, PROBLEMS 199 | cannot print landscape pages. Send a PFS smuesnwm select the landscape format (ESC [ 721 J) before you send the text. Do not send an RIS or DECSTR sequence after PFS, because the format will return to portrait. When | set the device ID 3wfich@s to LA 1 00 or LOP02 / hava spacmg problems. The LNO3 does not operate as an LA100 or LQP02. The printer always oper- ates as an LNO3—only the ID changes Use the correct LNO3 commands for | spacing. My ReGIS files do not print. The LNO3 does not support ReGIS protocol. Convert the ReGIS files to sixel files. The printer does not set tabs and margins wh@ra | want them. The printer may have other tabs and 'margins already stored. Clear all tabs and margins before you set new ones. Also, check the unit of measure (pixels, decipoints, or character cell) you are using. The LNO3 stores tabs and margins at pixel locations. The quality of my transparencies is poor. Use the recommended transparency film for plain paper copiers. Size 8-1/2 X 11 Part Number A4 LNO3X-AJ LNO3X-AK 200 APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES F.3 EXAMPLES OF LN0O3 CONTROL FUNCTIONS A This section contains examples of some basic LN03 control functions that you will use most often. . | Changing Pitch (Line and Character Spacing) The spacing pitch increment (SPI) sequence is the most flexible sequence you can use for changing pitch. You can change both the horizontal and vertical spacing with one SPI sequence. You use the select size unit (SSU) sequence to select the unit of measure—decipoints or pixels. NOTE: Pixels are the recommended unit of measure. On the LNO3, a pixel equals 1/300 inch. Changing Horizontal Pitch T In the following example, the horizontal pitch changes, but the vertical pitch remains the same. First, the SSU sequence selects pixels (ESC [ 7 |) as the unit of measurement. Then the three SPI sequences select different horizontal pitches. The horizontal pitch affects character spacing—not character size. R The vertical pitch is set to 0 in each sequence, so the current font determines the vertical spacing. You enter: {ESC>[7 I = set for pixels (SPI) <ESC>[0;50 G = spacing pitch (6) characters per inch. <ESC>[0,;30 G = spacing pitch (10) characters per inch. <ESC>[0;25 C = spacing pitch (12) characters per inch. The LNOS3 prints: = set for o pixels = Spacing = spacing pitch (SPI) pitch (6) characters (10) characters per inch. = spacing pitch (12) characters per inch. - APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES 201 Changing Vertical Pitch | In this example, the vertical pitch changes, but the horrmmai pztch remains the same. First, the SSU sequence selects pixels (ESC [ 7 1) as the unit of measure. Then the three SPI sequences select different vertical pitches. The vertical pitch affects line spacing—not character size. The horizontal pitch is set to 0 in each sequence, so the current font determines the horizontal spacing. You enter: <ESC>[7 I = get for pixels (8PI) <ESC>[50;0 ¢ = line spacing, (6) lines per inch. ;Il;ullnnaualalulnaanlnlalnlaa;;; <ESC>[30;0 ¢ = line spacing, (10) lines per inch. lunauluaalallnuumuaunuunlullaanla bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb <E86>[25,0 ¢ = line spacing, (12) lines per 1nnh. '"'lfifl%fl&@flhfilfllfllflfllf‘yi'jj’vi 8 The LNO3 prints: = set for'pixela~ (SPI) = line spacing, (6) lines per inch. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb = line = » line spaC1n§égéggéggB . L i : o : i spacing,._(12).lineg._per.inch.._. : T - k! w » @ w v T w w\m A LA LA ? LA £ A L i w 8w 202 APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES Changing Character Size (Graphic Size Select) You cannot scale characters with the graphic size select (GSS) sequence because there are no font files currently available that allow scaling. However, you can use the graphic size modification (GSM) sequence to salect a different‘size font from the fonts availablein the type famfly i In the following example, a soft terminal reset (STR) sequence first resets the printer (ESC [ ! p). When you reset the printer, you select the following initial values. standard page size , portrait orientation 10-point, 10-pitch font from the DEC buult-m~1 type famuly GSS set to 100 SSU set to pixels Then, the GSM sequence (ESC [ 70; 100 B) changes the character size. GSM AR changes the character width and height by percentages.The LNO3 selects the closest, smaller font available in the current type family. In this example, the character width does not change, because the width parameter is 100. The height parameter tries to select a font that is 70 percent of the current font. The height changes to 6.7 point, because 6.7 point is the closest, smaller font available in the DEC built-in-1 family. You enter: <ESC>[!p This is a aamplm of <ESC>[70; 100 B SR, tupe before GEM. This sequenae results in the fnnt height being changed to 6.7 point (approximately 70X of its normal height) which is available in the font family. The LNO3 prints: This This is a sample sequence of type before GSM. results in the font height being changed to 6.7 point (approximately 70% of its normal height) which is available in the font family. RO APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES 203 Selecting Portrait or Landscape Printing You use the page format select (PFS) sequence to select portrait or landscape printing. There are 12 standard page formats, 6 in portrait and 6 in landscape. Even parameter values select portrait orientations and tha odd vaiues select landscape orientations. Each PFS value also selects a fixed printing area, including form length and margins. The PFS form length and margins do not change, untul you send another PFS or one of the mllownng sequances , Set lines per physical page (DECSLPP) Set left and right margains (DECSLRM) Set top and bottom margins (DECSTBM) You must select the lines per inch and characters per inch, if you want to change the initial values in effect when the printer is reset. | In the following example, a soft terminal reset (STR) sequence resets the printer after each PFS sequence. You enter: (ESCH[BI<ESCHI0 J This sequence selects mtmnt ommmm (normal fornat), (ESC)UMFF}{FF) (ESCX(1 J This sew mlects lmd&cm mmtatim (rmal fmt. €SO 1pP) EFF 501720J This seouence selects portrait oneintation. Cextended DEC fornat), SO ) 6P ESCY72 ) This sequence selects landscape oreintation (extended DEC format), 204 APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES Font Files R O | | You use the following sequences to control font files. Down-line-load font (DECLFF) Assign font (DECATFF) Select font (SGR) Delete font (DECDTFF) NOTE: Before you make changes to font files, you should print a status sheet Lol to see what font files are currently available in the printer. Load a Font File (DECLFF) | ARSI This is an example of how to use DECLFF to load a new font file in your printer. The first two sequences are STR and PFS. U You enter: €0(IpESC720 ) f CESCYPO; 131 JuLETPICHRA ;OCESCH SO In the above example, the DECLFF sequence selects the following settings. indicates the font file is in DEC Font File Format. 1 indicates not to print a summary sheet. 1 indicates to replace any font file in the printer that has the same font file ID as the font file being loaded. | IE???CXRd is the sixel data for the font file. 0 indicates there are no comments. You can include comments, but the LNO3 ignores them. N ORI A [ Assign a Font File (DECATFF) | This is an example of how to use DECATFF to assign fmms for printing. You must use this sequence to assign an SGR number to a font file. To use DECATFF, you must know the type family ID (7 charact@m) or the mnt ID (16 characters) of the font file. The following example shows both ways to assign a font file—with the font ID and with the type family ID. The first sequence assigns an elite font in a specific type size and pitch. (ESC [ 14 m selects the elite font for printing.) The second sequence selects assigns the elite font family, whtch may have several type sizes and pitches available. You enter: €S0P}H&MITEMMWWW\WUM = This Sequence asigns the font to SGR H by using the "Font [D*. €S0 1 BRELITEOCESCH\ = This sequence assigns the font to SGR 14 by (ESCIP2; using the "type family ID", The LN03 prmts = This sequence assigns the font to SGR 14 by using the "Fant ID" = This sequence as$ign$ the font ta SGR 14 by using the “type famlly ID" NOTE: To print text in the assigned font, you must select the font as follows. 206 APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES Select a Font File (SGR) | ~ This example shows how to use SGR to select a fmm for prmtmg Youcan select one of the fonts assigned an SGR number from 10 to 19. If you do not select a font with SGR, the LN03 uses the default font assagned at power~up or after a reset sequence. SIS T This axampe selects the elite font assigned m SGR14in the pmwous example Ymu enmr (ESL‘)[m Thxs sequence selects the Font amgmd to SGR {4 to be used for printing, The LNO3 prints: This sequence selects thé’font'assigned to SGRSIAIto be used for printing. Delete a Font File (DECDTFF) This example shows how to delete font files with DECDTFF, using either the type family ID or font file ID. When you use the type family ID, you delete all the A5, In the following example, the first sequence use a type family ID for the elite PR font files for that family. When you use the font file ID, you delete a specific file. family. The second sequence deletes a specific elite font file NOTE: You can print a summary sheet to check that a file is deleted. YOu enter: {ESOPO;RELITEOCESCH\ This sequence deletes the Elite family of files gored in the printer, PO (ESCP1RELITEQLOZSK00GG0001UZZ2Z02F 000ESCH\ This sequence deletes one specific font file. You must use the 3{ character "font file id", The LNOS prints: This sequence deletes the Elite family of files stored the printer. print summary sheet and replace all font in This sequence deletes one \ specific font file. You must use id". the 31 character "font files file APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES 207 Designating and Invoking a Character Set To print. charactms you use one font and one character set The font selects the type style, and the character set contains the characters toprint in that style. You can select any of the fonts and character sets available in the printer. 1.First, select a font (uness you want to use the default font). 2. Then designate and invoke a characwr set. The following example selects a font, then designates and invokes two charac- - ter sets. You enter: (ESCH13m (courier 10 point /10 pitch) ESCH(B (designate ASCII as GOX0 invoke GO to GL. (ESCY(0 (change the character set to VT100 as GO ahcdefy ESCH[!p reset The first sequence selects a courier font file (SGR 13) by type family. The second sequence designates and invokes the ASCII character set into the printer's GL memory table. Notice that the LNO3 prints characters from the ASCII set until the third sequence. » The third sequence designates and invokes the VT100 line drawing character set into the GL memory table. The LNO3 then prints characters from the VT100 line drawing set. The VT100 line drawing characters replace the lowercase letters typed in. (courier 10 pomnt /10 1%}70](8 GO to GL. TFFcRLFo+ pltch) (FFNL%‘*“*‘L '-" (desm nate RSCII as GO) — _%F F VvT100 # GO) 208 APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES Highlighting Characters (SGR) DI You can use the select graphic rendition (SGR) sequence for boldmg, italics, undarlmmg, and strike-through characters. SR To use bolding or italics, you must have a bold or italic font file in the printer. If you select bolding and there is no bold font available, the LNO3 performs shadow printing. If you select italics and there is no italic font available, the printer underscores each character. An SGR sequence remains in effect until you send another SGR sequence. NOTE: In the following examples, the LNO3 is first reset. Resetting the printer selects the standard page size, portrait printing, and the 10-point, 10-pitch font from the DEC built-in-1 family. Bolding This example shows how to use SGR for bolding. The example has five escape sequences. You enter: (ESCHPY;1 BIRTIMES0003C OOPGCESCY \(ESCH (15w K BOLDED CHARACTERS USED BY SCR ASSIGNMENT HUI‘LHog? TIMES FONT,<ESCY(10m BUILT IN FAHILY. <ESC)[im bold<ESCH[22m bold on The LNOS3 prints: N BOLDED CHARACTERS USED BY SGR ASSIGNMENT WITH CG TIMES FONT. BUILT and off. IN FAMILY. bold bold on | The first sequence assigns a bold font to SGR 15 for printing. The second sequence selects SGR 15 for printing. Notice that the LNO3 prints some bold words in that font. The third sequence selects the DEC built-in-1 type family. The fourth sequence turns bold printing on. However, the DEC built-in-1 family does not have a bold font. So the LNO3 prints the word “‘bold” by using shadow printing. The fifth sequence turns bolding off. G APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES 209 Italics This example shows how to use SGR for italics. The example has five escape | sequences. You enter: dn THIS 18 A EXAHPLE CESCOPL1 RTIHESO002SKO1GOCESCIL1\ESEI SR R TS, G501 ES0LIn italics ESCO12 "italics on and off" The LNO3 prints: THIS IS AN EXAMPLE OF THE USE OF SGR FOR ITALICS. italics "italics on and off" The first seqmnca assigns an italic font to SGR 14. The second sequence selects SGR 14 for printing. Notice that the LNO3 prints text in italics, until the third sequence. The third sequence selects the DEC built-in-1 family. The fourth sequence turns italic printing on. However, the DEC built-in-1 family does not have an italic font. So the LNO3 underlines characters instead. The fifth sequence turns italic printing off. Underlining This example shows how to use SGR for underlining. The example has two escape sequences. You enter: L dm underline on (ESCH{24m underline off. (ESCH The LNO3 prints: underline on underline off. The first sequence turns underlining on. Notice that the LNO3 also underlines ng spaces also. The second sequence turns underlinioff. 210 APPENDIX F: HINTS, PROBLEMS AND SOLUTIONS, EXAMPLES B Strike-Through | This example shows how to use SGR to print strike-through characters. The example has two escape sequences. You enter: ESCH[n example of type with strikethrough on (ESCH[2%m strikethrough turned off, The LNO3 prints: -t 3 M -y YS Yo g - e strikethrough - W - turned | - - ‘ - - o g g g B ey, p off. The first sequence turns the strike-through attribute on. Notice that the LN03 prints strike-through characters in spaces also. The second sequence turns the strike--through attribute off. [ A O GLOSSARY Active column The horizontal position on the paper where the next character will print. After printing a character, the printer increments the active column. Active line , | | The vertical position on the paper where the next character will print. After printing a character, the printer increments the active line. Active position The absolute posutnon on the paper where the next character will print. The actwe posatlcm is defined by the active col umn (horwzontal position) and active line (vertical position). ANSI American Nataonal Standards Instxtute Autowrap mode An operating feature of the printer that lets you control what happens to print characters that excefid the nght margin on the page. Baud rate B | The speed at which the printer communicates with the host computer. Character attribute A feature of a highlighted character. You can select underhnmg, bold printing, o italic printing, and strike-through attrrbutes Character cell An imaginary rectangle used as a unit of spacing. The height of a cell is equal to the current line spacing, and the width is equal to the currént character o o | spacing. 211 212 GLOSSARY Character set A set of codes that describe the general appearance of a set of characters. For example, a character set might contain the code for an uppercase A or the number 1. Character sets do not describe the style of a printed character. See T Font. Code table A list of the characters and codes for a specific character set. The table is divided into columns and rows that show each character with its binary, octal, decimal, and hexadecimal code. An 8~bnt code table has twice as many columns as the 7-bit table. Command string A data record included in a device control string. Examples are a type family identification or font identification. Configuration switch packs | Two 6-position DIP switch packs on the back of the printer that control certain operating features. The switches are preset to work with most Digital systems. You can set these switches to meet the requirements of your host computer. Control characters Characters that do not print, but cause the printer to perform some action. For W example, the HTS control character sets a horizontal tab. There are two groups of control characters, CO and C1. CO (control 0) and C1 (control 1) codes CO codes represent 7-bit ASCIl control characters. C1 codes represent 8-bit control characters that let you perform more functions than possible with Co R codes. You can only use C1 codes directly in an 8-bit environment. Control function A method of controlling how the printer processes, sends, and prmts charac- ters. Control functions include control characters, control strings, and escape and control sequences. Appendix C compares the control functions usedin the LNO3 printer and other Digital printers. R Control sequence | | | Two or more bytes that define a specific control function. Control sequences usually include variable parameters. Paragraph 3.4.3 shows the format for a control sequence. TP GLOSSARY 213 Decipoint A unit of measure equal to 1/720 inch. u&c multinational chamctm set This 8-bit character set is the default character set when you turn the pnnter on. The left half of this set is the ASCII graphic set (7-bit compatible). The right half includes the C1 control characters and DEC supplemental graphic set (8bwt compaflb@) Default values (for escape sequences) Standard values used for parameters. The printer uses a default value when you specify a 0 value or omit a value. For most sequences the default value is 1. Device control strings (DCS) Like control sequences, a DCS uses two or more bytes to define a specific control function. However, a DCS also includes a command string. Paragraph 3.4.4 shows the format for a device control string. Down-line-loading Loading data from a host computer mtm another device. You can load fonts from a computer into the printer. The printer stores these fonts in RAM. Error code A numeric code ofup to three digits, used to mrt printer problems. The printer reports error codes in pairs — a generic code, followed by a specific code. Table 5-6 lists the error codes. Escape sequence Two or more bytes that dafm@ a sp@cifuc control function. Escape sequences do not include variable parameters, but may include intermediate characters. Paragraph 3.4.2 shows the format for an escape sequence. Font A size and style of type to use for printed charactars For example, a courier 10 point font describes a certain style (courier) and size (10 point) of printed character. Fonts and character sets are independent of each other. You need a font and a character set to print characters. both 214 GLOSSARY e — Font attributes i The seven characteristics of a font that define how printed characters wm look when you use that font: type family, spacing, type size, scale factor, typestyle, character weight, and character proportion. These attributes are not affected by the character set you use. Font file The data for a unique cmmbmation of one font and one character set. You can assign a font to any character set available in the printer. The font files that come with the printer are stored in ROM. If you load other font files from the host, they are stored in RAM. Font files must be in a standard Digital format. Font file attributes A set-of 12 characteristics for the font and character set in a given font file. These include the seven font attributes plus the character set images, rotation, character subset, file encoding, and resolution. , Font ID A 16-character code (no lowercase letters) that describes the seven basic font attributes (including type family) of the ROM fonts. | Font fnle ID A 31-character code that describes the character set and font attributes for a A given font file. Appendix D lists all standard type famlly, font, and fontfile IDs for the ROM font files. O Form length The vertical size of the printed area on a page. The maximum form length depends on the setting of the paper size switch, the origin point for page R coordinates, and the paga orientation. GL (graphic left) and GR (graphic right) codes Two code tables in memory, reserved for printable characters. You store the character sets you want to print from in GL and GR. The printer uses the graphic left "(GL) table in memory when the character code format is 7-bit, or when the the character code format is 8-bit and the graphic characters are in the 2/1 through 7/14 range. The printer uses the graphic right (GR) table in memory when the character P code format is 8-bit and the graphic characters are in the 10/0 through 15/15 range. G GLOSSARY Hard margin 215 | A setting that defines the printing area on the page. The printer cannot print outside a hard margin, except when drawing vectors or doing justification. Horizontal margin The left horizontal margin specifies the first printable position on a line. The right horizontal margin specifies the last printable position on a line. Image area The printable part of a page. On the LNO3 (and most prmt@rs) you cannot print to the physical edge of the page. Input buffer | An area in the printer thatcan hold up to 1,000 characters: recewed from the host computer before printing them. This buffer allows the printer and host computer to communicate independent of printing speed. Initial values (for escape sequences) | g The LNO3 has permanently stored values for some escape sequences that control basic printing functions. The printer uses these initial values after you power up the printer or send a reset sequence (Paragraph 5.12). ISO International Standards Organization The alignment of prmted text at the right margin. When you justify text, you change the spacing between words. Justified lines have the first character of the first word at the left margin (or the line home position, if different), and the last character of the last word at the right margin. Landm:ape prmtmg A method of printing charactars parallel to thelong edge of the paper. Line home position | The active pdsnmn on the printed page after a carriage return (CR). The line home position serves as the left edge of the page for justified text. A CR may move the active position forward or backward in order to reach the line home position. : , Line end position The right edge of the printed page for justified text. GLOSSARY 216 Memory cartridges Optional ROM cartridges (for added fonts) or RAM cartridges (for added storage). You can insert cartridges in the printer’s front panel. Origin The starting point for printing on the page. You can select eather the corner of R the printable area or the corner of the physical page (Figure 5-4). Normal page format The page home line is 1/2 inch below the top margin and the page end line is 5/6 inch above the bottom margin. Extended page format The page home line is at the top margin and the pag@ end line is at the bottom margin. Page format select (PFS) An escape sequence that lets you select a page format from a list of standard formats. These formats select the character size, charactars per line, and lines per page. The active line on the page after a form feed (FF). The page home line specifies where a form feed positions the first printable line on the page. Page end line Usually, the last printable line on a page. When the printer receives a line feed R (LF) on the page end line, the actwe posntlon moves to the page home line on the next page Parameter A character that modifies the action or mterpretatlon of a control sequence All parameters are unsigned, positive decimal nntegers with the most significant digit sent first. S , PG e A numeric parameter indicates a numeric value such as a tab or margin location. In this manual, numeric parammers appear as actual values or - as Pn, Pn1, Pn2, and so on. e A selective parameter selects an action associated with the specific parameter value. In this manual, selective parameters appear as Ps, Ps1, Ps2, and so on. 217 GLOSSARY Pixel The smallest displayabl@ picture alem@nt on a video screen. The printer prints pixels as dots. Portrait printing A method of printing characters parallel to the short edge of the paper. This is the normal page ormntatmn for pnntmg For axampm this puge is printed in a portrait orwmatmn RAM Random access memory Received characters Printable characters and control functions that the printer receives from the host computer. The printer can process 7-bit and 8-bit data. Reset sequence An escape sequence that resets several printer operating features to an initial state. There are two sequences you can use to reset the LNO3 (Paragraph 5.13). Resolution The number of dot's printedin a deflrmd area. The rasolumn of the LNO3 is 300 dots per inch. | ROM-resident fonts The standard fonts that come with the printer. These fonts arepe rmanently stored in the printer's read only memory (ROM). Paragraph 1 3 lists these fonts Select graphic rendition (SGR) numlwr ' A number you must assign to a font file to make it avauabla forprinting (Paragraph 4.4.2). Serial character format The %qumtw arrangement of the bits of a dam charactm The printer sends and receives charactersin this format. A serial character has a start bit (space), 7 or 8 data btfi (1= mark, 0 = space), a salactabla narty bit, and a stop bit (mark). Fugum 2-1 shows this format 218 GLOSSARY Tab stop A preselected point that the active position moves to when you send the printer a tab control character (Paragraph 3.3). The active position is where the next character prints. Type family | | A group of fonts w1th, a similar design, but dlff@rmg in the six other font attributes. For example, courier is a type family used in the LNO3. Type family ID A 7-character code that identifies a given type family. For example, here are the type family IDs for the four standard type families used with ROM-resident font files. Type Family / | ldentification Courier RCOURIR Elite RELITEO 'DEC builtin Pi font ' - DBULTNT1 D000000 IS Vectors Lines drawn with length, width, and direction. Margins do not affect line drawing. If you try to draw a line beyond the physical limits of the page, the printer will print the part of the line that occurs within the page. The printer draws lines without modifying the active position. s Vertical margin | The top vertical margin specnfres the first pnntable line on a page The bottom vertical margin specifies the last printable line. These margins are called hard margins, because you cannot print outside the area defined by the margins. , XON/XOFF protocol A method of synchronizing data communication between the printer and the computer. The printer sends XON AND XOFF signals to tell the computer when to start or stop sending data. The XON/XOFF protocol prevents the printer’s input buffer from overflowing. Otherwise, you might lose data if the printer stops for some reason (a paper-out condition, for example) or if the communication speed is greater than the print speed. INDEX OF PRINTING COMMANDS BY MNEMONIC NAME CUU (cursor up), 106 DA (device attribute), 110 DECATFF (assign type family and font), DECAWM (right margin wrap mode), 59, 205 70 DECCRNLM (carriage return/new line mode), DECDTFF (deleting type family or font file), DECFSR (font status report), 63 DECHTS (horizontal tab set), 108 DECLFF (load font file), 69 61, 206 o 56-57, 204 DECOPM (origin placement mode), DECPSM (pitch select mode), 73, 196 71 DECPSP (proportional spacing), DECRFS (request font status), 72 62 DECSHORP (set horizontal pitch), 71, 82 DECSHTS (set horizontal tab stop), 108 97 DECSLPP (set lines per page), DECSLRM (set left and right margin), 100 DECSTBM (set top and bottom margin), DECSTR (soft terminal reset), DECSVTS (set vertical tab stop), DECVEC (draw vector), 120 DECVERP (set vertical pitch), DSR (device status report), DSR (device status request), 98 39, 121 109 80 112 111 219 220 INDEX OF PRINTING COMMANDS GSM (graphic size modification), GSS (graphic size selection), 65, 197, 202 63, 64, 202 HPA (horizontal position absolute), 102 HPB (horizontal position backward), HPR (horizontal position relative), JFY (justification), 103 118 LNM (line feed/new line mode), LS (locking shift), 68 51, 53 PFS (page format select), PLD (partial line down), PLU (partial line up), 87-96, 203 107 107 PUM (position unit mode), 74,76 RIS (reset to initial state), 39, 121 SGR (select graphic rendition), selecting a font with, 56, 59 60, 206 highlighting characters with, SHS (select horizontal space), SPI (spacing increment), SS (single shift), 104 115, 208-210 81 77, 200-201 51,53 SSU (select size unit), 64, 76 SVS (select vertical space), - TBC (tabulation clear), 79 110 SR VPA (vertical position absolute), 104 VPB (vertical position backward), VPR (vertical position relative), 106 A 105 R BY FUNCTION Fonts Files anfid Character Sets 46, 50, 207 Select a character set, 56-57, 204 Load a font file (DECLFF), 59, 205 Assign a type family and font (DECATFF), 60-61, 206 Select a font for printing (SGR), Select a font size (GSS and GSM), 63-65 Deleting a type family or font file (DECDTFF), 62 Request font status (DECRFS), Font status report (DECFSR), 63 Printer Modes Autowrap (DECAWM), 70 Carriage return/new line (DECCRNLM), 69 Line feed/new line (LNM), 68 Origin of page (DECOPM), 73 71 Pitch select (DECPSM), Position unit (PUM), 74,76 72 Proportional spacing (DECPSP), Page Format Page format select (PFS), 88-93, 203 Set lines per physical page (DECSLPP), 97 Set top and bottom margins (DECSTBM), 98 Set left and right margins (DECSLRM), 100 Justification (JFY), 118 Horizontal and Vertical Spacing Select size unit (SSU), 64, 76 Spacing pitch increment (SPI), 77, 200-201 Select vertical spacing (SVS), Set vertical pitch (DECVERP), 79 80 Select horizontal spacing (SHS), 81 Set horizontal pitch (DECSHORP), 71, 82 61, 206 222 INDEX OF PRINTING COMMANDS Active Printing Position Horizontal position absolute (HPA), 102 Horizontal position backward (HPB), Horizontal position relative (HPR), Vertical position absolute (VPA), 104 Vertical position backward (VPB), Vertical position relative (VPR), Cursor up (CUU), 104 103 106 SO 105 106 e Subscripting and Superscripting Partial line down (PLD), Partial line up (PLU), 107 107 Tabs Set horizontal tabs (DECSHTS), Set vertical tabs (DECSVTS), Clear tabs (TBC), 108 109 110 Highlighting Characters Underlining, 115, 116, 209 Bold printing, 115, 116, 208 Italic printing, 115, 117, 209 Strike-through printing, Oy 115, 118, 210 Drawing Lines Drawing vectors (DECVEC), 120 Printing Graphs and Drawings Selecting sixel mode, 126 Status Reports Printer ID (DA), 110 Device status report (DSR), 112 Device status request (DSR), 111 Resetting the Printer Reset to initial state (RIS), 121 Soft terminal reset (DECSTR), 121 INDEX Carrier detect, -A- Active column, selecting, 32, 102 Active line, - 103 ‘moving backward, 104 104 o moving forward, 105,106 moving backward, 106 Active position, 22 26-27 28-29 built-in, 32, 102 47 - 49, 55 DEC multinational explained, designating, See also Pixel aspect ratio switch, 7-bit code table explained, - Character sets hints, Autowrap 32 74 8-bit code table explained, Character set, Aspect ratio, 12 feature, Character cell, Character coding 32, 102 selecting, ,‘ 63-65, 197, 202 102 moving forward, 16 Changing character size, 30 52-53, 207 197 invoking (mapping), selecting, 54-55, 207 46, 50 , supported by LNO3, 141-158 Characters per inch. See Horizontal pitch Backspace (BS) character, Baud rate switch, 34 20 Binary to sixel data conversion, Bold printing, 115, 116, 208 , | Characters per line typical settings, Clear tabs, 131 - 92 110 Clear to send signal, 16 Commands. See the specific -C- Cancel (CAN) character, 35, 39 Carriage return (CR) character, command or the Index of Printing Commands Communication, 14 34, 69 223 224 INDEX Configuration switches, Control characters, ANSI graphic, 17-22 DECLFF (load font file), 29, 33 56-57 DECOPM (origin placement mode), 129 C0, 34-35 DECPSM (pitch select mode), C1, 36, 44, 45 DECPSP (proportional spacing), 71 converting 7-bit and 8-bit, 38 DECRFS (request font status), equivalent 7-bit and 8-bit, 37 DECSHORP (set horizontal pitch), private graphic, format, stop), o 108 DECSLPP (set lines per page), 97 38 DECSLRM (set left and right 41 summary, e DECSHTS (set horizontal tab 41 Control sequences, 62 71, 82 130 Control sequence introducer (CSI), 72 margin), 100 159-176 Cursor position report, 115 Cursor up (CUU) command, DECSTBM (set top and bottom 106 margin), 98 DECSTR (soft terminal reset), 39,121 -D - Data format, switch, 14 DECVEC (draw vector), 20 Data interface, signals, 16-17 switch, 20 Default value, Data set ready signal, 16 Data synchronization, 23 35 DC3 (device control 3) character, 35 DECATFF (assign type family | | DECCRNLM (carriage return/new 69 DECDTFF (deleting type family or font file), 61 DECFSR (font status report), 63 DECHTS (horizontal tab set), 108 Decipoint, 76 not used with HPR and VPR sequences, 76 used with spacing sequences, 74, 76 110 35 Device control string (DCS), format, 38, 127 43-44 ID command, 70 line mode), 35 42 Device control (DC1, DC3) characters, Device DECAWM (right margin wrap mode), 80 Device attribute (DA) command, DC1 (device control 1) character, 59 | 41 DEL (delete) character, Delimiter, 109 120 DECVERRP (set vertical pitch), 14, 15 and font), - DECSVTS (set vertical tab stop), 110 select switch, 21 Device status report (DSR), error codes, 112 113-114 Device status request (DSR), Down-line-loading fonts, 111 3, 56-57 Drawing lines/vectors (DECVECQC), 120 Drawings printing, 126 Font size ME“ : Error codes device status report, 113-114 loopback diagnostic, operational, 192 193 self-test diagnostics, 194 format, summary, 63-64 63 request, 62 Form feed (FF) character, 34, 39 Form lengths maximum, 39 39-40 selecting height and width, report, 38 control characters in, 64 Font status Escape (ESC) character, 35, 39 ) Escape sequences, modifying height and width, 84 Forward index (IND) character, 159-176 36 -G - _E. 34, 39; , ter, FF (form feed) charac Font cartridges, Font file, 3, 46, 195 47 assigning, hints, 59, 205 56, 206 | 48, 56, 61-62, 63 comment record, deleting, loading, | 127-128 left margin, printing, 129 126, 198 63, 64, 202 56-57 57 -H- 56 56, 60 187-188 grid sizes, 129-130 65, 197, 202 58 printing orientation, built-in, f Graphic size selection (GSS), note on Digital format, Font ID, 29, 30-31, 50, 51 Graphic size modification (GSM), 59 58 font record, 31 50 control characters, 185-188 built-in, 30 DEC supplemental, Graphics 56, 204 Font file ID, ASCIl, (GR) tables, 197 loading, See also Character sets Graphic left (GL) and graphic right 61-62, 206 selecting, Graphic character sets. selecting, attributes, 48 deleting, - Font (SGR) numbers afs'fsig%md. 60 Highlighting characters, 115-118, 208-210 Horizontal pitch | assigning, 59 with the SPI sequence, 77, 200 with the SHS sequence, 81 attributes, 47, 61 with the DECPSM and DECSHORP Fonts, 47 built-in, hints, 2, 12, 49, 55 197 selecting, 46, 60-61 sequences, 71, 82 226 INDEX Horizontal position LNO3 absolute (HPA), 102 backward (HPB), relative (HPR), v as a dedicated or system printer, 104 198 103 - | controls and indicators, Horizontal spacing. See Horizontal pitch compared to other Digital printers, 177-184 HT (horizontal tab), 34 AR initial operating state, HTS (horizontal tab set), overview, 36 R 3-10 1 121 | specifications, 11 Locking shift (LS) controls, 53 Identification product, 110 Index characters Margins forward (IN), 36 bottom, reverse (Rl), 36 effect of form length on, Indicator panel, 8 symbols, graphic left, 9-10 hard, Initial operating state, Input buffer, 98 121-125 23 left, | 129 100 100 reset by DECSHORP, Interface. See Data interface right, Introducer top, 100 82 - 98 escape sequence, 40 Mark bit, control sequence, 41 Memory cartridges, ltalic printing, 99 15 B 3, 195 115, 117, 209 N -dJ - New line mode. See Line feed/new Justification (JFY), 118 line mode v R Next line (NEL) character, 36 -L- Landscape printing, scanning area, Line feed (LF), Null (NUL) character, 2, 85 -0 - 83 34 - 34 B Line feed/new line mode (LNM), 68 Line home and line end positions, 87,100,118 ) Lines per inch. See Vertical pitch Off-line, 196 Origin placement mode (DECOPM), 73 Lines per page (DECSLPP) command, 97 Y INDEX Page format, 2 changing, 87 hints, 196 initial, 84 orientation, origin, size, landscape, examples, 93-96, 203 normal and extended formats, 88-89 | pixel values for margins and page positions, 91 portrait, 2, 56, 203 2, 56, 203 Printing speed, 1 Problems and solutions, Product identification, 72 Protocol 92 Restraint, 24 XON/XOFF, | 23 XON/XOFF or restraint switch, ANSI public and DEC private, 22 - in control sequences, 41-42 Ready/busy line, 15 Partial line down (PLD) command, Partial line up (PLU) command, 107 25 selecting a format for, 44-45 'Request font status (DECRFS), Pitch. See Horizontal pitch and Vertical pm‘tch 24 Received data 7-bit and 8-bit, 107 , Request to send signal, Pitch select mode (DECPSM) 71 Pixel aspect ratio (for graphics), Reset to intial state (RIS), 62 16 39, 121 Resetting the printer. See reset to initial state (RIS) and 127,128 76, 126 , soft terminal reset (DECSTR) See also Spacing sequences Resolution, values for margins and page Restraint line, positions, 200 195 Proportional spacing (DECPSP) 90 11, 196 199 Portrait printing, 198 110 Programming examples, - Programming hints, Parameters Pixels, 87 Printing orientation Page format select (PFS) command Parity, 83 changing, 83 typical page formats, 66 111 Printing area, 2, 56, 203 67,88 3-7 Printer modes (set/reset), 73, 86 Paper sizes, 32 Printer components, ~ Printer status, | printing areas, Printable characters, 12 24 Restraint polarity switch, 91 Reverse index (Rl), 2, 85, 203 scanning area for, 83 Positioning. See Horizontal Rotating the page orientation, position and Vertical position Position unit mode (PUM), Power requirements, 13 22 36 74, 76 56 227 228 INDEX -8 Spacing increment (SPI), Secondary request to send signal, 16 Vertical pitch | Status reports, 56, 59 Select horizontal space (SHS), 81 See also Horizontal pitch Selecting character set, 46, 50 46, 60-61 107 Substitute (SUB), 35, 39 Summary sheet, 17-19, 189-194 Superscripting (PLU), 64, 76 79 b I e 14-15 116 Tabs, SHS (select horizontal space), 81 See also Horizontal pitch Shift in (S1) and shift out (SO) 35 51, 54 dot patterns used to print, clearing, 110 11 135-140 selecting mode for, Type family, 48 16 assigning, 59 deleting, 134 127 sending data to printer for, 126 built-in, Software terminal reset (DECSTR) Space character (SP), < $ 55, 60, 61-62, 63 187-188 | 131 : 121 — 185 61-62 Type family ID, 199 ' built-in names, how printer decodes data for, Space bit, 108 Transparency paper, Sixel graphics Sixels, 108 vertical, Transmitted data, sighals s 108 horizontal, Toner, Signal names. See Data interface Single-shift controls, e synchronization and Control sequences characters, 79 Synchronization. See Data Sequences. See Escape sequences Shadow printing, 107 See also Vertical pitch 44-45 Serial character format, - 57 SVS (select vertical space), See also Vertical pitch Sending data, Subscripting (PLD), printing with a font file, Select vertical space (SVS), — Strike-through printing, | Select size unit (SSU), | 36,43 - String terminator (ST), highlighting characters with, font, 111 See also Summary sheet 60 115, 208-210 64, 76 SSU (select size unit), Select graphic rendition (SGR), selecting a font with, 77 200-201 See also Horizonatal pitch and -U- Underlining, 115, 116, 210 - 32 15 s INDEX -V Vectors, 120 Vertical pitch with SPI sequence, 77, 201 with SVS sequence, 79 with DECVERP sequence, Vertical position 104 absolute (VPA), 106 backward (VPB), relative (VPR), 105 Vertical spacing (SVS), 79 See also Vertical pitch Vertical tab (VT), 34 Vertical tab set (VTS), 36 -X XON/XOFF protocol, 23 summary, switch, 22 24 80 229 e — s R B R RO ARG AR [ —— S, SN P— st - T — s, R, A, T — [—— s iy e — S - s, g B P P— P — P P — e — B T — s P — s P — A, s P, AT, RT3 AR [ — HOSHHSS s, P — . - — S, S B — S
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies