Digital PDFs
Documents
Guest
Register
Log In
EK-LN01S-RM-002
May 1983
70 pages
Original
3.1MB
view
download
OCR Version
2.8MB
view
download
Document:
LN01 Programmer Reference Manual
Order Number:
EK-LN01S-RM
Revision:
002
Pages:
70
Original Filename:
OCR Text
EK-LNO1S-RM-002 LNO1 Programmer Reference Manual EK-LNO1S-RM-002 LNO1 Programmer Reference Manual Prepared by Educational Services of Digital Equipment Corporation 1st Edition, September, 1983 2nd Edition, November, 1983 Copyright © 1983 by Digital Equipment Corporation. All Rights Reserved. Printed in U.S.A. is strictly The reproduction of this material, in part or whole,tiona l Services Educa the ct conta n, prohibited. For copy informatio chusetts Massa rd, Mayna n, ratio Corpo Department, Digital Equipment @1754. ut The information in this document is subject to change witho lity nsibi respo no es assum n ratio notice. Digital Equipment Corpo for any errors that may appear in this document. The following are trademarks of Digital Equipment Corporation, Maynard, Massachusetts. Digital 1logo DEC DECmate DECwriter DIGITAL LA DECUS PDP DECnet MASSBUS P/0S Professional Rainbow RSTS RSX UNIBUS VAX VMS VT Work Processor TABLE OF CONTENTS INTRODUCTION CHAPTER 1 Features Printer Overview Print Mechanism Controller Communication Handler Character Processor Input Handler Page Buffers Data Buffers Engine Interface COMMANDS Processing Printable 7 and 8 Error Characters Bit Characters Character Control Characters Sequences Loading and Strings Fonts Load Font Control Assign Font Name Select Graphic Select Size Unit String Rendition Active Position Active Position Super and Movement Subscripting Horizontal Margins Horizontal Tabs Form Length Vertical Vertical Margins Tabs Text Justification Paper Selection Feed New Line Line Document Drawing Reset Mode Finishing Vectors to Default Initial values iii | b -~ ! = PRINTER and oSO WWw W Character Buffer w 3 Handler b CHAPTER Font Band Buffer State and States UGIWwWw Page and [ R D R R R D W WwWwWwWwwwww General DN N DESCRIPTION wwwww(;owwww i FUNCTIONAL = 2 ciow CHAPTER N Purpose of Manual Reference Documents > PAGE DEMOGRAPHICS General Line 4-1 Printer Subset 4-1 Overstriking Full 4-1 Paper Eject Command Landscape Print Profile 4-2 4-2 Portrait 4-2 Functionality Limit Print Profile Demographics 4--4 4-4 Types Page Too Page Too Format Print Complex (Processing Limitations) Dense (Storage Limitations) Limits Exceeded (Storage Limitations) Format Larger Than Paper 5 4-4 4-4 4-4 4-4 Data Buffers Page Buffers 4-7 Band Buffers 4-7 4-5 Band Buffer Complexity Band Aligned Printing CHAPTER ! - CHAPTER 4 4-7 4-13 COMMUNICATION 5-1 Interface Connector 5-1 Interface Signals 5-1 Internal Controls 5-3 APPENDIX A CODE EXTENSION ESCAPE TECHNIQUE SEQUENCES, CONTROL iv SEQUENCES, CONTROL STRINGS CHAPTER 1 INTRODUCTION The 1LN@1 Electronic Printer is a standalone non-impact page printer that uses laser imaging and xerograhic printing techniques. The LN@l1 is plug-compatible with the LP25 and the LP26 line printers and offers significant enhancements to typical line printer operation. The printer prints letter quality output on cut sheet plain paper at a maximum rate of 12 pages per minute. The LN@1 is capable of printing text in orientations; portrait and landscape (Figure landscape orientation, characters print parallel to of the paper. In portrait orientation, characters to the short edges of the paper. The LNfl into LN@l. is supplied with read-only memory (ROM). One portrait. 22 ROM font Other additional prints fonts fonts can can be print parallel two DIGITAL Multinational fonts built These fonts are always present in the in be two different 1-1). In the the long edges landscape loaded stored in orientation; from the the LNZ1. host the other computer. PORTRAIT ORIENTATION LANDSCAPE ORIENTATION CHARACTERS PRINT PARALLEL TO SHORT EDGES OF PAPER Figure 1-1 CHARACTERS PRINT PARALLEL TO LONG EDGE OF PAPER MA-1145-83 Landscape and Portrait Orientation Up in to A complete set of control functions allow the printer to have adjustable tabs, margins, and line spacing, draw horizontal and 1lines, absolute text placement commands, multi-font page vertical text justification wunderlining, superscripting and printing, subscripting and access to many font styles and sizes. Other commands allow for selecting either or both input paper trays, and offset Other stack the include: features i printer output. LP11 type parallel interface Two 250 sheet input trays Ccut page sheet plain paper- standard, legal, and A4 European sizes with matching trays. paper information needed to develop system the contains This manual as a line printer emulator and as an the LN@l use software to printer with its full range of capabilities. The LN@1 electronic to 1line printer requires minimal changes as a functioning when existing printer software unless the system designer wishes 1line printer operation to include both the landscape 1line enhance to and portrait print orientation. All LP11 functions are supported on the LN@l with the exception of bolding and certain overstriking limits (refer to Chapter 4 for more information). REFERENCE DOCUMENTS The following documents should be used for reference information. - American National Standard Code for ANST X3.4-1977 ANSI X3.41-1974 - Code extension techniques for use with Interchange Information the coded 7-bit character set of American Standard Code for Information Interchange ANST X3.64-1979 National American Additional Standard National controls for use with Information for Code interchange ISO 6937 (Draft - Coded Character Sets for Text Communication International Standard) CHAPTER FUNCTIONAL GENERAL This chapter electronic descibes the functional elements 2 DESCRIPTION of the LN#@1 printer. OVERVIEW The LN@1 stores printable images (characters) and translates them to an intermediate level. When a full page is received, then the final 1image is constructed (by pieces) to be printed. This technique reduces the memory requirements, the number of commands that commands that can be processed 4 for limitations). Figure 2-1 following elements. shows a paragraphs functional describes but puts <c¢an be stored, at printing time block each of limitations on and the number of (refer to Chapter diagram of the major the LN@l. The functional PARALLEL INTERFACE ! [} COMMUNICATION HANDLER ! INPUT BUFFER : CHARACTER PROCESSOR I r PAGE HANDLER DATA BUFFERS FONT HANDLER PAGE BUFFERS FONT 4 STORAGE BAND BUFFER ROM RAM 2 ENGINE INTERFACE PRINT DATA MA-1149-83 Figure 2-1 LNO1l Functional Block Diagram MECHANISM PRINT The print mechanism the paper trays, removes individual transports the sheets sheets of paper through the from paper one of path to the printing engine. The image is created using laser electrophotography. The image is then fused on the paper using a heat process, and finally deposited into the output tray. CONTROLLER The controller parallel removes interface. The to an internal format. functional parts. (7 controller The Communication Font data or then and bit characters) Character converts the divided into the following Input Buffer data from the interface Processor Handler Buffer and Engine Interface Communication Handler and Input Buffer The communication handler removes characters stores received the Handler Page Band and from is contoller Handler 8 them input buffer communication in stores rates the input buffer <characters wuntil they for from are further processing. The the communication line at removed by the character processor. Character Processor The character processor removes and analyzes input buffer. Font 1loads are directed to Printable characters, positioning commands commands are buffers. Page The Page and buffer the sent processes invocation page to handler the printable commands cannot be achieve of the on a for stopped higher various different instance) buffer This paper output to create page tray mechanism. characters, positioning to build page buffers. all of the encoded input data used to wait be built before a a page is started for throughput, elements of the additional the being page is through to define physically the engine information. controller will print mechanism try busy; to keep each all working page. To allow retries (in the event of a paper jam the controller will maintain the corresponding page until that page is delivered process requires that 3 page being tray. stores This buffer must This is because once To is font to are Buffers page a page. imaged. it commands Handler page handler commands A transferred Stacking characters from the the font handler. and font invocation picked 1imaged, from and one for of the the page to the output tray. buffers be maintained; paper being trays, for delivered the to for page the the that output If due to page size, controller will wait output tray before the there is not enough room for 3 buffers, for the current page to be delivered to next page is started therefore reducing the the the throughput. Data Buffers The page information 1is structured into data buffers. A data buffer is a collection of printable characters. It roughly corresponds to a 1line of data. Although various horizontal and vertical ©positioning commands may cause a new data buffer to be used (refer to Chapter 4 for more information). Font Handler The font handler processes memory. It provides the page and size information handler also provides to build band in the font loads and manages font storage handler with necessary font position order to build page buffers. The font band buffer with dot patterns in order buffers. Two default fonts are stored in ROM. Up to 22 additional be stored in RAM. The font storage 187,000 bytes of font information. Band Buffer and Engine memory can fonts can contain up to Interface Once a page buffer is complete, the printing process begins. The actual printed 1image 1is produced by combining the page buffer information and the font dot pattern information. The page buffer and font information is split 1into 32 scans, each 4096 dots (pixels) These bit drives the laser images are called band buffers. The band buffer to create a bit map image of a position on the page. There are two band buffers, while the other being is used filled alternately; with one drives the image data. laser CHAPTER PRINTER CHARACTER The PROCESSING printer American ©processes National characters Standards according Institute (ANSI) to a subset of standards 3 COMMANDS the X3.64-1979, X3.4-1977 processed chart The and X3.41-1977. With the ANSI system, characters are according to their position 1in a standard character (Figure 3-1). characters categories; in the graphic chart or can be printable divided into characters characters. Control characters cause some action by the printer whereas graphic characters are two and general control to be performed printed. In the sixteen column character chart, the <control characters contained in columns @, 1, 8 and 9. Columns zero and one called the CO@ control set. Columns eight and nine are called Cl control The rest graphic set. of or the chart (columns printable and DEL (hex 7F), 10-15 except hex A set. The characters are are the are and ©SP, DEL, hex regardless of 2-7 characters. and columns Columns called the Graphic hex FF, are called Af® the and hex FF character are set 2-7 1@-15) contailn the except SP 20) Left (GL) set. Columns the Graphic Right (GR) always the selected. NOTE SP can be considered either an information separator control character or a printable character. It can be considered a printable character because it takes up space both in the printer memory, and on the paper when (hex printed. same control 88 B7 8 o ® 85 BITS oooolo 0 %9 0 |NUL| 001 0] 1 0 10 1 1 00 1 13 3 01011 3&? 2 2 2 HT | 101 0|10 LF 34 2 # 43 3 22 31 62 63 C 32 51 33 64 45 5 |& 6 54 15 2% 6 22 & 7 27 ' 16 23 17 10 8 CAN 30 9 25 19 ) 12 32 * A 26 1A YT 13 4 33 ESC 27 + 1 100|n| FF 14 34 e CR 18 10 Sus B 25 46 38 26 47 39 27 31 8 24 e 50 7 52 D 65 E 34 35 66 36 67 55 a7 70 F G 40 8 56 H 51 4 9 57 71 42 52 : 72 53 . 28 29 2A 18 A B o % @ 50 25 11 || 23 44 49 21 ( o 35 81 5 24 - 21 42 1 a8 30 4 7 100 1|8 33 O 3% 14 o 1 43 2B 0 1 38 39 58 3A ’ 73 59 3B ’ 0 1 o, 5 100 sa| 40 101 65 41 102 P Q 66 R 103 S 42 67 43 104 68 T 105 U 44 by 45 106 70 a8 107 7" 47 110 v w 72 X 1 1m 73 J 112 K 113 48 49 74 aA 75 a8 0 1 ' 6 120 80 \ 50 121 81 51 122 82 b 123 c 52 83 53 124 84 d 125 e 54 z 55 126 86 56 127 87 57 130 f 9 88 h Y 131 89 4 132 C 133 58 59 90 5A ol 58 1 1 7 140 w| 60 a 1 141 97 61 142 99 63 144 100 t 145 Y 64 ] 65 146 102 66 147 103 67 150 v w 9 80 20 |\ 113 201 129 221 162 202 222 7 81 72 223 164 204 224 73 74 84 NEL | 133 166 206 75 | 95 76 77 227 135 151 210 230 87 170 78 88 w5 Y 171 121 211 j 162 z 172 K 153 154 97 162 2 243 3 A2 163 A3 245 fwes| A5 246 w6 96 207 19 Al 242 A6 § 247 167 A7 XX | 168 137 231 13| © 251 169 122] VTS | 138 212 232 252 7A 8A a { 173 213 233 7B 88 98 « 253 214 234 79 89 99 154 9A 123 PLD {139 | CS1 |15 AD 170 AA |17 AB 1c ’ wl| < 60 L el N | 1 |08 l 174 c 28 134 7¢ 8c 15 b4 35 - 55 sl — 75 M 115 | 135 M | 156 100 } 175 Rt | 215 w1 | osc| - D 10 2D D 40 50 6D 7D 8D 9D AD Tt 11 0|14 SO 16 14 36 56 76 N 116 A 136 166 o 176 216 236 256 vl | S 17 37 F 1F O 17 - 2 30 £ T 1E s 31 ASCIl CONTROL SET 2C - 46 / 57 2E o] 2F = 3¢ al > 62 ? 77 3E sl 3F 4c ) 78 4E ] 4F 5C aal 94 5E 137 — | 5] 5F =] n 110 7E 8E © 157 177 217 6F 7F 6E ASCIl GRAPHIC CHARACTER SET KEY la |« ASCH CHARACTER] 8C 16| §§2 | 42| ST | 188 o 235 s B1 262 178 A‘ 263 K B2 179 83 180 N 265 A |s B5 266 82| B6 267 183 B7 270 Do 1 271 185 o 272 » 273 B8 B9 186 BA |wl BB c1 302 N 194 6 303 6 c2 195 c3 304 1] © 305 O c4 || c5 307 199 c7 310 b' CE 200 o é 311 201 ’E‘ 312 F 313 c8 c9 202 CA ol cB 1 1 0 1 1 15 340 208] @ | 24 321 30 209 o] 322 E0 a =| 210 a 323 a D2 21 D3 324 |22 B 325 & D4 |23 D5 326 214 - D6 327 215 07 330 2;5 &1 342 360 240 - A 226 ) 343 6 E2 227 E3 344 FO 361 241 F1 362 242 F2 363 243 F3 364 28| © | 244 345 & E4 |2¢] E5 346 a@ | 230] E6 347 G 1 231 £7 350 F4 366 |8 FS 366 o | 246 Fé e 367 247 F7 370° 216 e 232 I1 0 331 217 ® 351 233 u 371 6 332 ® 352 G a2 G 333 D8 D9 218 DA |2e] D8 ¥ E8 E9 234 EA | 383 248 F8 249 Fg 250 FA 373 |25 G |> ouw | =2 EB FB8 12| Vs | 188 i 314 0e) Y 334 Jao| 7O 354 255 Vo | 275 s f 315 'y' 336 § 355 0| cD DD ED FD f[\ 318 206 336 T 356 238 376 T 317 337 357 ‘\\ 377 AC 73] 274 13| cé E BC oF AF ADD’L CONTROL co 306 c 1 14 320 M | 198 184 277 SET [\ | 1 190 AE | BE ¢ w| BF cc 205 222 CE |27 CF DC | DE B |28) DF EC |2 EE o | 20 EF \ 374 FC § 375 |23 254 FE \ 265 EF DEC SUPPLIMENTAL GRAPHIC SET +| »l JOCTAL {27 DECIMAL . HEX 1Bl 177 0 13 301 174 DEC MULTINATIONAL CHARACTER SET ESC ! 33 254 1 300 261 257 1| DEL | 12 S83 | 143 | APC | 159 8F ° 1 0 A | 192 B0 237 9E ] @ 0 el 276 PM | 158 1 12 260 84 wm A8 114 124 PLU | 40| 1 1 264 250 152] 98 + A4 ¥ 150 86 167 161 164 226 134 241 o 244 94 226 85 118 151 68 93 148 205 | . 107 147 83 ! 8A f 92 131 120] HTS | 36 69 ¢ 203 116 | IND | 132 A0 i 1 1 160 146 115 X 108 91 82 163 104 68 145 130 1, 0 \\ 240 128 | DCS | 144 114 1 10 70 165 0 0, 220 q § 62 1 0 200 161 143 1 0 8 112 r 0 160 P 98 0 74 |1 54 %% 4 50 $ 6 BS T 11 24 BEL 7 1 0008 22 13 6 B ! 1 20 5 o1 1 1|7 17 1 4 4 011 0]es 41 23 | ENQ} ¢ - 21 20 12 3 0 3 40 SP | 2| 9&3 19 4 0 0 w| 18 3 1 2 20 1 01004 0 1 0 2 T 0 0 g 000 1]1 o 0 COLUMN B4 B3 B2 81[ROW - 0 MA-10,087A Figure 3-1 Standard Character Chart PRINTABLE CHARACTERS Characters in the GL graphic set (hex 21 - 7E inclusive) characters in the GR graphic set (hex Al - FE inclusive) cause IN@Pl to print a character. These characters are received stored in a page buffer until printing time. and the and Each the received active character postion then is printed advances at unless the the active active postion position and is equal to the right margin. If the horizontal active position is equal to the right margin, the character 1is not printed and horizontal active postion is not advanced. NOTE The vertical the font(s) line. Refer information. 7-BIT AND 8-BIT Character CHARACTERS 1is characters. However, some circumstances. 7-bit under ©processing Basically It spacing is a function of selected for a particular to Chapter 4 for more the 1IN@l processes is only a described printer 7-bit device 7-bit control set, @@ hex sequences, and device in the control to 1F control this document in terms of recognizes 8-bit characters that recognizes 8-bit data. characters (those in the C# hex). All escape sequences, control strings are processed only in their 7-bit representation. Any 8-bit control characters (those in the Cl control set, 89 hex to 9F hex inclusive) are ignored, including the 8-bit representation for the Control Sequence Introducer and Device Control Strings However, all 8-bit 21 to 7E hex recognized, When GL the Shift In graphic hex without printer sets and the is X3.4 and dquestion default ROM host Out LN#l prints be by the control font. all the reserved the are GL hex only GR and sets, are The C@ are are character LN@1 ignored. prints positions loaded in the and 7-bit question mark. The empty that the available. reverse fonts last and inclusive) characters information. For the FE environment, (SO) as in to controls. delete) set. any characters in the character filled a 7-bit detailed set for positions (both hex and defined for Al shifting for mark the in and is character computer, of space Shift X3.32 reverse use used ERROR CHARACTER The error character ANSI characters inclusive (including (SI) controls. See the in the from the character greater than the last character. Empty sets loaded from the host computer must CONTROL A to CHARACTERS control control printed. character character The control LN#l responds characters. mnemonic, full received by the 1is a single character control function used processing. Control characters are not Each title, printer to the control following character and function. All cause no action. is subset of described other control the with C@ its characters NOTE Each control manual an has a function 1listed mnemonic. The mnemonic abbreviation of the 1in this is function control name. Null -- The null NUL stripped space (hex from in 00) character the Horizontal stops Tab than are -- the set is the DECSHTS Refer to Line Feed 1line set the -- in the reception to the the active right right escape advances tab stop. printer. without It is occupying margin. LF tab (hex or the active are set horizontal horizontal Horizontal tab stops tab active are set description of the sequence. States for a stops. 0A) character vertical the horizontal If no tab stops position, margin, Default Values and feed the operation upon #9) character horizontal horizontal horizontal The no stream (hex past using unless HT tab next position default data buffer. The horizontal position to the greater causes the increments active position the vertical is at the active position, bottom margin. NOTE The vertical the font(s) line. Refer information. spacing 1is a function of selected for a particular to Chapter 4 for more If the wvertical active verticalactive position is If linefeed newline mode position is also Vertical Tab -- The to wvertical the active VT next the position one DECSVTS escape @B) character vertical position active stops, to (hex tab horizontal tab set position 1is at the bottom margin, the set to the top margin of the next page. (LNM) is enabled, the horizontal active the left margin. tab advances but no greater position remains vertical 1line tab spacing. sequence. the stop greater vertical than than the unchanged. character Vertical the position vertical bottom margin. The there are no such If increments tab active current stops vertical are set active using ' the Refer to of default vertical the Form Feed the -- Default Values FF (hex tab and States section for a description stops. #C) The form feed character advances the vertical active position to the top margin of the next page and sets the horizontal active position to the first character position of the first line. This causes the current page buffer to be printed. A blank on the sheet is printed if CR @D) a form feed is sent without any text page. Carriage Return -- (hex The carriage return position to be moved to character causes the left margin. the horizontal active Cancel -- CAN (hex 18) The cancel character is used to indicate that the data with which it is sent 1is in error or is to be disregarded. Therefore, the receipt of CAN causes immediate termination, without execution, of any sequence in progress. The CAN character itself receives no further processing. as graphic sequence. processed control The Substitute -- SUB (hex 1A) The substitute character character which characters not characters, could not 1s be used to following as part of indicate represented. the the CAN escape are or replacement of a The receipt of SUB causes immediate termination, without execution, of in progress. The SUB character 1itself receives any sequence no further processing. processed graphic Delete The -- DEL delete stripped space Escape The characters characters, in —-- (hex ESC as following part of the the SUB escape or are control as sequence. 7F) <character from the not the <causes data no stream operation upon in reception the printer. without It is occupying buffer. (hex 1B) The escape character 1introduces an Appendix A for a description of escape escape sequence sequence. Refer processing. to SEQUENCE The AND STRING following control extension Loading Loading sequences and technique Fonts and using ¢ * * DEFINITIONS prargraphs describe control is given fonts from in Appendix the Load the font into the Assign the font name Invoke the font to Rendition (SGR) the strings. LN@#1 A. host computer LN@l1 escape sequences, A summary of ANSI code requires 3 steps: font memory print using the Select Graphic sequence Refer to the Load Font Control String, Assign Font Name, Select Graphic Rendition (SGR) sections for more information. and Load The over Font Control String 1load font(s) control string writes the new font information the current contents of the font memory. All previous font information 1is 1lost including all font bitmap data and all font assignments. You can not send more than one font load per page because font 1loads cause page ejects. Therefore, all fonts required for a single page must be loaded before sending any page data. At power the Load Values and up the default fonts are assigned and invoked. Refer to Font Control String and Assign Font Name in the Default States section for more information. The LN@l1 allows vyou to load a font with a name identical to the default fonts. During a font assignment, if a loaded font exists that has an identical name as one of the default fonts, the assignment 1is made to the default font. Fonts are accessed with codes from 20 to 7E hex inclusive and AQ to FE hex inclusive. Fonts can be loaded such that the characters from 20 to 7E hex inclusive and A@ to FE hex inclusive have character cells assigned for them. ESC P Psl 1B 5@ *** ESC P 1is ; 3B Ps2 *** of Format Appendix Psl 1is the "Font Record" the device control beginning in vy 79 load LN@l 1. The entire value is other font A dot for string pattern more Font 1. "“Comment Record" introducer string. Refer and to ESC 1B \ 5C indicates the Control String information. identification Load than ; 3B Control number. String The is numeric ignored, value if the must be numeric Ps? indicates whether a summary sheet should be printed or not. Ps2 Action Y] Print summary sheet 30 1 Do not print summary sheet 31 The entire value is 1load other Font Record Font data font than 1is a control 6 or string transmitted to the Device Control String Terminator the end of the font record. The of for binary data that is ignored, if the numeric 1. device in the font record. The ESC \ or the delimiter ";" marks font record essentially consists is converted a description of how binary data to sixels. is encoded Refer to Appendix B into sixels. Resources are consumed for each font loaded into the printer. Up to 187,000 bytes of font information can be stored in font memory. When processing the font record, characters in the hex range of 00 3E inclusive are ignored (except for ESC, and CAN). The font byte <count is not affected by the characters in the hex range of g9 to 3E hex inclusive. If the LN@1 receives an ESC or CAN control character in the middle of a Font Record, any fonts already received are loaded and made available for assignment and invokation. Incomplete or partial fonts are Comment ignored. Record The LN@l prints a summary sheet when you select this option using parameter 2. This summary sheet can contain a comment record. The comment record is a line of user supplied text. The comment record may consist of the printable characters in the hex range of 20 7E inclusive and A@# FE inclusive. The maximum number of characters permitted 1in the comment record is 132 decimal; additional The the comment ";" you characters record follows character select record, the are discarded. (3B "print summary the hex). summary Sheet is font The sheet" printed record pattern text would be. <control string When which and comment discarded. and contains the a comment record is record. comment and with They are record is separated optional. do not supply a blanks where the the LN@1 receives a load selects "no summary sheet record, the summary sheet by When comment comment font dot printed" is not printed Assign The Font Name font assignment a font number. rendition escape A maximum FE of 20 inclusive) name as font assigns or characters (in the hex permitted for the name. is part name sequence associates Once this assignment is made, sequence is used to invoke the of its that font does record. not exist If in range a font any assigned to the font SGR escape sequence. number. The The LNP1 allows you to load a font default fonts. When the user attempts font number default Fonts made. with font are is a identical to font font searched in font load if two fonts assignment font name assign the assign other can ROM be assigned resident font names to 11). Up to be made number 10 fonts any of can where assign Assigning a printing does font not example, assume is invoked for font. If a one printing States font and the must be section the for when the font fonts, font STAR the ESC P Psl ; Ps2 } 5@ *** 3B *** 7D ESC P 1is time. to a SGR one sequences new the fonts set to font is to be assigned to LIGHT LIGHT 1is font, default font "Font Name" are then using sequence. name with fonts, the the assignment numbers. number. (font Font can the number font Characters printed a the is containing the same font that is loaded font font You the named any stream. name 1B beginning Format in at to font new font reinvoked default multiple to A@ a references loaded the default cause still wusing with contains of data printing. are characters the assigned the character For characters be in fonts and a font assignment is name already assigned loaded, each made to the to to with a name identical to the to assign the font name to a order are is name printing. 7E assignment first, A for to used. Therefore, name, the font name 20 currently font assignment sequence 1is ignored. If received that uses a font number with a font to it, the current assignment is discarded is the font select graphic font of Each a the You You can numbers can also 10 and assignments can send an unlimited printer. that is invoked font #12 printed assigned font invoked for and for printing. font #12 using the STAR to font $#12, To print STAR. you must reinvoke Refer for the and to #12 again Default Values assignments. ESC \ 1B 5C the device control string introducer of the assign font name string. Refer Appendix A for more information. and to indicates Control the String Psl - is the LN@]l identification number. The numeric value must be 1. Ps2 - is the font number Ps?2 to be assigned to the font name. Font concerned primary font 1 Y] 31 30 1 1 31 31 first 1 2 31 32 1 3 31 33 1 4 31 34 1 5 31 35 1 6 31 36 1 7 31 37 1 8 31 38 1 9 31 39 alternative second third font alternative alternative font font fourth alternative fifth alternative font sixth alternative font seventh eighth ninth Font Name - up to font 2@ alternative alternate alternate character (in font font font the hex range of 20 to 7E and A@ to FE inclusive) name used to associate font name with number. The font name may be up to 20 characters long. If more than 20 characters are received, the extra characters are ignored. ESC end \ of Format is the device control the assign font name in Appendix A for more Select Graphic Rendition The select graphic rendition for printing and select string terminator. It indicates the string. Refer to the Control String information. sequence underlining. allows you to invoke a font SGR - Font Invocation Font numbers set control the two invoked are resident on a page orientation. assigned or the page) the RIS of dip Up to font to 22 fonts. because names fonts However, one of the using can be the assign loaded in character addition to a maximum of 23 fonts can be resident fonts has the other Since there are only 10 font numbers that can be invoked, you must reassign and reinvoke fonts (within order to print more than 10 fonts per page. in Fonts can sequence. sequence assigned string. be The invoked anywhere in the data stream using the SGR 1invoked font remains in effect until another SGR the RIS sequence is sent. Upon power-up or receipt of or sequence, the fonts are selected according to the setting switch #2. Refer to SGR in the Default Values and States section. The font (i1f SGR sequence 1is 1ignored if no font name is assigned to the number. If this happens, it is reported on the summary sheet requested). Each page must be printed 1in either 1landscape or portrait orientation. Orientations can not be mixed within one page. If you attempt to invoke a font that is of an opposite orientation to the font currently in use, then printing stops on the current page, and starts on the next page in the new orientation. NOTE A specific font can have only one orientation (e.g. all characters must be either landscape or portrait). SGR When Underline underline underlined, effect is including across line and selected, spaces page and all tabs. printable The characters underline mode boundaries. NOTE The selective parameters for invoking fonts and underlining may be included within the same parameter list. Refer to control sequence format in Appendix A for more information. stays are in Select Graphic Rendition -- SGR [ SB ESC 1B Ps *** m 6D Ps Function 1) Turn underline off 30 underline Begin 4 34 1 2 31 30 1 1 31 31 1 2 31 32 1 3 31 33 1 4 31 34 1 5 31 35 1 6 31 36 1 7 31 37 1 8 31 38 1 9 31 39 2 4 32 34 Invoke primary (default) font Invoke first alternative font Invoke second Invoke third alternative alternative font font : Invoke fourth alternative Invoke fifth alternative font Invoke sixth alternative font Invoke seventh alternative Invoke eighth Invoke ninth Turn alternative alternative underline off font font font font Select Size Unit SSU establishes parameters is The used until SSU escape used the in the unit of measurement 1in this document are processed. LN@1 sequences receives affects the another numeric SSU or which The - Set Set Vertical DECSLPP - Set Lines the following RIS. parameters in Horizontal Tab Stops Tab Stops DECSTBM - Set Top DECSLRM - Set Left and Physical Page Bottom Margins Right Margins and HPA - HPR VPA - Horizontal Position Relative - Vertical Position Absolute VPR - DECVEC Horizontal Per Vertical - Position Position Absolute Relative Draw Vector NOTES The printer converts decipoints into pixel values by multiplying the decipoint value by 5 and then dividing by 12 with the remainder being discarded. All arithmetic operations are performed wusing Because of values of 1 integer instructions. this truncation, decipoint or 2 convert to @ pixels. There 1is an accumulative positioning error if decipoints is selected for the size unit and the wuser 1is sending relative positioning sequences (HPR and VPR) . This error is because the conversion is Select ESC 1B Size on Unit an -- [ Ps SP I SB *** 2¢ 49 between decipoints integer basis. and pixels are ignored. SSU Ps Size ] No Unit Action 30 2 32 Decipoint 7 Pixel (1/72@ inch) 37 Numeric parameter values other than 3-12 2 or 7 numeric selected sequences: DECSHTS DECSVTS the unit Active Position Active position defines a specific point on the paper. It consists of a vertical and horizontal coordinate (horizontal active position and vertical active position). Horizontal active postion next printable 1image cell the wvertical coordinate aligned (see Figure 3-2). is is the horizontal coordinate where the aligned. Vertical active postion is where the next printable image cell is NOTE Coordinates numbers begin with @ not 1. Printable characters advance the horizontal active position unless the current active postion is at the right margin. If the current active postion printed and The the following 1is at the right margin, the active postion is not advanced. explicit commands also character modify horizontal position: Carriage Return Horizontal Horizontal Tab Position Absolute Horizontal Position Relative “*— PRINTED IMAGE (CHARACTER) CELL CELL ALIGNS WITH VERTICAL —& (BASELINE) ACTIVE POSITION HERE CELL ALIGNSWITH HORIZONTAL ACTIVE POSITION HERE MA-1155-83 Figure 3-2 Printable Image Orientation Cell is not active The following position: hd commands may implicitly modify horizontal active Form Feed (Sets horizontal active position to zero) Line Feed (when Line Feed New Line mode is selected) Set Left and Right Margins Set Top and Bottom Margins Set Lines Per Physical Page Justify RIS SGR when there 1is . an orientation change (landscape or portrait) The following explicit commands modify vertical active position: Vertical Tab Line Feed Form Feed Vertical Position Absolute Vertical Position Relative PLU PLD The following commands may implicitly modify vertical active position: SGR ’ when there 1is an orientation change (landscape or portrait) Set Lines Per Physical Page Set Top and Bottom Margins RIS - Adjusting Vertical Active Position Printing a line of characters at the vertical active position may result in the vertical active position being adjusted in order to prevent 1large fonts from over printing the previous line. The following sections defines the adjustment to the vertical active position. Vertical Parameters Line Spacing H is the offset of the highest ascender above the baseline of B of LS an is (300ths inch) the offset of the an is lowest descender below the baseline (380ths inch) leading the normal (white 1line spacing distance for the font including space above and/or below the character within the printable image cell). The LS value by an amount equal to the leading. is usually larger than (B + H) Line Line Spacing (Portrait Orientation) spacing in the portrait orientation "If the is based on two factors; the size of the largest font in the line being processed when the line feed is encountered, and the size of the largest font in the line being processed after the line feed is executed. line 2, executed first 1line is called 1ine 1 and the second line is called the distance moved down a page when a line feed is then is calculated follows: as Line Space = Lower Space (1) + Upper Space (2) where: Lower Upper Space = B value from font header (of largest font) Space = (LS - B) value from font header (of largest The 1largest font largest B wvalue. size, (LS - B) B + on the 1line 1is defined as the font with the If the largest font on both lines are the same spacing the then = LS font) is: (the line spacing including leading) Line Spacing (Landscape Orientation) Line spacing in landscape orientation uses the LS value only (of font on the line). Since imaging in landscape begins the highest ascender in the font, the H value 1is of the largest top the at used to determine the position of the baseline of a landscape line. No vertical active position adjustments are made in the following cases: 1. Initial wvertical ©position established using a vertical position abselute command in portrait orientation. 2. Initial tab in wvertical ©position established using a vertical portrait orientation. Active Position Movement The HPA, VPA, position to a HPR, VPR sequences allow you to set the active specific 1location on the paper. The HPA and VPA sequences are bidirectional, that is you can move active position anywhere on the page from anywhere on the page within the margins. The HPR and VPR sequences are unidirectional, that is you can only increase the current active position within the page. If you attempt to the to print beyond the margins, the active position margin. . NOTE used for the parameter(s) numeric The active ©postition movement sequences can be expressed in units of either decipoints or pixels wusing the SSU sequence. Refer to the §SSU sequence description for more information. 3-15 is held Horizontal ESC 1B [ 5B Position Pn *** Absolute - HPA §Q HPA causes the horizontal active position to be moved to the Pn-th horizontal position of the active wvertical position. If an attempt is made to move the horizontal active position past the right margin, the horizontal active position stops at the right margin. The default Horizontal value is Position ESC [ Pn a 1B 5B *** 6] HPR causes the 1. Relative - horizontal HPR Pn + the current horizontal ©position on the active vertical position. new horizontal active position 1is computed by adding Pn to active The the horizontal active position horizontal active position active position stops at the position to be moved to wvalue. If you attempt to move the past the right margin, the horizontal right margin. If decipoints 1is selected as the size wunit and you send relative position sequence with 1 or 2 as its parameter value, to conversion to pixels the horizontal active position will the due not change. The default Vertical ESC 1B [ 5B value Position Pn *** is 1. Absolute - d 64 VPA causes the vertical vertical position at the attempt margin, The to the default Vertical ESC 1B [ 5B active active position to horizontal value 1is bottom adding bottom margin. Relative - VPR e If vyou attempt bottom margin, the to the bottom §5 margin. Pn below 1. VPR causes the wvertical active position current vertical active position at position. below the be moved to Pn-th position. 1If you move the vertical active position vertical active position stops at the Position Pn *** VPA the The new current to move vertical vertical vertical to Pn + the horizontal the vertical active position active position stops at the active active 3~16 to be moved the active position position. is computed by If decipoints relative to 1is position conversion selected as sequence with pixels the to the 1 or size 2 as wunit its vertical and you send the value, due position will not parameter active move. The ' default wvalue is 1. Horizontal Margins The 1left horizontal margin specifies the first printable position on a 1line; the right horizontal margin specifies the 1last printable position on a line. Printing is permitted only within the left and Margins right margins are horizontal outside the defined inclusive. as hard margins. active ©position nor margins. There are two That the printed exceptions: 1is, neither image may be the placed The escape Sequence DECVEC - Draw Vector is permitted to draw lines outside During 60% of the margins. Jjustification 1if the the width of the space unjustified. The resultant interword spacing is less than character, the text is printed text will exceed the right margin. NOTE If the exceed within printed the 1left the 1left image 1is margin, it image 1is placed as to margin, it is shifted margin. If a printed placed as to is ignored. exceed the right The set horizontal margins sequence when accompanied by two numeric parameters, sets the left and right margins. If the first parameter is the smaller of the two, the left margin is set to that specified parameter and ignored the the right margin 1is set to the than or second. The sequence equal to of the right If than the 13.65 first parameter is margin, the the is margin, the 1less margin. parameter in the made to sequence sets attempt is (4095 second parameter made is parameter sequence margin the right to in margin to left margin the is new ignored if one margin further is omitted, specified to the the remaining value. left of the If an left ignored. 1left set greater the margin the to is pixels). the right set first The sequence is also would set the right parameter sequence than if parameter. parameters inches sets attempt If is the second specified the the ignored. If 1left sequence the margin, the to is omitted, specified the right horizontal it is set the value. of the first If an right active position to new the left If both parameters Refer to margin settings. Set Left the and are zero Default Right Margins - ESC { Pn ; Pn S 1B 5B **% 3B **%% 73 The 1left parameter; margin is the right or omitted, Values and the margins States section are for unchanged. the default DECSLRM set to margin the 1is wvalue to set of the the value first numeric the second of parameter. NOTE The numeric parameter (s) expressed in units of either can be decipoints or pixels using the select size unit (SSU) sequence. Refer to the §SSU sequence description for more information. Horizontal Tabulation Stops A horizontal tab is a preselected point on a line to which the horizontal active position advances when a horizontal tab control character 1s received. The printer has 32 possible horizontal tab stops. Each stop may be set independently. Setting a stop already set has no effect; the same is true for clearing a stop already cleared. Tab stops may be set regardless of margins. Refer to the Default Values horizontal and States tabulation The set tab parameters. section for a description of the default have can a variable number of numeric be sent in any order in the stops. control sequence can Numeric parameters sequence. NOTE Four seperate required sequence eight tab New tab lowest stops wvalue. stops are discarded. are If inserted more than retained, while Horizontal tabulation stops position all of escape lines. sequences are to 1load 32 stops, as each can only contain a maximum of stops. starting 32 the are tab tabs set with stops to with the tab exist, the the stop with first highest the 32 tab values are the corresponding absolute Set Horizontal ESC 1B [ 5B Pn *** Tabulation i 3B ees ... ; 3B Stops - Pn *** DECSHTS u 75 NOTE The numeric parameter(s) can be expressed 1in units of either decipoints or pixels using the select size unit (SSU) sequence. Refer to the SSU sequence description for more information. Clearing Tab Tabulation Stops Clear ESC [ Ps g 1B 5B *** {7 Clear the tab - stops TBC as indicated Ps Function 0 No by Ps. action 30 3 33 Clear all horizontal 4 Clear all vertical tab tab stops. stops. 34 Set Lines Per Physical Page This sequence defines the origin form. If the point @,08. user The maximum pixels) printing pixels). If the attempts to print may be Form attempts inches (4200 pixels). printed form at landscape to the set the form 1length the form length of 1length images displaced if printed in length, vertical active For form 1length and the location length defines the logical length is the length greater set LN#1 is set to within the first bottom of the to is 14.8 form. 14.0 13.64 inches .35 the origin-_is fixed inches (4095 and inches of the paper. The last 3.5 3-19 inches are left the the images at left-hand corner of the paper. That means if the form set to 5 inches (for 8.5 inch paper), text is printed on 5 14.0 (4200 the first .35 inch area for 14.0 position is properly maintained. orientation, than the the inches inches Although of of user images may be inch form the upper length is the first blank. For portrait relation orientation, to the point which is is the form origin will be For is example, printed form the length. 1location The of location the of origin the set is in that n inches from the bottom edge of the paper, where n 1length. Therefore, for different form lengths, the at different locations. if in form the length last 4 is 4 inches inches of the (for 11 paper, inch with left blank. In this example the 0,0 point is 4 bottom edge of the paper (or 7 inches from the top Refer of the is origin to the default Default Values values for the and States section DECSLPP sequence. paper), first 7 inches edge). for a text inches from the description NOTE The numeric parameter(s) can be expressed in units of either decipoints or pixels using the SSU sequence. Refer to the SSU sequence description for more information. Set Lines ESC 1B [ SB Set form per Pn *** Physical Page - DECSLPP t 74 length to Pn. Set top margin to @#. Set bottom margin to line; the Pn. Vertical Margins The top vertical bottom vertical is allowed inclusive. Margins active outside only on specifies specifies the lines the the first last between printable printable the top and line. Printing bottom margins are defined as hard margins. That is, neither the vertical position nor the printable image can be placed outside the margins. (DECVEC) margin margin The only sequence. the exception You can use to this the DECVEC rule is the sequence Draw Vector to draw lines margins. NOTE If the printed image is placed as to exceed the vertical margins, it is moved within the margins. When the form top margin is length. The length is changed, vertical set to zero and the bottom following <conditions must margins are cleared; the margin is set to the form exist to set new vertical margins. ¢ ¢ * Top margin must be greater than or equal to one Bottom margin must be greater than or equal to the top margin Form 1length must be greater than or equal to the bottom margin 3-20 Attempting top margin vertical to print above the automatically advances the top margin of character received perform a The set set the form of may to the two, is is If first the attempt made the is If second parameter sets is to bottom position feed causes accompanied If to the position if the parameter. parameters the the new and first The by first (LF) the to the control printer to is the parameters, in the to the bottom parameter the set sequence margin is depending greater also in top margin the top margin margin the to sequence the below the is specified margin the specified above or if one past the remaining line. If top margin, omitted, line. the on than ignored omitted, the the activity. bottom is to is first parameter vertical active top margin parameter set two parameter the the printer sequence would bottom set ignored. sequence made line margin margins. vertical parameter sets the below length. parameter is a the top margin is set to set to the second. Then ignored specified form bottom repositioned second assigned example, sequence, bottom active the For the margins be sequence equal at and of the bottom current page. or active feed. top position The next vertical smaller andthe the the margin If the an an the first attempt sequence 1is ignored. If the vertical active position the new top margin, it is set to the new top margin. bottom margin, the is less than If margins are both parameters unchanged. Refer default margin Set and Top are to the Bottom Margins ESC [ Pnl ; Pn2 r 5B *** 3B ***x 79 The top margin is If the parameter Whenever first is to zero Values or omitted and States the section for settings. 1B sequence set Default set to - DECSTBM Pnl, is the and the greater bottom than the margin second is set to Pn2. parameter, the ignored. the vertical margin or greater position is set to active position than the new bottom the top margin. is less margin, the than NOTE The numeric expressed or to 1in parameter (s) units of either can the vertical be decipoints pixels using the SSU sequence. Refer the SSU sequence description for more information. new top active Vertical Tabulation Stops A vertical tab is a preselected line to which the vertical active position advances when a vertical tab control character is possible vertical tab positions. 32 has printer The received. Vertical tabs can be set independently. Setting a tab stop already set has no effect; the same is true of clearing a tab stop already tab stops can be set regardless of margins. cleared. Vertical Values and States section for a description Default the to Refer of the default vertical Tabulation Stops - DECSVTS Set Vertical ESC 1B This [ tabulation stops. Pn 5B *** control i eee 3B ..., 3 Pn 3B *** can sequence \V 76 a have variable number of numeric parameters. The numeric parameters can be sent in any order. NOTE , Four seperate escape sSsequences are required sequence each as stops, 32 load to of maximum a only contain can eight stops. tab inserted starting with the tab stop with the New tab stops are If more than 32 tab stops exist, the first 32 tab lowest value. stops are retained, while the tabs with the highest values are discarded. NOTE be can parameter (s) numeric The decipoints either in units of expressed select size unit the wusing pixels or SSU the to Refer sequence. (SSU) more for on descripti sequence information. Text Justification : 1is selected, the LN@1 printer justifies text Jjustification When the currently defined horizontal margins by 1lines within text varying the spacing between words. The LN@l1 does not determine the end of 1line nor does it make hyphenation decisions. The spacing such that the first character of the is adjusted between words margin; the last character of the left starts on the first word The space between words of the margin. iast word ends on the right justified text line is evenly distributed. The minimum and maximum distance between words will not be less than 60% nor greater than 2008% of the width of the space character in the font from which the words' characters are derived. A line of text will not be justified if the maximum or minimum space size restrictions cannot be honored. In this situation the unjustified text is printed, (even though it may print the line past the right margin). Text justification is performed on all text which occurs between start justification and stop justification sequence. a A start justify sequence detected within the line defines the left justification point for that 1line, and a stop justify sequence detected within a line defines the right justification point for that 1line. To Jjustify a line of text according to the left and right margins, the start and stop justify sequences must encompass the line beginning and end points. The following control functions determine be justified when justification is started. the end of the line to CR - Carriage Return LF - Line Feed VT - Vertical Tab HPA - Horizontal Position Absolute VPA - Vertical Position Absolute FF If - Form Feed Jjustification ' 1is turned on then off for only a portion of a text 1line, those space characters outside the start and stop justify sequence are not modified. Those characters outside of the start and stop Justify sequence use the width of the space character in the invoked font. Justify - JFY ESC 1B [ SB Ps *** ©SP 20 F 46 Perform the justification action as indicated by Ps. Ps Function Y] Stop Justification. 30 2 Start Justification. 32 Paper Tray Selection The ILN@1 printer has two paper trays; the top and bottom. You can choose either tray, from which paper is used for printing. The LN@l printer defaults to alternate usage of the top and bottom trays, empty, starting the other You can sequence., method of with the top tray. When the tray is automatically selected. explicitly select Explicit selection operation. When one a tray by sending the disables the alternate an empty, the LN@1 printer waits fill the tray before proceeding. explicitly DECASFC escape tray selection selected indefinitely for tray becomes the tray becomes operator to The of of last DECASFC escape sequence received page composition determines the paper that The page. default Automatic value Sheet ESC [ 1B 5B *** Paper prior to the completion source for the printing Ps tray is 4. Feeder ! v 21 76 selection Control is - enabled DECASFC as indicated Ps Function ) Enable alternate by Ps. tray selection 30 1 Select a sheet from the top tray Select sheet from the bottom 31 2 a 32 Line Line tray ' Feed New Line Mode feed new line mode defines character position. line feed (LF) the LF control 1is received, the printer increments the vertical active When this mode is enabled, and the LF control character margin addition control is character. received in mode it the function of this mode is disabled, returns the to New line ESC 1B [ 5B This sequence disables Ps *** - When the horizontal usual the and active position to LNM line feed new line mode as indicated Function 2 "No action 30 2 32 LF control character advances only the vertical active position. [ 5B Ps *** 1left 1 4C Ps ESC 1B the functions. h {8 by Ps. This sequence enables line feed new line mode as indicated by Ps. Function | Ps No ) action 30 2 32 7] 30 LF control character causes the active position to be moved to the left margin of the next Document Finishing The LN@1 has the in an position "offset"TM line. ability to deliver documents to "no-offset" or ©position. When the output the tray no offset selected pages are delivered to the output tray in a is single stack. When the LN@#1 receives the DECFIN sequence, subsequent pages are delivered to the output tray slightly offset from the previous stack. The offset remains in effect until it is explicitly changed. The paper offset is reset to the default or "no-offset" position at device power-up. DECFIN - Document Finishing ESC [ Ps ! } 1B 5B *** 21 7D Document finishing is enabled Ps Finishing Y No as indicated by Ps. operation offset 30 1 Toggle the offset of the paper 31 The default selective parameter value is #@. Drawing Vectors This sequence is used to draw a direction 1is ©parallel to the direction drawing is parallel the active 1line, the position. restored to its to The the Draw 1line previous line of short 1long variable edge of edge of Vector function 1is and drawn the thickness. The X the the Y the paper, paper. saves the active Before current position is location. NOTE The numeric vector parameter(s) sequence can used be in drawing expressed units of either decipoints or using the §SSU sequence. Refer Ssu sequence description information, Draw Vector - to the DECVEC ESC [ Pnl ; Pn2 ; Pn3 ; Pnd ; Pnb5 1B 5B *** 3B **% 3B ***% 3B **%% 3B *%**% the line Pnl of the line Pnl Axis @ 30 X (parallel to short 1 31 Y (parallel to long Pn2 the pixels defines is orientation (axis) along which the length X axis where Y axis where drawn. edge edge of of paper) paper) - defines the distance from the origin along the line starts. The maximum value is 2549 pixels. NOTE Origin is Physical Pn3 - the line defines Pn4 - defines are received, drawn along line the starts. drawn along Page distance The the Pn4 the defined is X the from maximum length of set to 2 axis is Y axis in section the in the value the Set this origin is 4495 line. If Lines Per chapter. along the pixels. the pixel values @ or 1 pixels. The maximum value for a line 2550 pixels. The maximum value for a is 4496 pixels. NOTE Decipoint wvalues to 5 decipoints (2 of @-5 are pixels). rounded up Pn5 - defines the 1line thickness/width. The direction of the thickness/width is perpendicular to the length. The thickness of a line active position. If the values @ or 1 are increases always received, Pn5 is set to 2 pixels. The maximum value for a line drawn along the X axis is 4096 pixels. The maximum value for a line drawn along the Y axis is 2550 pixels. NOTES of @¢-5 are rounded up values Decipoint to 5 decipoints (2 pixels). be may Lines drawn regardless of margins. values Parameter exceeding the maximum are truncated to the maximum. sedquence consumes The DECVEC more information. within resources the LN@l. Refer to Chapter 4 for for a line to possible 1is it Because the physical limits of a beyond extend that the ensure user must the page, DECVEC sequence is coordinated with the proper paper size. Superscripting And Subscripting 1line up and partial line down sequences are used to The partial print superscript and subscript characters. The following section describes the partial line up and partial line down sequences. Partial ESC L 1B 4C Up - Line Printing PLU superscript characters can be performed with the PLU escape sequence. The PLU sequence causes the vertical active position to move wup in the vertical direction a predefined distance. The distance moved up in the vertical direction is determined the by the currently invoked font. The PLD sequence causes vertical active position to return to the previous baseline. Only one level of superscripting is permitted. Partial Line ESC K 1B 4B Printing The down distance active PLD characters PLD sequence in the moved down currently of - subscript sequence. move Down vertical in 1invoked the can be causes direction vertical font. performed the The position to return subscripting is permitted. to the a is sequence previous the active predefined direction PLU with vertical PLD escape position distance. determined causes baseline. the to The by the vertical Only one level NOTE If the PLU the vertical active position is near top or bottom margins, the PLD and functions may cause the superscripted or subscripted character to Reset To Initial This sequence default state. features and Reset Initial ESC 1B to be printed the margins. State causes the Refer to their default State - LN@1 the to reset following all section features for a to list their of values. the RIS ¢ 63 Default Values and States The LN@1 printer device power-up or Load outside Font Control 1is set when the to the RIS following escape values sequence is and states upon received. String Upon device power-up the ROM landscape and portrait fonts are available for printing. When the RIS escape sequence is sent to ROM Font device Name power-up and font 1s assigned assigned to font #11. receipt to fonts of font the #1090 60} Upon loaded i Assign any currently L] printer, (V8 the remain RIS and intact. sequence the the portrait landscape ROM font is Select Graphic Rendition Upon device power-up and receipt invoked for printing according to When font of the RIS sequence fonts are the setting of dip switch #2. the dip switch is set to the "on" position, the landscape ROM #10 is selected. When the dip switch is set to the "off" position, portrait ROM font #11 is selected. NOTES The for landscape ROM font is always used printing the summary sheet no matter which mode is Upon device RIS sequence Set Horizontal Upon stop device every 8 Tab selected. power-up and receipt of the underlining is disabled. Stops power-up default characters (see horizontal the table The first default horizontal distance from the left margin (8 Upon receipt cleared. Tabs of the RIS are then set Distance stops for tab stop is characters). sequence to tab below the all between tab located tabs power-up are set actual one tab distance). one currently tab set stop are defaults. stops Landscape (60 Hz): 0.587 inches 176 pixels Landscape (5@ Hz): @.640 inches 192 pixels Portrait (60 Hz): A.8008 inches 240 pixels Portrait (50 Hz): §.666 inches 200 pixels Set Vertical Tab Stops Upon device power-up default tab stops are set one tab stop every 1 1line (see table below for actual distance). The first default vertical tab margin line). Upon (1 receipt cleared. Tabs stop 1is located (50 tab stop distance of the are then RIS set sequence to the all power—-up between tab tabs stops @0.117 inches 35 pixels Landscape (50 Hz): Portrait (60 Hz): @.117 #.166 inches inches 35 50 pixels pixels Portrait @.166 inches 50 pixels Hz): the top currently set are defaults. Hz): (50 from | Distance Landscape one Set Lines per Physical Page Upon device power—-up and receipt of the RIS form length is set according to the following Form Landscape (A8 Hz): Landscape (50 Hz): Portrait (60 Hz): Portrait the default Length 8.50 inches 2550 pixels 8.27 inches 2481 pixels 11.00 inches 3300 pixels inches 3507 pixels 11.69 (50 Hz): Set Top and sequence table: Bottom Margins NOTE All measurements edge of Landscape (60 the Bottom (50 (50 Landscape and .18 inches inches .5 inches bottom (60 (50 (60 margins Hz): 66 Hz): 66 Hz): Lines/Page: inches .845 number of lines per Lines/Page: Portrait inches .845 Margin: Lines/Page: Landscape inches Hz): Bottom top .5 Margin: Top Margin: following .4 .39 Margin: Margin: Bottom The inches Hz): Top Portrait the nearest Hz): Bottom (6@ .4 Margin: Top Margin: Portrait from HZ): Top Margin: Landscape are paper. 60 inches are page set to produce pages with the for each of the orientations: Portrait (50 Hz): Lines/Page: Set Left and 60 Right Margins NOTE All measurements edge of the paper. Landscape (60 Left (506 Margin: Margin: Margin: Right (60 the nearest .66 inches .66 inches Hz): Left Portrait from HZ): Right Landscape are Margin: .57 inches .56 inches Hz): Left Margin: .25 inches Right Margin: .25 inches Portrait (50 Hz): Left Margin: Right The 1left and Margin: right following number Landscape (60 .802 (50 (60 Portrait 132 Hz): 132 Hz): Characters/Line: (50 80 Hz): Characters/Line: are set characters Hz): Characters/Line: Potrait inches margins of maximum Characters/Line: Landscape inches .802 80 to per produce line. lines with the Horizontal and Vertical Position Absolute Upon power-up or receipt of the RIS sequence, the active position to the upper left-hand corner of the paper. This p051tlon set is is where the first line and character would be printed assuming no position commands. other Justify power-up Upon or receipt of the RIS sequence, justification is or receipt of disabled. Selection Paper power-up Upon the RIS sequence, the top tray is selected, unless empty then the bottom tray is selected. printer automatically cycles through the paper trays. Line Feed New Line mode is or receipt of the RIS sequence, line feed new line power-up Upon enabled. Document Finishing Upon power-up documents Upon receipt of position. "no-offset" stacker 1is not Select Size the RIS are delivered to the output tray in the sequence the position of the output effected. Unit Upon device power-up or receipt of the RIS sequence the printer set to pixel power-up summary sheet Summary Sheet No summary is mode. Print Summary Sheet Upon The or of the RIS sequence, printing of the printed upon receipt of the RIS sequence. receipt is disabled. sheet 1is the internal error list is cleared when the RIS sequence is Also, received. LED Display The operators LED display is set to "@1" when the first Form Feed (hex @C) PLD and control PLU Upon receipt reset to the character is received after an RIS sequence. of the RIS sequence the vertical active position is baseline. CHAPTER PAGE GENERAL As described in Chapter commands printable LINE In execution time collectively known PRINTER 1limits as page used as of stored the in LN@]1 page are are completed at printing time. Both the storage requirements the execution time requirements limit the number of characters commands that a page can contain. This chapter defines the and They are characters and and and are received. and fully limits when 2, not storage executed 4 DEMOGRAPHICS buffers Printer. These without change demographics. SUBSET general the LN@l can be a line printer to existing software. However, the limitations described in this section must be observed. In addition to line printer emulation, you may provide a set of fonts and switch among them and the resident font within a page. If you refer to the Full Functionality corresponding limitations. Overstriking Overstriking text on is top characters, such Overstriking a carriage placed over the of is the this added ability to superimpose one another. It can to as underlining accomplished return use Demographics with no or by line be used slashing sending feed. The a line form a functionality, section of for the printed combinations of @. line next of text line of followed text is by then first. NOTE For a line printer, ' bolding is accompl ished by overstriking the identical text line several times making the 1line appear darker. Since the LN@1 is not an impact printer, overstriking the character will not cause the character to appear bolder. Observe ¢ the following Landscape Up to maximum (LF) limits when Orientation 142 of (Figures overstrikes: 4-1 printable characters five carriage returns pair), DELandscape using when printing font. 4-1 and 4-2) per print line with a (including final (CR) with the ROM resident Portrait Up to maximum (LF) Orientation (Figures 4-3 and 4-4) _ 158 printable <characters per print line with a of +two <carriage returns (including final (CR) pair), when printing with the ROM resident DETitan font. For example: On a landscape page, a followed by a CR (carriage return) character print 1line followed by (CR) 142 printable character limit. Final Page The final page eject commands is 1is not ejected received: Form Feed Positioning Page The command orientation operating sytem until causing a 71 character followed (LF) pair one Form of the print line by another would reach 71 the following page Feed change software or the operator should be aware of this. Landscape Print Profile characters per Up to 132 in landscape line orientation and using 66 the lines ROM per page may be Resident printed Font. The LN@Al1-AA resident font 1is DELandscapel3.6-@. It has a point size of approximately 6.7 and character cells of 35 by 22 pixels, resulting in a print image area of 7.7 by 9.68 inches. Margins are chosen paper The to as optimize shown LN@A1-AB in this Figure resident format font 1is size of approximately 6.7 and resulting in a print image inches). Margins are chosen to cm (8.27 Portrait Up in by 11.69 Print by centering on 8.5 by 11 inch has a point 4-1. inches) DELandscapel2.5-@, it character cells of 35 by 24 pixels, area of 19.5 by 27 cm (7.7 by 18.56 optimize this format for 21 by 29.7 paper as shown in Figure 4-2. Profile to 80 characters per line portrait orientation using and the 6@ lines per ROM resident page may be font. printed The LN@l-AA resident portrait font is DETitanl@-R it has 10 characters and a cell size of 50 by 30 pixels. Margins are in The Figure in 4-3. LN@1-AB characters Figure point shown resident with 4-4. a portrait cell size of font 50 is by DETitanl2-T. 25 pixels. It has Margins 9 point are shown 4 ¥ .845 in .5in ' ) 80 CHAR. 80 (_ZHAR. 6.66 in 8.0 in. 60 LINES 10.0 in 60 LINES 10.0 in ._802_. - -'.25 in o ‘.25in -~ - '3 ¥ .845 in .5in t ' MA-1153-83 MA-1152-83 Figure 4-1 ‘__.802 in in LNOl1-AA ROM Figure 4-2 LN(Ol-AB ROM Resident Resident Landscape Font Landscape Font .39in 4in 132 CHARACTERS 9.68 in — 1 132 CHARACTERS 10.56 in TM ! - 66 LINES L NES 66 7.7 in .66 .66 in in 57 in 56 7.7in le-- in 4 t 4in .18in |4 MA-1147-83 MA-1146-83 Figure 4-3 LNOl1l-AA ROM Figure 4-4 LNOl-AB ROM Resident Resident Portrait Font Portrait Font FULL The FUNCTIONALITY LN@l1 can supports produce DEMOGRAPHICS a wide landscape range or of electronic portrait printer oriented pages, features. adjust You margins and print various font sizes and styles on the page. You can also print Logos and signatures. The following sections 1list and describe the full functionality page demographic limits. Limitation Types There are 4 types of limits for page composition are based on specific electro-mechanical controller software implementations and/or restrictions. too Page to complex complexity. They implementations, processing time print Page too dense Format limits exceeded Print Page If is g. Too format Complex To larger than paper Print the time required to complete the processing of a line of text more than the time required to print the preceeding lines (e. the scanning 1laser passes the point of imaging before the processing is complete), the page is too complex Excessive use of overstriking, complex different sized characters, or printing characters can cause this to occur. Too Page to be printed. juxtapositioning of of many small size Dense If a page contains more than 30,000 bytes of page data the LN@1 internal ©page storage 1is exceeded. The data in excess of 306,000 bytes is printed on the next Format Limits If page contains more a page Print The on is the Format size Larger paper's to than 500 exceeded. next positioning paper the Exceeded storage printed page. of data data buffers, buffers in the LN@#1l excess internal of 500 are page. Than Paper text is prevent boundary The is loss a not checked of margins user by or the LNf@#l. placement responsibility. Management of text of beyond Data Buffers Input data 1is translated buffers. Basically, a data However, additional start form a new pages in limits imposed ¢ by the There is More than total can Buffer header Data is buffers shown in The Image as follows: ¢ ¢ 1 2 maximum trailer variable are data buffers within a the on a next that This bytes each of page sheet size from of to data to page. in the paper. buffers on a defined byte 8 of result by data capacity section. to to functionality 5@ count in the Page includes the buffer. 248 consists byte for each printable character. every time 1 a characters 233 font in a first 3 each horizontal for horizontal font tab command, within the characters bytes bytes. The format buffer, selector vector each 200 command pixels or - space buffer A are A maximum of 63 200 used data, to consumes pixels if the underline along «+——|MAGE DATA—» 4 BYTES IDENTIFY X AND Y POSITION Data Buffer Format 4-5 bytes the Y for axis. 20¢ pixels segments per line. FONT UP TO 240 BYTES, TOTAL 9 partial 1 BYTE END OF LINE 4-5 in when the space adjusted in size for DELIMITER D included two the relative command, IDENTIFICATION - indicate already 2 BYTES FONT POSITION allocated character draw vector partial Nine additional bytes are is not a multiple of 16, Underline - is position or justification. Draw of change occurs between data change. (The the header.) Figure order format: area bytes LN#1 in their Data bytes two the and of bytes consumed in force collected 4-5, consecutive ¢ on exceed Capacity are underline buffers printed number and of data not Figure as buffers 500 being page such Data buffers are buffer memory. There data a The internal format stored in data corresponds to a line of text. buffer. page reminder ¢ commands data the to an buffer EOL - created) new (a created are buffers Data for the following conditions: position and font ID header character is invoked and there are no printable a (header but no eol) data buffers. ¢ When open ¢ underline command on a line results in a data first The for all underlines on the line (a created buffer being maximum of 63). The data buffer containing the printable the characters for Draw vector command 1is 1line filled in parallel to the underline data buffer. Image input into the current open data buffer as each placed 1is data function is processed. Data buffers are terminated (the end of data buffer code is placed in the current buffer and the next printable function causes a new to be created) upon the following commands or header and buffer conditions: ' More than 233 bytes of image data for the current buffer A vertical PLU, positioning command - LF, FF, VPR, VPA, VT, PLD. An absolute horizontal positioning command - CR, HPA. A draw vector command ¥ ¢ A character than mode is printed from a font of different height the other characters in the data buffer - landscape only. NOTE Consecutive positioning commands do not consume data buffers. *Draw vector causes any current data buffer to be terminated, a filled with vector image data, and new buffer to be created, terminated. Page Buffer Page buffer memory is used to , store whole formated pages of data buffers prior to printing. Thirty thousand bytes of page buffer The which may contain a maximum of three pages. available, are page is the sum of all the bytes used for the a for count byte corresponding data buffer plus 1 byte for page orientation. A single page may consume up to 30,000 bytes. Pages requiring more than 30,000 bytes are split across multiple sheets of paper. Pages of such a size that 3 complete consecutive pages can not be stored simultaneously may result in decreased throughput. Buffer Band General Each band buffer is a 4096 band buffers are used. ping-pong Two within which the data for one "band" (32 scan buffer bit 32 by lines) <can be marked or stored. unmarked Each bit within a band buffer represents a ©pixel on the paper at 300 dots to the inch. While one band buffer's data is being used to produce dots in the printing process, the other band buffer is being filled with pixel data for the next "band". In the scan direction (long edge of paper), images are started on an even numbered pixel. Although the imagining has a 300 dots per inch resolution, images can only be located with a 150 dots per inch resolution. The actual location of the image is obtained by truncating the 1logical start address (low order bit forced to a zZero) . In landscape mode, the first scan of the first band is vertical position @, with successive bands being adjacent every 32 scans such that the last scan of the first band is vertical position 31, the first scan of the second band is vertical position 32, and so on for the remainder of the page. In portrait mode, the first scan of the first band is horizontal position @, with successive bands being adjacent every 32 scans such that the last scan of the first band is horizontal position 31, and the so Band on first scan of the second band for of Buffer the remainder the is horizontal position 32, line. Capacity As the physical 1length of each scan line in the band buffer is (pixels), the maximum data imaging along the long edge bits 4996 of the paper is 13.65333 inches (4096 pixels/300 pixels per inch imaging resolution). Thus, 14 1inch paper cannot be imaged end-to-end. #.3467 #.3467 Band When wusing 14 inch paper, a minimum right margin of for landscape and the origin is at least forced 1is inch inch from the top edge of the paper in portrait. Buffer Complexity printable of number the on requirements timing are There a band create to processed be can that commands and characters buffer. text A 32 lines and scan lines band buffer will a larger number of data sometime cover several buffers. The number depend on of the printable following Heigth Width Font included 1in a band buffer fonts fonts of of the the Number of fonts line page formulas or page in a line provide 1length the maximum line lengths (landscape (portrait orientation) based on the variables. Size Single The the the Length Length The following orientation) other of of characters variables: (LANDSCAPE): Font Sizes following example shows the worst case landscape situation involving a single font size. One full character cell and two partial characters are in the band buffer. This condition can exist for all Processing Band character Time buffer Based 1image cells from 16 Font Size (Landscape) On processing character <cell dimensions. data being 1lost during the that data is not lost, relationships listed Multiple Sizes Font in line to sufficient, If it within multiple font be 4-1. assumed hypothetical sizes high. 1is a complex function of Excessive processing times result in printing process. 1In order to insure lengths should be limited based on the Table should a pixels time When arbitrarily mixing character cell conservative, and guarantee that contained 3¢ are cell not sizes 1image that as on a page, to be most processing time |is all shown character in Figure arbitrarily mixed vertically (headings 1in one size, text in then the individual expressions given above another, apply. NOTE Use the multiple cell size rule if a size change occurs within a space of 32 pixels (@#.187 inches) as in this event, multiple cell sizes can occur in the band buffer. cells are 4-6. but separated for example), Table 4-1 Character Characters Cell Per Line (Landscape) Dimensions Width Height Dots 16-30 < 31 Bytes Characters 8 1 123 9-16 2 114 17-24 3 106 25-32 33-40 4 5 18 1, 94 41-48 5 89 < 8 1 149 129 Per Line Formulas 1600 12 + w 9-16 2 17-24 3 119 25-32 4 11 1600 e 33-49 41-48 5 104 10.4 6 o8 or < 8 1 182 greater - 9-16 2 163 17-24 25-32 3 4 148 13 1600 memm———— 33-40 5 125 7.8 41-48 6 116 32 + + w HEIGHT OF SMALLEST CELL WIDTH OF LARGEST CELL MA-1158-83 Figure 4-6 Hypothetical Character Cell (Landscape) w Font Size Single The (Portrait) Font Sizes following example shows the worst case portrait situation for fixed-pitch characters, 1involving be as many as 4 complete and buffer. With characters and In general, proportional-spaced partial characters can be as many as 6 in a band. Max imum number of cells in a band WN pixels YO 16-30 pixels 11-15 pixels 8-10 pixels 7 characters, for character cells of various widths: Cell Range >30 a single font size. There can partial characters in the band pixels* Image Processing Restrictions (Portrait) As in the landscape case, band buffer image prccessing time is a Excessive dimensions. cell character of function complex processing times result in data being lost during the printing process. of 1lines listed in Multiple In order to insure that data is not lost, the number on a page should be limited based on the relationships Table Font 4-2. Sizes When arbitrarily mixing character cell sizes on a page, it should be assumed that all characters are contained within hypothetical cells as shown in Figure 4-7. This is a conservative approach to calculating maximum lines ©per ©page which guarantees that image processing time is sufficient. If multiple font sizes are not arbitrarily mixed, but are isolated (separated from each other horizontally by at least 32 pixels), then the individual expressions given above can be used. *The smallest 5-point proportional character is 7 pixels wide. Table 4-2 Lines Per Page (Portrait) Character Cell Dimensions Height Width Dots Bytes 7 25-32 4 53 33-4¢ 41-48 5 6 52 se =——=—- 49-56 7 48 26 + h 57-64 8 47 25-32 33-40 4 5 63 60 41-48 6 5 49-56 7 56 57-64 8 54 8-10 11-15 Full Lines Per Page Formulas 1600 1600 = =emm———- 21.5 + h 25-32 4 - 75 33-49 5 71 1600 41-48 6 68 mmm———— 49-56 7 65 17.5 57-64 8 63 25-32 33-40 41-48 4 5 6 94 89 84 mm——— 49-56 7 80 13 + h 57-64 8 76 25-32 33-40 4 5 103 97 1600 41-48 6 %2 mmme———— 49-56 7 86 11.5 57-64 8 82 or 25-32 4 123 greater 33-40 5 114 1600 41-48 49-56 57-64 6 7 8 7 100 94 ———— 9 + h 16-30 31 32 + h 1600 + h HEIGHT OF LARGEST CELL WIDTH OF SMALLEST CELL MA-1159-83 Figure 4-7 Hypothetical Character Cell Character Size Range Largest Character Size -cell includes leading characters) (Portrait) is shown The largest character between lines and in Figure 4-8 for cell (a character spacing between landscape orientations. Such due "character" to used the for portions «cells abnormal the storage thereof, Smallest Character cell Example: 6 Width -- leading Helvetica used ratios. 1logos for These and type-faces cells may be signatures, or smallest between lines character and cell spacing pixels (a between high by 15 Font = 25 6 points .@#83 inches .35 The 6 points i.e., 25 following example. = = 15 Ratio normally be aspect digitized is a nominal as shown in the Height Aspect of Size includes Point not and portrait however. character characters) pixels wide would size and pixels pixels 1inches .6 Lines Per Inch 12 Char. Per Inch 20 (fixed pitch character) This is the smallest fixed-pitch character. The proportional-spaced character is 7 pixels (#.#21 inches) smallest wide. LANDSCAPE PORTRAIT ASPECT ASPECT RATION = 2.0 SCAN RATIO = DIRECTION 0.5 Y AXIS PAPER DIRECTION X AXIS SCAN DIRECTION PAPER Y AXIS DIRECTION X AXIS MA-1160-83 Figure Band Aligned The following aligned using 16 X Character Cell Example Printing with method) . 4-8 1limits the and band conditions buffers apply when characters (using are fonts designed for completely image a large area cells must be 16 by 16 pixels in size scan of the cells (top of cell in landscape, left This method may be 16 pixel cells. used to this Character First of cell 17th A in scan of maximum maximum portrait) a of number A maximum band of 155 of 138 start on characters lines per per page per line line in 8 font switches per in the first or in landscape, no portrait. portrait, ' of either buffer. characters landscape. A maximum must line. no limit for CHAPTER 5 COMMUNICATION GENERAL This chapter describes the LN#1 communication interface connector, the interface signals and including the the internal controls. INTERFACE The CONNECTOR LN@1 parallel interface is subminiature "D" type connector. INTERFACE This On describes for following a standard 58 pin the the LN@1 parallel paragraphs interface interface describe each sent the are signals. listed in The pin Table 5-1. signal. Line Signal The with SIGNALS section assignments The terminated Source - LN@1 Line signal On printep is on printer is ready to The Ready printer error When to On Line print data. The No 1is 1line. signal is is on The user is system turned following turned on to indicate (logical conditions 1), the the exist: on line conditions are present, e.g. paper out NOTE Standard TTL logic +5 volts for logical for logical @ levels 1 are (on) used and (off). @ with volts - Demand Signal The and of Source demand in it LN@1 1line is used to the synchronize user system. When Demand accepting a character. It received, the - then 1is turned off is remains while data turned the on on, between the until character the printer is capable LN@l a Data is Strobe being is stored the data memory. The Demand signal can only be turned on Data Strobe is off. The printer will accept any data sent in response to Demand, independent of the On Line state. if to Table 5-1 Signal DATA DATA Parallel Title Interface Pin Assignments Assigned Pin Signal Direction Bus To LN@1 From LN@l1 Nomenclature BIT BIT 1 1 Sig Rtn 19 3 X X DATA BIT DATA BIT 2 2 Sig Rtn 20 4 X X DATA DATA BIT BIT 3 3 Sig Rtn 1 2 X X DATA DATA BIT BIT 4 4 Sig Rtn 41 40 X X DATA BIT 5 Sig 34 X DATA BIT 5 Rtn 18 X DATA BIT DATA BIT 6 6 Sig Rtn 43 42 X X DATA BIT DATA BIT 7 7 Sig Rtn 36 35 X X 8 8 8 8 Sig Rtn 28 44 30 14 X X X X 38 37 X X *DATA *DATA *DATA *DATA DATA DATA ON BIT BIT BIT BIT STROBE STROBE LINE LINE Sig Rtn 21 5 X X DATA DEMAND Sig DATA DEMAND Rtn 23 7 X X READY Sig 22 X READY Rtn 6 X ON Sig Rtn INTERFACE VERIFY * Sig Rtn gSwitch 8 CONNECT READY 45 46 allows either Paper Instruction (Pin 28) as the functional high order data Controls for more information. (Pin 30) bit. or Data Bit 8 Refer to Internal Data Strobe Signal Source The Data when the Strobe - User Strobe signal information occurs, Demand Equipment Line line on the is controlled Data Lines is by the valid. user Each the printer samples the Data Lines while the character is stored. off, to define time and a Data turns the the warm Ready Signal When up Source Ready cycle is LN@1 1is turned on, power to the printer is on and complete. Data Signal Source - 7 Data or 8 Interface Ensures User Lines - Equipment parallel data format Connect Verify that the interface cable 1is <connected to the host computer. INTERNAL CONTROLS _ The LN@#1 has 8 2-position internal specify LN@1 application options. These by your service representative only. switches are listed in Table 5-2. READY The switches that are controls should be functions of — — 0 min. ON-LINE —J 7.5us-max. —» *— 250 ns max. DEMAND {1 DATA 50ns min. —7 - —» [*—50ns min. 0 min. | 0 min. je— STROBE ‘ -— .3us min. — NOTE: TO ACHIEVE THE 7 1/2 MICRO SECOND TRANSFER RATE, THE STROBE MUST BE RAISED WITHIN 1 MICRO SEC. FROM DEMAND RISING, AND DROP WITHIN 5 MICRO SEC. MA-1148-83 Figure 5-1 Interface Timing Diagram 5-3 the used to changed internal Table 5-2 Internal Controls Switch # Position Function 1 ON Not Used OFF Not Used 2 ON OFF Landscape Orientation = default Portrait Orientation = default 3 ON Not Used OFF Not Used 4 ON OFF 7 8 5 ON OFF Enable Printer Enable Data Monitor 6 ON Bit bit ASCII ASCII OFF Enable Data Products 7 ON OFF ASCII 8 ON Data bit 8 = pin 30 OFF Data bit 8 = pin 28 Encoding Protocol APPENDIX CODE (ESCAPE ESCAPE AND SEQUENCES, CONTROL CONTROL SEQUENCES, EXTENSION AND CONTROL A TECHNIQUE STRINGS) SEQUENCES Escape and control sequences are used to provide additional controls not ©provided by the control characters in the character set. These sequences are multiple character control functions used to control character printing and processing. They are not printed. Escape and control sequences are defined in ANSI standards X3.41 -- 1977 and X3.64 -- 1979. The characters wused in escape and control sequences throughout this manual are shown (but not defined) using the ASCII graphic character set and hexadecimal coding. The case of the characters used 1in exactly a sequence as shown. is significant and must be sent to These characters are spaced apart the printer for clarity only. NOTE There 1is a decimal and cross reference octal 1in the to binary, character chart. Escape The Sequence following Format paragraphs define ESC I......I F 1B 20 30 I -- 2F | the -- format Intermediate Final Characters Character Introducer (any number of characters (one The 1B). escape When received sequence the ESC are not or escape sequence. 7E Sequence Zero an I Escape —-— of character) more) introducer character printed, but is 1is the ESC control character (hex received, the next characters stored, to be used as part of the sequence. If -— are the characters received after the ESC character are in the 20 2F hex range they are intermediate characters. These characters stored as part of the sequence. If the character received 7E hex range, is it a after final -7E hex range are characters in the 3¢ -- the sequence. sequence, then The character Final printer continues to Escape Sequence Example The following sequence 1s used in the 3¢ -- in the 4¢ ANSI use. Final for private use. end of the escape sequence. The together define the function of performs print is characters reserved for standard 3F hex range are reserved The final character indicates the intermediate and final characters the ESC character. the action specified by the data. to reset the printer to the default state. Escape Sequence Introducer | Final character I I ESC C 1B 63 Control Sequence Format The following paragraphs define the format ESC [ PeeeoeooP Ieeeeool 1B 5B 3¢ 20 | | to————— + I | -- 3F I I I I Control -- of 3 -- I Parameter Intermediate Sequence (zero or more Characters Introducer characters) (any characters or | I I 7E I Final of -- more) The control sequence introducer (CSI) consists of the and [ (hex 5B) characters. It 1is wused to gain functionality of the 8-bit environment while characters. received After are not the CSI character(s) printed, but sequence. (one character) number Zero control F 2F I I I a stored are ESC the using received, for use as (hex 1B) extended 7-bit characters part of the sequence. If 3 the -- <characters received after the 3F hex range, the characters parameter character modifies sequence. Characters in numbers. a The string of beginning of sequence. delimiter the string -- character parameters. a the 30 of The ? CSI are character(s) are in the parameter characters. A action or 39 hex range " ;" (hex 3B) character parameters to interpretation are is (hex indicate used used 3F) a is to to the define separate used DIGITAL of at the private The 1limit than 8 for for parameters parameters a parameter 1in a is 65,536 string. character, decimal. If a no You decimal zero value can not value 1is is use more specified assumed for the parameter. The printer processes 2 types selective. A numeric parameter is such as a tab or margin location. as unsigned transmitted In are the decimal first. 1integers Leading zeros of parameters; used to Numeric indicate a parameters with the most are allowed but this manual, numeric parameters are designated as Pn, Pnl, Pn2, etc. In sequences, (***) parameter characters numeric significant not Parameter Example Control Sequence Introducer | shown as actual values the hex representation are Numeric | shown as three Parameters | +————- + e I | l | [ 3 6 Y @ ; 5 7 6 4] S 1B 5B 33 36 3% 300 3B 35 37 36 3¢ 73 In this example the left the right parameters are 3608 (5 assumed) and delimiter character selective selective In the hex are shown Control three are of asterisks Parameter parameters. to represent designated the a as function. Ps, Psl, sequences, parameter selective parameter. In this Ps2, etc. characters (*#*%), Example Introducer Selective Parameter | Intermediate Character | | Final Character | | I I | | ESC [ 2 sp I 1B 5B 32 20 49 In this the printer example, (hex 2 select 37) the control A sequence the same sequences, printer with processed effect each 32) with is the decipoint sequences are control (hex to parameters has wused 2 Sequence I e+ 7 1is the parameters representation as Selective margin is set to 5 inches (decipoint is margin 1is set to 8 inches. The numeric inches) and 5768 (8 inches). The " ;" separates parameter manual, Character | | In or of asterisks Final + ESC were digit necessary. . Numeric A and numeric value are processed as selects more a a size pixels than one sequentially containing as the more single parameter. A-3 as the If one number the size selective beginning than corresponding unit. causes unit. parameter, with selective of It parameter the the first. parameter separate control If -- the characters received after the ESC character are in the 20 2F hex range they are intermediate characters. These characters are stored as part If -- the character 7E hex range, of the sequence. received after the CSI character(s) is in it is a final character. Final characters 49 -6F characters hex range in the 70 -- The final parameter, function character indicates the intermediate and final of the sequence. The specified Control by the are reserved for standard ANSI use. Final 7E hex range are reserved for private use. sequence, Sequence the 490 in the end of a control sequence. The characters together define the printer performs the action then continues used to to print data. Examples Example 1 The following Control | o sequence | Final I l | ESC [ 1B 5B 3 33 9 67 Example The and all horizontal tab 2 Sequence is used to set the left margin to 5 inches 8 inches (decipoint mode is assumed). Introducer | | Numeric | tm——— + Parameters Final o [ 3 6 @ @ : 5 7 6 a S 1B 5B 33 3¢ 360 3¢ 3B 35 37 36 380 73 Example | R et | | I 3 following sequence is for numeric parameters. Control I Character | I The unit | + I ESC stops. Character following sequence the right margin to Control clear Sequence Introducer Selective Parameter S+ I is used Sequence Introducer Selective Parameter Intermediate | | Final | | I I ESC 2 SP I 1B 5B 20 49 32 Character Character to select decipoints as the size CONTROL The STRINGS general <String string DCS (Device introducers Control (Operating PM of a control string Introducer><Data><String The OSC format is: Terminator> are: String) System Command) (Privacy Message) APC (Application Program The string terminator ST (String Terminator) The data receiving Command) ESC P 1B 50 ESC ] 1B 5D ESC ~ 1B 5E ESC 1B 5F ESC \ 1B 5C is: 1is defined by private agreement between the sending device and should not contain any C# or Cl codes. and The LN@lL does not implement any APC, OSC or PM strings. When received, these strings are processed as printable characters. The LNg1 responds to 2 device control strings (refer to the following section on device Device Control The following control <DCS control Introducer The device 1B 50 more the detail). format of a DIGITAL device string. DCS P for String Format paragraphs define Introducer><Protocol ESC strings control string Selector><Command introducer (DCS) String><String is: Terminator> Protocol The Selector format of the protocol P.....P IQ....I 39 28 -- 3F Parameter (zero or more characters) Refer to parameter, String The 40 -- 7E Intermediate Final (zero (one or more character) sequence and format final for the definition \ 1B 5C the command string is determined by intermediate characters and final Control the combination character which String Terminator is: RECOVERY The LN@1 performing usually as much recovers of the from control function errors by function as possible. Errors include invalid control functions, control characters embedded control sequences or parameters out of range. The in or paragraphs describe Unsupported control the control is is the ESC of execution, 18) 1is in error CAN of any in handling sequences this techniques. (valid document) are escape is received during an is cancelled and new used or the indicate is to control but be that 1in the or sequence progress. are with which Therefore, termination, The further processing. not processed as part rather data disregarded. immediate sequence no are escape ESC. to causes a and ignored. 1B) with escape following sequence itself receives following the CAN sequence, error control (hex the beginning is LN@l listed character (hex recelipt and not sequence, sent specific escape sequences processed Cancel it a Terminator ESC If of character. it. Device ERROR F 2F the control intermediate parameters, precede is: characters) Command String The format of of -- selector CAN the without character The characters of the escape or ©processed as printable characters. Substitute (hex 1A) 1is wused to indicate replacement of a character which could not be represented. The receipt of SUB causes immediate termination, without execution, of any sequence in subsequent escape normally. or progress. The SUB character characters, are not interpreted <control sequence, but rather 1itself, and all as of the are part interpreted CA control ESC (hex Cl codes 1B) control codes ESC (hex Eight 1B) bit between (hex @9 and the code 1F inclusive) final character received are between the ignored. (hex 8¢ to 9F inclusive) received between the and are code graphic ESC the final codes (hex A@ to code and the FE inclusive) to 3F cause be While processing received after sequence to be final received While processing control sequences, codes from hex 30 inclusive received after the intermediate character(s) the sequence to be ignored. to 1B) ignored. cause sequence (hex character character the the to ignored. control sequences, codes from hex Ag to FE the intermediate character(s) <cause the ignored. Additional numeric parameters (after 8) are'discarded. If characters other than "0" (hex @34) -- "9" (hex (hex 3B) are processed by the printer while numeric code If 2 parameter is more sequence then than is string, printed one on the the sequence next intermediate is summary " ;" the ignored. An error character is processed, the ignored. Upon receipt storing the binary 39) sheet. The numeric parameter string 1is stored in a buffer. 1If the buffer overflows, characters until an intermediate character is processed. to and storing of an numeric values. 144 are character discarded intermediate <character, printer stops parameter string and converts parameters Reader’'s Comments LNO1 PROGRAMMER REFERENCE MANUAL Your comments and suggestions will help us in our continuous effort to improve the quality and usefulness of our publications. What is your general reaction to this manual? Excellent Very Good Good Fair Poor Accuracy O U O O Ol Completeness O ] O O O Organization O O O O O Format O O O d O What features are most useful? (Notes, Tables, lllustrations, etc.) Does the publication satisfy your needs? O Yes J No What errors have you found? (Ref. page no., table no., figure no.) Additional Comments Name Street Title City Company State/Country Department Zip The Documentation Products Directory and the DECdirect Guide contain information the. remainder of DIGITAL's technical documentation. Copies of the above Directory and Guide, as well as additional copies of this document, are available by writing or calling: Digital Equipment Corporation Accessories and Supplies Group P.O. Box CS52008 Nashua, New Hampshire 03061 Attention: Documentation Products Telephone: 1-800-258-1710 Order No. MY -RM-002 EK-LNO1S-RM " v e e o o ———— ——— ——— —— Fold Here— —————————————— e v e e e o e DO NOT TEAR — FOLD HERE AND TAPE e es e e e e ee e e s e e e ee e e o o e e e No Postage Necessary if Mailed in the United States BUSINESS REPLY MAIL FIRST CLASS PERMIT NO.33 MAYNARD, MA. POSTAGE WiLL BE PAID BY ADDRESSEE Digital Equipment Corporation Educational Services/Quality Assurance 12 Crosby Drive, BUO/EO8 Bedford, MA 01730 Digital Equipmén’r Corporation « Maynard, MA 01754
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies