Instruction/ maintenance manual of the product GEK 00031B Genicom
Go to page of 314
GEnicom 5000 Series Programmer’s Manual GEK – 00031B.
5000 Programmer’s Manual GEK-00029B 2 Table of C ontents Page Chapter 1.Introduction.................................................................... 8 overview of printer emulation ...............................................................8 Control Codes .
GEK-00029B Table of Contents 3 Table of C ontents Page Chapter 2. ANSI Emulation (Continued) ANSI 4800/4410 Strap 1 OUT ........................................................ 46 ANSI 4800/4410 Strap 1 IN .............................................
5000 Programmer’s Manual GEK-00029B 4 Table of C ontents Page Chapter 3.Printronix P300/P600 Emulation .................................. 66 Introduction ...................................................................................... 66 Control Codes .
GEK-00029B Table of Contents 5 Table of C ontents Page Chapter 4.Printronix P-Series Emulation (Continued) Postnet Bar codes (SFCC |p*xxxxx-yyyy-zz*) .............................. 104 Ribbon Minder Enable/Disable (SFCC r E/SFCC r D) ................ 104 Ribbon Minder Set Job Rate (SFCC r J nnnn E) .
5000 Programmer’s Manual GEK-00029B 6 Table of C ontents Page Chapter 6.Epson FX286-e Emulation (Continued) Miscellaneous Commands ............................................................... 149 FX-286e Dot Graphics .............................
GEK-00029B Table of Contents 7 Table of C ontents Page Chapter 8.PPL3 Plus Emulation (Continued) Printable Area ............................................................................ 253 Positioning and Movement .................................
Chapter 1. Introduct ion GEK-00029B 8 CHAPTER 1. INTROD UCTI ON OVERVIEW OF PRINTER EMULATION Commands ar e sent to t he printer in t he form of contr ol codes and escape seq uences.
GEK-00029B 5000 Seri es Programmer’s Manual 9 Examples ar e shown belo w of escap e sequen ces as writt en in the text: with parameters filled in and written in the BASIC p rogramming language ass uming the use of th e LPRINT instr uction. The par ameter values are act ualized in these exam ples, but will be shown as para meters there after.
Chapter 1. Introduct ion GEK-00029B 10 LINE TERM INATORS Some control c odes and esc ape seque nces act as line t erminators. Line terminator s cause all dat a receive d since the last ter minator to be printed. Witho ut a terminator, da ta will remain buffered.
GEK-00029B 5000 Seri es Programmer’s Manual 11 CHAPTER 2. ANSI EMULATI ON CONTROL CODE AND ESCAPE SEQUENCE ACTIVITY LEVELS ANSI contr ol codes an d escape se quences ar e assigne d activity levels depending on which p rint mode is currently active.
Chapter 2. ANSI Emulation GEK-00029B 12 Control Code Activity Levels Contro l Code Acti vity Lev els Contro l Code Line Terminato r Norma l Dot Graphics Bar Codes Over size POSTNET BEL No A A D A Note.
GEK-00029B 5000 Seri es Programmer’s Manual 13 Escape Sequence Activity Levels Escape Seq uen ce Line Terminato r Norma l Dot Graphics Bar Codes Over size POSTNET DC S (G ra ph ics ) No A I I A I Fo.
Chapter 2. ANSI Emulation GEK-00029B 14 CONTR OL C ODE DE FI NITI ONS BEL Bell (07H): Receipt of a BEL c ode ca uses th e beeper t o sound for appro ximately 1/2 s econd af ter any precedi ng pr int able dat a has been process ed. BS Back Space (08H) : Line terminato r.
GEK-00029B 5000 Seri es Programmer’s Manual 15 FF Form Fe ed (0CH): Line termina tor. The paper is a dvanced to the next top-of- form position. When the E VFU is en abled and pr ogramm ed, paper will advance to the next stop in channel 1. HT Horizontal Tab (09H): Advance s the p rint positio n to the ne xt horizontal tab lo cation.
Chapter 2. ANSI Emulation GEK-00029B 16 ESCAPE SEQUENCE DIRECTORY Seq uen ce Meaning Page CSI or ESC [ Contr ol Sequ ence In trodu cer 19 CSI p1 p2 SP ~ GENEMU: Selects emul ation 21 ESC [p 1 ; p2 SP .
GEK-00029B 5000 Seri es Programmer’s Manual 17 Seq uen ce Meaning Page ESC [ p1;… pn u GENHTS: Sets horizontal tabs (p1 , etc.) in decipoints or col umns 30 ESC [ p1 ;… p12;v GENVT S: Sets vertic al tab s (p1, etc .) in decipo ints or lines 30 ESC [ p1 x GENSNC: Selects internat ional charact er sets 22 ESC [ p1 ; .
Chapter 2. ANSI Emulation GEK-00029B 18 ANSI ESCAPE SEQUENCE CATEGORIES The ANSI esca pe sequenc es have been se parate d accor ding to functionality. Spe cial areas of interest, such as graphics an d the electronic ver tical format unit (EVFU), have been d escribe d in separate sect ions.
GEK-00029B 5000 Seri es Programmer’s Manual 19 Housekeeping Sequences ESC [ CSI (Con trol Sequen ce Intr oducer ): T his seque nce i s used to b egi n sequences, that generally have multiple parameters. ESC ] OSC ( Operatin g System Comman d): This is an other special sequence int roducer.
Chapter 2. ANSI Emulation GEK-00029B 20 ESC Q GENTST (Self-Test): This sequen ce is ignored. Decima l: 27 102 or 12 0 Hex: 1B 5C or 9C BASIC: CHR $( 27);" Q";.
GEK-00029B 5000 Seri es Programmer’s Manual 21 CSI p1 p2 SP ~ GENEM U (Emu lati on Con trol): Switches the contro l of the p rinter to another em ulation. Th e paramet ers in the seq uence are def ined a s follows: p1 Emulation identi fier. This p arameter sel ects th e particular emulation by a reference number supplied by GEN ICOM engineering.
Chapter 2. ANSI Emulation GEK-00029B 22 Character Set Selection ESC [ p1 x G ENSNC (S elec t Nati onal Cha racter s): This sequ ence select s the nationa l charac ter sub stitutio n if the cu rrently sel ected c haracte r style sup ports it. T he follo wing values may be u sed for p1 .
GEK-00029B 5000 Seri es Programmer’s Manual 23 p1 Count ry Map or Charact er Set 8593 I SO 8859 -3 Lati n Alph abet #3 8594 I SO 8859 -4 Lati n Alph abet #4 8595 ISO 8859-5 Latin/Cyrillic 8596 I SO .
Chapter 2. ANSI Emulation GEK-00029B 24 p5 Reserved. This param eter is marke d by inserting a semic olon (;) in the command sequence. p6 A literal str ing indicating th e GENSNC s elect paramet er of an existin g char act er map (s uch a s 437 or 850) to be us ed as a base in which su bstitut ions f rom this com mand seq uence may be m ade.
GEK-00029B 5000 Seri es Programmer’s Manual 25 Paper and Print Position Movements ESC K PLD (Parti al Line Down): Line terminator. Moves the print line down 3/72 inch fo r subscript printing. Also returns to the o riginal line following a part ial line up (<ESC> L - superscr ipt) sequ ence.
Chapter 2. ANSI Emulation GEK-00029B 26 ESC [ p1 d VPA (Vertical P ositio n Absolut e): Line terminator. Se ts the ver tical positio n to the value spec ified b y <p1>, moving p aper fo rward or backwar d to the new po sition. The distance sp ecified by th e <p1> param eter i s in deci points.
GEK-00029B 5000 Seri es Programmer’s Manual 27 ESC [ p1 k VPB ( Vertical P osition B ackwar ds): Line terminator. Mo ves the paper in r everse by th e distance specif ied by p1. Valu es can be sent as dec ipoints. T he paper po sitio n is set to the top margin if the p 1 value excee ds the mar gin.
Chapter 2. ANSI Emulation GEK-00029B 28 Margins and Tabs ESC H HTS (Hori zontal Tab Set): Sets a tab at the c urrent p rint positio n and upd ates a ny existing ho rizontal ta b tab le. A tota l of 22 ta bs can be set. If this number is ex ceeded, the leftmost 22 tabs will be retained .
GEK-00029B 5000 Seri es Programmer’s Manual 29 Seq uen ce Explanati on ESC [ r Default values of 11-inch form length, zero to p and bo ttom margins. ESC [ 82 80 r 11.5-i nch for m leng th, defaul t top an d bottom margins of zero ESC [ ; 720 r Default l engt h of 11 in ches, top mar gin of 1-inch .
Chapter 2. ANSI Emulation GEK-00029B 30 ESC [ p1 ; ... p22 ; u GENHTS ( Multiple Horizont al Tab S et): Sets up to 22 horizontal tabs. The p para meter s are set in decip oints. If mor e than 22 tabs are set , the highest numbered t abs (fart hest right) will be pu shed out of the tab table.
GEK-00029B 5000 Seri es Programmer’s Manual 31 Font Handling and Enhancements ESC [ p1; p2 SP B GSM (Graphic Size M odification): This se quence mo difies the vert ical <p1> and hor izont al <p2> si ze of expan ded an d oversi ze characters.
Chapter 2. ANSI Emulation GEK-00029B 32 ESC [ p1 ; p2 SP G SPI (Spacing Increme nt): This sequenc e is used to s et line spacing (p1) an d chara cter spa cing or pitc h (p2). If the para meter i s missing or zero, th e spacing remains un changed. I n the nat ive mode, p1 can range from 1 t o 17,820 decipoint s (24 inches).
GEK-00029B 5000 Seri es Programmer’s Manual 33 ESC [ p1 ; p ... m (continu ed) *A do wnload fo nt (if load ed) override s any o ther font. Se e Charac ter Map Loa d on page 23.
Chapter 2. ANSI Emulation GEK-00029B 34 ESC [ p1; ... pn h SM (Set Mode): Sets the mo de or mo des spe cifie d by th e param eters listed b elow. P aramet ers pr ecede d by the 'g reater than' si gn are privat ely defined mo des and sh ould b e sent separ ately.
GEK-00029B 5000 Seri es Programmer’s Manual 35 ESC ] 5 BFL (Be gin F ont Lo ad): This seq uence is n ot honored w hen self-test determines that the do wnload font op tion is not installed. Pe rmits downloa ding of customer -defined font character s into printer nonvola tile memory fro m the ho st.
Chapter 2. ANSI Emulation GEK-00029B 36 GRAPHICS The ANSI emul ation graphi cs mode prov ides both horizontal an d vert ical dot plotting met hods. Th ese met hods enable th e printing of ASCII char acters in their binary code form.
GEK-00029B 5000 Seri es Programmer’s Manual 37 This c hart sho ws the do t patterns for the A SCII c haracte rs nee ded to cover all dot/void combinations. O ther valid characters (although they are r epeat patter ns of th e characters in t he chart) are 20H-3F H.
Chapter 2. ANSI Emulation GEK-00029B 38 Horizontal Format Graphics d ata print ed in horizont al format is co mprised of a str eam of bytes fr om left to r ight across each dot row. This char t show s that byte 1 (or characte r 1) in r ow 1 pr ints i ts six bits fro m left to right in a single dot ro w.
GEK-00029B 5000 Seri es Programmer’s Manual 39 Eight-Bit Graphics Horizontal Format Graphics d ata print ed in horizont al format is co mprised of a str eam of bytes fr om left to r ight across each dot row. This char t show s that byte 1 (or characte r 1) in r ow 1 pr ints i ts eight bits fro m left to right in a single dot ro w.
Chapter 2. ANSI Emulation GEK-00029B 40 Other Graphics Considerations In horizonta l forma t, an LF c auses the pap er to a dvance o ne or two dot rows base d on t he ver tical dot densit y, re gardle ss of wh ether 6-bit or 8-bit graphics has be en selected.
GEK-00029B 5000 Seri es Programmer’s Manual 41 ESC [ p1 ; p2 ; p3 q GENGRM – Select G raphic s Mod e: Select s the graphi cs mode, format, and hor izontal or vertical densit y for dot gr aphics.
Chapter 2. ANSI Emulation GEK-00029B 42 ELECTRONIC VERTICAL FORMAT UNIT - EVFU Downline vertical tab loading is accomplished through the EVFU. The EVFU allo ws loading a fo rm table with a m inimum fo rm length of .33 inches (240 decipoints) and a maximum length of 24 inches (17, 280 deci poi nts).
GEK-00029B 5000 Seri es Programmer’s Manual 43 Each "channel control code" pair of b ytes has the capability to indicate multipl e channels since each chann el indication has a unique bit pos ition, which is e ither ON =1 or OFF=0 .
Chapter 2. ANSI Emulation GEK-00029B 44 EVFU Default The default EVFU will be generated based on the cu rrent form length and lpi setting und er the following conditio ns: ▪ When the printer is init.
GEK-00029B 5000 Seri es Programmer’s Manual 45 BASIC Programming Example for Skip to Channel This is a sampl e program show ing the use of the ski p-to-channel comman d.
Chapter 2. ANSI Emulation GEK-00029B 46 BAR CODES Thirteen diff erent styles of bar codes an d POSTNET are av ailable. Each st yle (ex cept POS TNE T) ca n be rotat ed 9 0, 180, or 27 0 degre es and prin ted w ith or wit hout a human -re adabl e line (HR L).
GEK-00029B 5000 Seri es Programmer’s Manual 47 SI LPRI NT CHR$( 15); Deacti vat es bar code s and all ows pr intin g of nor mal text . ESC [ 0 t LPRI NT CHR$( 27); "[0t "; Deselects bar codes. When an ESC [ 0 t is receiv ed bef ore the SI code, bar cod es are both deacti vat ed and des electe d.
Chapter 2. ANSI Emulation GEK-00029B 48 Bar Code Dimensions p2 Bar code h eight i n 1/12 -inch i ncrem ents Minimum: 1=l/12 inch Maxim um: 120= 10 inch es Defaul t: 9=9/ 12 in ch (3 / 4 in ch) Human-readable line is not included in height.
GEK-00029B 5000 Seri es Programmer’s Manual 49 p9 Bar cod e rotation and human-readable line (HRL) font style (if used). 0 No rotation - use c urrently select ed font style, cpi, and lpi. This is the de fault setting. 1 No rotation - use specia l HRL font.
Chapter 2. ANSI Emulation GEK-00029B 50 Default Bar Code Characteristics p1=4 Code 39 p2=9 3/4 inch height p3=1 Human-r eada ble line print ed p4=2 Narrow bar w idth 1/60 in ch p5=6 Wide bar widt h 1/.
GEK-00029B 5000 Seri es Programmer’s Manual 51 Bar Code Readability Statement The following informatio n is provided to ensure that the best resu lts are obtain ed from y our pr inted bar codes. Use bar cod e readers de signed to operate in t he visible light frequency range.
Chapter 2. ANSI Emulation GEK-00029B 52 Bar Code Program Examples The following pr ogram exa mples ar e prov ided to hel p you beco me familiar with the bar cod e escape sequences. The programs are written in BASIC and p rinted using the LUST command.
GEK-00029B 5000 Seri es Programmer’s Manual 53 Changing Parameters This example ch anges the st yle p1, height p2, an d the HRL f ont p9 of the bar co de. Notice t hat semic olons are use d as place h olders for the param eters n ot being chang ed. Line 10 - chan ges st yle to C ode 128, chang es height to 1/ 4" (3/ 12").
Chapter 2. ANSI Emulation GEK-00029B 54 Horizontal Spacing Use horizontal t abs for sp acing bar code sym bols acr oss the page. Line 10 sets ho rizontal tab s at 14 40 and 28 80 dec ipoints (2 a nd 4-inches). The HT co des in lines 40 an d 60 caus e a jump to th e next tab.
GEK-00029B 5000 Seri es Programmer’s Manual 55 Printer Option Strap 11, Group 2 IN Print er cont rol str ap 11 is u sed f or posi tionin g the pa per af ter print ing a bar code. St rap 11 I N sets th e paper t o the t op of the bar code aft er prin ting ; Str ap 11 OU T leaves t he paper positi on as is af ter prin ting a bar co de.
Chapter 2. ANSI Emulation GEK-00029B 56 EXAMPLE 3: Strap 11 OUT with no suppression of LF/CR on line 30 10 LPR INT CHR$( 27); " [3t" ; 20 LP RINT "123 4567890 "; 30 LPR INT CHR$( 2.
GEK-00029B 5000 Seri es Programmer’s Manual 57 Vertical Bar Codes ▪ Line 10 s ets par amet er p9 f or 90-d egre e rot ation usin g th e special font for the HRL. ▪ Line 20 tur ns on the bar co de mo de. ▪ Line 30 is t he dat a to be prin te d as a bar co de symb ol.
Chapter 2. ANSI Emulation GEK-00029B 58 COMMAS: Without HRL 10 LPR INT CHR $( 27); " [;; 0}"; 20 LPR INT CHR$( 27); " [3t" ; 30 LP RINT "123 4,5678 ,9012 "; 40 LPR INT CH.
GEK-00029B 5000 Seri es Programmer’s Manual 59 Horizontal Tabs ▪ Line 10 s ets hori zontal t ab st ops at 108 0 and 2 160 deci poin ts (1. 5 and 3 in ches). ▪ Lines 40 and 60 are I TT code s that cause a jum p to the next t ab stop. Line 90 i s a line of text to show p ositi onin g on th e paper.
Chapter 2. ANSI Emulation GEK-00029B 60 OVERSIZE CHARACTER FONT The oversize f ont is compose d of special block-style chara cters t hat can be expan ded 156 ti mes the size of standard font s. This will produc e letters up to 15 .25-inc hes (388m m) high by 13 inches (330m m) wide.
GEK-00029B 5000 Seri es Programmer’s Manual 61 Selecting Size ESC [p1;p2 B is t he sequen ce used to set the ver tical (p1) and horizontal (p 2) size of t he oversize char acters. A p1 value of 300 would incr ease the v ertical size of the char acter 300% or 3 t imes.
Chapter 2. ANSI Emulation GEK-00029B 62 Sample Programs Example 1 The first example sh ows the c ode used t o print oversize. Line 10 sets the size to X3 vertical (V) and X3 horizontal (H ). Line 20 enters over size printing wit h no rotation. Line 30 is the data to be printed.
GEK-00029B 5000 Seri es Programmer’s Manual 63 Example 3: Showing the Importance of Resetting Scaling Factors If line 50, which sets th e size to X1 V and X1 H. is r emoved, t he data print ed in li ne 60 is n ow subj ect to t he expan ded mo de of pr int ing.
Chapter 2. ANSI Emulation GEK-00029B 64 Printer Control Strap GenPrtOpts/Group 2/Strap 13 This pri nter contr ol strap i s us ed for p ositi oning the pa per aft er printing ov ersize character s.
GEK-00029B 5000 Seri es Programmer’s Manual 65 Example 4: GenPtrOpts | Group 2 Strap 13 IN The oversize ch aracter s and th e first line of normal print ing are aligned at the fi rst print line. The second line of nor mal print ing (Text Text Te xt .
Chapter 3. Printroni x P300/P600 Emulation GEK-00029B 66 CHAPTER 3. PRINTRONIX P300/P600 EM UL ATION INTROD UCTION This pr inte r is pl ug-c ompat ible w ith the Pr intr onix 30 0/60 0 fami ly of line printers. It accepts and acts upon all control codes utilized by this family of printers in a manner that is as functionally equivalent as possible.
GEK-00029B 5000 Seri es Programmer’s Manual 67 DC3 Busy/Select (13H): A receiv ed DC3 can be us ed to rem otely desel ect the printer in both serial and p arallel interfaces. A serial int erface protoc ol ca n be used to tra nsmit a DC 3 cod e to info rm the ho st of a busy condit ion.
Chapter 3. Printroni x P300/P600 Emulation GEK-00029B 68 SI Shift In (0FH): An SI code anywhere in the line ca uses the r emainder of the line and all follo wing lines to be printed in the stand ard font.
GEK-00029B 5000 Seri es Programmer’s Manual 69 PRINTRONIX GRAPHICS The Printroni x emulation gr aphics mo de prov ides a hori zontal dot placeme nt plotting method .
Chapter 3. Printroni x P300/P600 Emulation GEK-00029B 70 Dot Patterns This chart show s the dot p atter ns for the ASCI I char acters neede d to cover a ll dot/vo i d comb inations. Chara cters fro m 20H to 3FH p rovide the sam e patterns as cha racters 60H throu gh 7FH .
GEK-00029B 5000 Seri es Programmer’s Manual 71 Each line to be printe d as graphics m ust have one of the thr ee graphic contr ol codes (ENQ, EOT, DLE) in the line of data. The ENQ and EOT codes can be place d anywhere in the line of dat a. When used, th e DLE code must always be placed aft er the ENQ c ode.
Chapter 3. Printroni x P300/P600 Emulation GEK-00029B 72 P300/600 ELECTRONIC VERTICAL FORMAT UNIT The electronic vertical format u nit (EVFU) is used to download vert ical tabs to the pr inter. It allows jumps to pres elected lines on the form thro ugh vertic al mo ves o f the pape r.
GEK-00029B 5000 Seri es Programmer’s Manual 73 PI Lead Codes – Use with Serial Interface The PI lead is not used in the par allel int erface. To use the PI lead with t he serial interf ace, 8-bit codes m ust be sent.
Chapter 3. Printroni x P300/P600 Emulation GEK-00029B 74 Example EVFU Loading Program ▪ Using st andar d CENTR ONI CS parall el in terf ace with 36-pin conne ctor an d P Ser ies pr otocol . ▪ Using the cha nnel code c hart without the PI lea d. ▪ This program lo ads the EVFU t able with channel st ops at lines 6, 25, 57, and 66.
GEK-00029B 5000 Seri es Programmer’s Manual 75 Example Form Printout This example uses t he VFU table cre ated in th e previous e xample. Sample Program to Print Form The foll owin g sampl e prog ram uses t he EVFU pr ogra m fr om the pr ior exampl e.
Chapter 4. Printroni x P Series Emulation GEK-00029B 76 CHAPTER 4. PRINTRONIX P-SERIES EMULATION SPECIA L FU NCTI ON CO NTROL CHARA CTER (SF CC) When a printer control code c onsists of mor e than on e character, it is called a comman d or esca pe sequ ence.
GEK-00029B 5000 Seri es Programmer’s Manual 77 Set and Reset Codes Some pr int at tri butes are set an d res et (tur ned ON an d OFF ) by usi ng an SFCC comman d sequence an d the nu mbers one( 1) or zero( 0).
Chapter 4. Printroni x P Series Emulation GEK-00029B 78 COMMA ND INDE X Command Fo rmat Page Vertical Motion Form Feed <FF> 81 Forms Length Set (Inches) <SFCC> INCHES 93 Forms Length Set (.
GEK-00029B 5000 Seri es Programmer’s Manual 79 Font C ontr ol (co ntinu ed) Font Selection <SFCC> X <SFCC PMODE 89 Superscript /Subscr ipt Printing <SFCC> S 90 Superscript /Subscr ipt.
Chapter 4. Printroni x P Series Emulation GEK-00029B 80 CONTR OL C ODES Backspace Backsp ace <BS> : Moves th e logical print position to the lef t one character sp ace toward t he first char acter column.
GEK-00029B 5000 Seri es Programmer’s Manual 81 Form Fe ed Fo rm Feed <F F>: Print s the data in th e buffer , advances th e paper positio n to the next top -of-fo rm and mo ves the characte r positio n to the fir st character column. The FF code c ancels all single-lin e only print attribu tes.
Chapter 4. Printroni x P Series Emulation GEK-00029B 82 CHARA CTER SET S, FONT HA NDLING AND ENHANCE MEN TS Characte r Set Selects t he character set, exten ded chara cter set, and the Select intern ational language for a specif ic charact er set.
GEK-00029B 5000 Seri es Programmer’s Manual 83 Characte r Set (con tinued) Select Extended Character Set Sel ect (z) z x 0(30) IBM PC 1(31) 2(32) 3(33) 0(30) CP 850 1 NA NA NA 1(31) 2(32) 3(33) 4(34) 5(35) 6(36) 7(37) 8(38) 9(39) 10(3 A) 11(3 B) 12(3 C) 1 Valid only if x = 0.
Chapter 4. Printroni x P Series Emulation GEK-00029B 84 Sel ect Inte rna tion al Selects the interna tional cha racter using the paramete r (where the Characte r Set parameter is o ne of the values in the tabl e below).The ultimate charac ter se t selec ted is a functio n of the p aramete r and the currently-act ive code page.
GEK-00029B 5000 Seri es Programmer’s Manual 85 Bold Pri nt OFF Deselect s Bol d Print mode. Forma t <SFCC> H Decimal: <SFCC> 72 Hex: <SFCC> 48 BASIC: CHR $(< SFC C>); ”H”; Indete rminate Co ndition s This sequence resets Bold Print printing only.
Chapter 4. Printroni x P Series Emulation GEK-00029B 86 Emphasized Print Deselects Empha sized Chara cter print mod e. OFF Forma t <SFCC> F Decimal: <SFCC> 70 Hex: <SFCC> 46 BASIC: CHR $(<S FC C>);”F”; Indete rminate Co ndition s This sequence resets Emphasize d printing only.
GEK-00029B 5000 Seri es Programmer’s Manual 87 Extended Charac ter Ext ended Char acter Set Ac cess: Accesses t he exten ded ch aracter Set Select set in the range ADH t o FFH hex u sing codes 2 0H to 7F H. Used in 7-bit syst ems as if dat a bit 8 w as set to 1.
Chapter 4. Printroni x P Series Emulation GEK-00029B 88 Extended Charac ter E xtended C haracter Set C ancel: Can cels the e xtended char acter set Set Cancel as selected by SO, SFCC SO, SFCC n, SFCC 4, and selects the primary Chara cter Set. Used in 7-bit syst ems as if dat a bit 8 w as set to 1.
GEK-00029B 5000 Seri es Programmer’s Manual 89 Font S elect Font S electi on: Selects a font (DP , NLQ, or OC R) and character p itch in characters per inch (cpi).
Chapter 4. Printroni x P Series Emulation GEK-00029B 90 Oversc oring Over scori ng: Enable s or disabl es autom atic over scoring of all characters. Forma t <SFCC> _ <n> Decimal: <SFCC&.
GEK-00029B 5000 Seri es Programmer’s Manual 91 Underli ne Characte r Under lining : Enables or disables a utomat ic und erlining of all characters. Forma t <SFCC> - <n> Decimal: <SFCC.
Chapter 4. Printroni x P Series Emulation GEK-00029B 92 HOUSEKEEPING COMMANDS Prin t Control Co des Forces t he hex codes 8 0H to 9F H to bec ome printable sy mbols in t he currently select ed charact er set. Cancel s the exe cutable c ontrol code operatio n activate d by the SF CC 7.
GEK-00029B 5000 Seri es Programmer’s Manual 93 Set Forms Leng th Set Form Length (Inches ) In Inches Forma t <SFCC> I N C H E S ; <n> ; <f> Decima l: <SFCC> 73 77 67 72 69 83.
Chapter 4. Printroni x P Series Emulation GEK-00029B 94 Set Line Spa cing Sets line spacing to 6 lpi or as set by (1/6 Inch ) SFCC A. Formats <SFCC> L P I ; n or <SFC C> A n foll owed by <SFCC> 2 Details Using the SFCC L PI ; n command, t he value of n can be 6 or 8 only.
GEK-00029B 5000 Seri es Programmer’s Manual 95 Set Line Spa cing Ther e are two f ormats for t his (1/8 Inch ) com man d. The SFCC 0 co mmand specif ies contin uous line spa cing at 1/8-inch increments (8 lpi). In the SFCC LPI ; n co mmand , the valu e of n ca n be 6 o r 8 only.
Chapter 4. Printroni x P Series Emulation GEK-00029B 96 Set Line Spa cing Specif ies the line spa cing at 7/72-inch 7/72 Inch (10.3 lpi) increments. Forma t <SFCC> 1 Decimal: <SFCC> 1 Hex:.
GEK-00029B 5000 Seri es Programmer’s Manual 97 Set Line Spa cing Specif ies the line spa cing at n/216 n/216 Inch inch increments. Forma t <SFCC> 3 <n> Decimal: <SFCC> 3 <n> .
Chapter 4. Printroni x P Series Emulation GEK-00029B 98 PLOT MODE GRAPHICS OPERA TIONAL DESCRIPTION Plot Density Plot density refers to the nu mber of do ts per inch (dpi) printed in a single dot row.
GEK-00029B 5000 Seri es Programmer’s Manual 99 Plot Data Line Format 1. The pl ot mo de cont rol c ode: eit her 05 h ex (or “SFCC e ”) for n ormal density, o r 04 hex (or “SFCC d” ) combined with 05 hex for doub le densit y plot tin g. 2. The d ata byt es to be pl ott ed.
Chapter 4. Printroni x P Series Emulation GEK-00029B 100 Double Density Plot Mode Format 1. Sen d the ev en dot pl ot cont rol c ode EO T (04 h ex) or contr ol sequenc e “SF CC d”, f ollowed by a lin e of data. 2. Send a line term inator, which c auses the p rinter to p lot the contents of t he buff er.
GEK-00029B 5000 Seri es Programmer’s Manual 101 Plot Mode Graphic Character Chart Char Hex Value Dots Char Hex Value Dots Char Hex Value Dots spac e 20 ooooox @ 40 oooooo ` 60 ooooox ! 21 xooo ox A .
Chapter 4. Printroni x P Series Emulation GEK-00029B 102 PLOT MODE GRAPHICS DENS ITY COMMANDS High Hori zont al Prints do ts at the e ven Density Gr aphics numbered dot col umns.
GEK-00029B 5000 Seri es Programmer’s Manual 103 Single Li ne, Hi gh (G enicom P rivate Co mmand): Used in form ing a line o f pl ot mod e Horizontal Density graphics, this code specifi es a single line of data to be plotted at a dot horiz ontal density of 120 DPI .
Chapter 4. Printroni x P Series Emulation GEK-00029B 104 DIFFERENCES FROM TARGET PRINTER E MULATION Discarded Commands The following co mmands fr om the targ et printer are parsed by t he curren t P-S.
GEK-00029B 5000 Seri es Programmer’s Manual 105 COMMA ND LINE DE BUG The Genicom P-Seri es emulati on does not contain t he command line debugg er f unction for det ecti ng and di spla ying er ror i n Comman d Line Sequences.
Chapter 4. Printroni x P Series Emulation GEK-00029B 106 FONT STYLES, PITCHES, AND CHARACTER SETS Font Styles The emulati on uses th e DP font instead of the t hree (3) High Speed fonts. Font Pitches Quality Emulati on Target DP 60 x 7 2 120 x 72 High S peed 60 x 7 2 120 x 48 NLQ 120 x 144 180 x 96 OCR 120 x 144 1 20 x 144 Character Sets Set No.
GEK-00029B 5000 Seri es Programmer’s Manual 107 Plot Mode Graphic Densities The target pr inter default s the graphi c density t o certain values b ased on the font selection: ▪ DP: 60 dpi horizon.
Chapter 5. Proprinter Emul ation GEK-00029B 108 CHAPTER 5. PROPRINTER EMULATION INTROD UCTION The IBM Pr oprinter II I XL emulation Is select ed through t he control panel. Pr int er opt ion str aps Pr opri nter Ta ble (A ppen dix D) r epla ce the applicable swit ches use d on a Propr inter.
GEK-00029B 5000 Seri es Programmer’s Manual 109 CR Carriag e Re turn: CR m oves the cur rent print position to t he left margin. If a uto LF on CR is set, either b y Emula tion Settings menu option or by command (ESC 5), then a line feed will also be executed.
Chapter 5. Proprinter Emul ation GEK-00029B 110 HT Hori zontal Tab: Adva nces the p rint positio n to the next ho rizontal tab sto p. If ther e are no tab st ops betwe en the pr int positi on and the right mar gin, the HT is ignore d. Tab sto ps are set by th e command ESC D.
GEK-00029B 5000 Seri es Programmer’s Manual 111 COMMA ND DIRE CT ORY Seq uence Meaning Page ESC A n Set text line spacing to n/72 inch 114 ESC B n1…n64 0 Set ver tical tabs by line number s 115 ES.
Chapter 5. Proprinter Emul ation GEK-00029B 112 ESCAPE SEQUENCES ESC - n Undersc ore: When underscoring is enabled, all printable characters and all space charact ers. incl uding leading spa ce character s. are underlined. Lea ding white space preceding a hori zontal tab sto p is not underlined.
GEK-00029B 5000 Seri es Programmer’s Manual 113 ESC [T n1 n2 ml Select Code Page : Sel ects internat ional charact er sets. The m2 m3 m4 m5 default is IBM PC Multilingu al Set 2. n1: Alwa ys 5 (The number of m param eters used .) n2: Always 0 ml, m2, and m 5 are always zero.
Chapter 5. Proprinter Emul ation GEK-00029B 114 ESC 3 n Set Gr aphics Line S pacing: S ets the line spa cing to n units of 1/ 216 inch. This allows for line spacing in .0 046 inch increments to 1 .18 inches (255/21 6). The value of n/216 is r ounde d up to th e next 1/144 inc h.
GEK-00029B 5000 Seri es Programmer’s Manual 115 ESC B n1 ... n64 0 Set Ve rtical Tab S tops: T his sequenc e sets up t o 64 vert ical tabs by line number. The t abs must be in ascending or der and t he sequen ce must end w ith a NUL. ESC B NUL clear s all tab stops.
Chapter 5. Proprinter Emul ation GEK-00029B 116 ESC H Stop Double-Strike Print Decimal : 27 72 Hex: 1B 48 BASIC: CHR $( 27);" H"; ESC I n Select Print M ode n = 0 selects Draft Resident, USA.
GEK-00029B 5000 Seri es Programmer’s Manual 117 ESC P n Selec t Prop ortional Sp acing If n = odd num ber, propor tion al pr int enable d. If n = even number , propo rtional print disa bled.
Chapter 5. Proprinter Emul ation GEK-00029B 118 ESC W n Set Double-Wide Print On/Off: Wh en enabled, printable ch aracters are printed t wice their cur rent wi dth.
GEK-00029B 5000 Seri es Programmer’s Manual 119 PROPRINTER DOT GRAPHICS Dot graphi cs allows you t o print individ ual dots at any position on the page. The Proprint er doesn't adjust th e line feed incre ment automatically on entering gr aphics.
Chapter 5. Proprinter Emul ation GEK-00029B 120 Weig h t Wire Graphics Dot Pa ttern 128 1 !!! !! ! 64 2 !! ! ! 32 3 !! ! 16 4 !! ! 85 !! 46 !! 27 !! 18 !!! 0 0 0 1 12 136 132 130 65 49 65 130 132 136 112 0 0 Programmin g Exampl e The following BASIC program will produce the graphic shown above.
GEK-00029B 5000 Seri es Programmer’s Manual 121 ESC Z n1 n2 v1…v n Quadruple-D ensity G raphics ( Reduced Speed): Sets a density of 240 dpi ho rizontally and 72 dpi vertically. If horizontally adjacent dots are spec ified, the n the seco nd do t is not p rinted.
Chapter 6. Epson FX286-E Emulation GEK-00029A 122 CHAPTER 6. EPSON FX286-E EMULATION INTROD UCTION The FX288-e emulation causes the 5000 printers to emulate a 9-wire dot ma trix printer.
GEK-00029A 5000 Seri es Programmer’s Manual 123 Print Mode Combinations The chart bel ow show s those pr int modes t hat can be us ed tog ether and those t hat cannot. When an FX-286e c ommand is rec eived to turn on two p rint modes that are incompatible, one of them will take preceden ce over the other one.
Chapter 6. Epson FX286-E Emulation GEK-00029A 124 FUNCTION AL DIFFERENCES The following is a list of functional differences between th is printer’s emulation an d the FX-28 6e print er. ▪ The maximum line length is 13.6 inches (13 6 columns at 10cpi, 816 graphics columns per line at 60 dp i).
GEK-00029A 5000 Seri es Programmer’s Manual 125 ADDITIONAL ESCAPE SEQUENCES The following esc ape sequen ces are s uppor ted by t his emulation, but are not par t of th e FX-286e com mand set : ESC .
Chapter 6. Epson FX286-E Emulation GEK-00029A 126 FX-286E CON TROL CODES BEL Bell (07H): Sounds th e bee per. BS Backspace ( 08H): Flushes all pr int data and th en moves t he print position on e character width t o the left base d on the c urrent character sp acing.
GEK-00029A 5000 Seri es Programmer’s Manual 127 HT Hori zontal Tab (09H): I f th ere are tabs set, t his code ends t he curren t prin t buff er and ca uses i ts conten ts to be print ed. The horizonta l print pos ition moves right to the nex t horizonta l tab s top positio n.
Chapter 6. Epson FX286-E Emulation GEK-00029A 128 VT Vertical Tab (0BH): Ends the cur rent print buffe r and c ause s its conten ts to be p rinted. A CR functio n is always pe rformed up on receipt of a V T code. Th e VT co de then advanc es the p aper v ertically to the nex t vertica l tab p osition in the channe l selecte d by the ESC / sequence.
GEK-00029A 5000 Seri es Programmer’s Manual 129 FX-286E ESCAPE SEQUENCE DIRECTORY Escape Seque nce Definition Page ESC SO Select double-w ide pr int mode 142 ESC SI Select conden sed pr int mode 13 .
Chapter 6. Epson FX286-E Emulation GEK-00029A 130 Escape Seque nce Definition Page ESC k n Select font style 144 ESC p n Turn pr op orti onal m ode ON/ OFF 135 ESC s n Turn half-s peed pr int m ode ON.
GEK-00029A 5000 Seri es Programmer’s Manual 131 FX-286E ESCAPE SEQUENCE GROUPINGS The FX-286e esca pe seq uences have b een separat ed accor ding to functionality. Spe cial areas of interest such a s character s pacing, print modes. and graphics hav e separate s ection s.
Chapter 6. Epson FX286-E Emulation GEK-00029A 132 MARGINS ESC C n Set Page Le ngth in Lines: Sets the forms length to n lines. Th e value for form length is sto red in inches and will not change when line spacing Is changed. This seq uence reset s the to p of form v alue to the curr ent line positi on and reset s the perfor ation ski p mode.
GEK-00029A 5000 Seri es Programmer’s Manual 133 ESC | n Set Left Margin: Sets the left margin to n columns in the cur rent cpi. When pr oport ional mode is in ef fect, t he settings ar e treated as though the y were se t for pic a (10 cp i horizontal).
Chapter 6. Epson FX286-E Emulation GEK-00029A 134 LINE S PACING ESC 0 Select 1/8-i nch li ne spaci ng (8 lpi): Sets th e line spacing to 1/8-in ch or 8 l pi. Decimal : 27 48 Hex: 1B 30 BASIC: CHR $( 27);" 0"; ESC 1 Select 7/72-I nch Lin e Spaci ng: Sets the line spac ing to 7/72 of an inch.
GEK-00029A 5000 Seri es Programmer’s Manual 135 CHARA CTER SP ACI NG ESC SI Selec t Condensed Pri nt Mode: Performs the same fu nction as the SI control code. Decimal : 27 15 Hex: 1B 0F BASIC: CHR $( 27); CHR$( 15); ESC M Select Eli te Pitc h: This sets the pi tch to 12 cpi.
Chapter 6. Epson FX286-E Emulation GEK-00029A 136 TABS ESC B n 1…n16 NUL Set Vertical Tab Stops: Se ts up to 16 vertical tabs in c hannel at the indicated line numb ers in the cur rent line spacing. Th e list of tab stops must be terminated by the NUL c ode.
GEK-00029A 5000 Seri es Programmer’s Manual 137 ESC b c n1 n2…n8 Set V ertic al Tabs in C hannel s 0 Throug h 7: Sets vertic al tab stops NUL in an y one of 8 v ert ical t ab channel s num bere d 0 thro ugh 7. This allows yo u to se t up to 8 differe nt groups of vertic al tab s.
Chapter 6. Epson FX286-E Emulation GEK-00029A 138 PAPER MOVEMENT ESC J n Single Va riable Li ne Feed: This seq uence ca uses the cont ents of the print buffe r to pr int. The pri nt posit ion is then moved down t he pag e by the distanc e specifie d by the paramet er in 1/216-inch incre ments.
GEK-00029A 5000 Seri es Programmer’s Manual 139 PRINT POSITION ESC < Select Unidire ction al Mode (1 Line): Forces unidirectional print, from right to left , in the line in which this command is embedded. Unidirectional printing be gins with the first character following receipt of t his comman d and is cancele d by a carriage r eturn.
Chapter 6. Epson FX286-E Emulation GEK-00029A 140 ESC n1 n2 Set Relative Pri nt Position: Sets the position whe re printing will occu r next re lative to the curre nt print po sitio n. Parame ters n1 an d n2 are in 1/120-inch increm ents and are e xpres sed as n1 + (n2 x 256).
GEK-00029A 5000 Seri es Programmer’s Manual 141 PRINT MODES ESC - n Turn Under lining ON/O FF: Enables or disa bles aut om atic underlining depending on the p arameter n as follows: n=1 enable underline n=0 dis abl e under line The underline will be positio ned on dot row 9 o f draft characters and row 18 of NLQ ch aract ers.
Chapter 6. Epson FX286-E Emulation GEK-00029A 142 ESC S n Select Sup erscript/Subs cript Printi ng: This seque nce en ds the curren t prin t buff er and ca uses it s content s to be pr int ed. I n each mode, the characte r is sho rtened to half height and then pos itioned in the upper (superscripts or lo wer (subscript) half of the print line.
GEK-00029A 5000 Seri es Programmer’s Manual 143 ESC w n Turn Double-High Printing ON /OFF: Tu rns double-high printing on or off a ccording to the valu e of pa rameter n a s follo ws: n=1 doub le-hi.
Chapter 6. Epson FX286-E Emulation GEK-00029A 144 ESC ! n Mast er Print Mode Se lect: Selects any v alid combination of the printing modes listed below. T he parameter n is equal to the sum of the decimal v alues ass ociated wit h each mode. Note that pic a and elite are mutu ally exclusiv e and prop ortional over rides con densed.
GEK-00029A 5000 Seri es Programmer’s Manual 145 SPECIAL CHARACTER PRINTING ESC I n Prin table Code Area Ex pansion: If n is binary o r ASC II one, s ome ASCII cod es betw een 0-31, an d some or all codes between 12 8-159 inclusive, be come printab le as char acters.
Chapter 6. Epson FX286-E Emulation GEK-00029A 146 EXECUTED ASCII CODE Range 1 Range 2 Decimal He x Decimal Hex Chara cter Print ed 21 15 149 95 slash ed o (ø) 22 16 150 96 umlaut accen t (¨) 23 17 1.
GEK-00029A 5000 Seri es Programmer’s Manual 147 ESC t n Select a Code Pa ge: Selects on e of four variable s that cont ains a specific co de page select ion. The fo ur var iables are loaded v ia the ESC ( t and the ESC [T seq uences. The four variable s are identif ied as 0,1,2.
Chapter 6. Epson FX286-E Emulation GEK-00029A 148 ESC ( T nl n2 A ssign a C ode Page to Vari able 1: Assign s a code page to (n2)(m 1) m1...m5 the 1 v ariable us ed by the ESC t sequence. N ote that t his sequence is very similar to the ESC ( t sequen ce except that v ariable 1 is th e only variable t hat can accept a code page a ssignment .
GEK-00029A 5000 Seri es Programmer’s Manual 149 MISCELLA NEOUS COMMANDS ESC # Cancel MSB (Most Si gnificant Bit) Contr ol: Canc els the most significant bit contr ol set by either ESC = or ESC >.
Chapter 6. Epson FX286-E Emulation GEK-00029A 150 FX-286E DOT GRAPHICS Dot graphi cs allows you t o print individ ual dots at any position on the page , and thus to print p ictures a s well as text. While in grap hics mode, em phasized, d oubl e-strike.
GEK-00029A 5000 Seri es Programmer’s Manual 151 Image Data Bytes The FX-28 6e pri nter support s both 8-pin and 9-p in v ertical format s. Since this emulation supports only 8-pin graphics, 9 -pin graphics will not be exp lained or illustrated here.
Chapter 6. Epson FX286-E Emulation GEK-00029A 152 FX-286E DOT GRAPHICS CONTROL SEQUENCES ESC K n1 n2 v1...v n Norma l Densi ty Grap hics: Sets a density of 60 d pi horizontally and 72 dpi vert icall y. Decima l: 27 75 n1 n2 v1...vn Hex: 1B 4B n1H n2H v1H .
GEK-00029A 5000 Seri es Programmer’s Manual 153 ESC * m n1 n2 Selec t Grap hics M ode: Select s graphics m ode m (see table below) f or v1...vn n1 + (n2 x 25 6) column s. The var iables n1 an d n2 repre sent the number of data bytes to be sent that will be interpreted as graphics.
Chapter 6. Epson FX286-E Emulation GEK-00029A 154 After t he command is sent , the ESC L com mand t hen causes the horiz ontal d ensit y to be 6 0 dpi i nste ad of 12 0 dpi.
GEK-00029A 5000 Seri es Programmer’s Manual 155 CHAPTER 7. DEC LG / COMPAQ LG PLUS EM UL ATIO N CONTR OL C ODE DE FINITIONS The control code s are single chara cter action c odes in the range 0 - 3 1 d e cim a l i n th e A SCI I c ode ch ar t . The following are those codes, which are relevant to this emu lation.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 156 VT Vertical Tab: Line terminator. The active print position will be set to the next ve rtical ta b sto p. Indete rminate Co ndition s If there are no vertical tabs set, the active po sition will be advanced to the bott om margin.
GEK-00029A 5000 Seri es Programmer’s Manual 157 DC 3 Device Control 3: DC3 applies t o the serial interface only. If READY/BU SY by DC1/DC3 h as been enabled v ia the prin ter configuration menu, the printer wi ll transmit a DC3 when its receive buffe r reaches the high trip point .
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 158 COMMA NDS The control seq uence intr oducer (CSI ) signals the beginning of an ANSI contr ol sequence t hat may accept paramet ers. In the 7-bit environment, ESC [ is used. In t he 8-bit envi ronment, either ESC [or the single code 9B may be used.
GEK-00029A 5000 Seri es Programmer’s Manual 159 HTS Horizontal Tab Set: A ho rizontal tab will b e se t at t he curren t p rint position . Indete rminate Co ndition s If the maxim um number of stops (32) is alr eady set when a new one is programmed, the new one will be inserted and the rightmost tab stop rem ove d.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 160 RI Re ve rs e In de x: Moves the a ctive line pos ition up to the s ame po sition on the preceding line. The Reverse Index command causes the active pos ition to sto p at the top of the margi n.
GEK-00029A 5000 Seri es Programmer’s Manual 161 OS C Operating System Command : OSC intr oduces an Operating System Command String . OSC control st rings a re ignored Indete rminate Co ndition s The.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 162 SG R ( n1 ) (n2 ) ... m S elect Graphics Rendition : This sequence will select the Font (mode and charact er style) by usin g one or more of t.
GEK-00029A 5000 Seri es Programmer’s Manual 163 DE CR FS Request Font Statu s : Requests a status report of the fonts available for p rinting , the memo ry ava ilable for loading form s and logos , or b oth .
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 164 DECDLG Delete L ogo Sequ ence: Delete logo from printe r memory . P1 defi nes the log os to be del eted. Indete rminate Co ndition s When P1 = 0, P2 t hrough Pn ma ke up t he ID of the log os to be delete d.
GEK-00029A 5000 Seri es Programmer’s Manual 165 DE CL FM Loading Forms Sequence: Allows for ms to be loaded and stored into printer memory. General Com mand S yntax DCS P1; P2& p recor d ST P1 spec ifies the fo rm file fo rmat. (must be 0) P1 = 0 LG-series printer lo go file format.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 166 DECFLM (continued) Sample DECFLM Sequence ESC P 0 ; 3 & p 04Memo%@00234 ESC Decimal : 144 P1 59 P2 38 11 2 record 15 6 Hex: 90 P1 3B P2 2.
GEK-00029A 5000 Seri es Programmer’s Manual 167 DE CI FM Start Forms Sequence: Selects any form loaded in the printer’s RAM. When a form is selected, the printer enters Form Mode and variable ‘fill- in’ data is merged and p rinted with the form d ata .
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 168 SI XE L Sixel Graphics: Th is sequence pr ovides a group of 6 bit bytes to be used as vertical graphics data. A bit value of 1 means print a pixel, whil e a bit value of 0 means leav e a blank.
GEK-00029A 5000 Seri es Programmer’s Manual 169 DE CL LG Loading Logo Seque nce: A gr aphic image is downloa ded and st ored in printer memory. General Command Syntax DCS P1 P2 & t record ST P1 spec ifies the lo go file fo rmat. (mu st be 0) P1 = 0 LG-series printer lo go file format.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 170 DEC AU PSS Ass ign U ser Pref eren ce Suppl emen tal Set : Assigns sever al of the ISO and special ch aract er sets to th e User Pref erence Su pplemental Set. The fo llowing tab le lists the UP S Characte r Sets.
GEK-00029A 5000 Seri es Programmer’s Manual 171 DECTFM Termi nate Form s Sequence: Terminates t he printing of a form. General Com mand S yntax ESC # SP 1” Indete rminate Co ndition s If no for m is selected, this seq uence is ignor ed. Many s pecial conditions might affect t he printer output see t he note bel ow for further info rmation.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 172 ▪ When using bar codes as p art of the fill-in data, make su re that the control char acter encod ing character of the bar c ode differs from the sw itch character in the Select Form sequence.
GEK-00029A 5000 Seri es Programmer’s Manual 173 DECBLOCK C Start Bl ock C haracter M ode: Gener ates th e block ch aract ers fr om the charact ers that f ollow the sequenc e. General Com mand S yntax ESC % SP 1 Indete rminate Co ndition s The b lock cha racters inhe rit the last se t of p aramete rs defined .
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 174 S8C1R Select 8-Bit Code: In an 8-bit envi ronment, this sequ ence allows receipt of 8 -bit contr ol strings.
GEK-00029A 5000 Seri es Programmer’s Manual 175 GSM Grap hic Size Modifica tion: This seq uence will change the height and/or widt h of gr aphic char acte rs. Th e first and secon d para meter s are the percent ages by which the height and width res pectively will be mult iplie d.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 176 S8C1T Select 8-Bit C1 Transmission: Thi s sequen ce cau ses the print er to use 8-bit encoding for all C 1 control char acters transmit ted. All C1 characters ar e then repr esented a s one-char acter CSI sequences.
GEK-00029A 5000 Seri es Programmer’s Manual 177 SSU Selec t Size Unit: When PU M is set, Select Size U nit selects eith er decipoints or pixels as the spacing unit, d epending on the parameter settin gs defin ed bel ow.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 178 HPA Horizon tal Po sition Absolu te: The active print position will be move d to the locatio n specifie d by p1 .
GEK-00029A 5000 Seri es Programmer’s Manual 179 RIS Reset to Initi al Stat e: Reset s the v alue or st ate of sev eral operat ing features. This seq uence resets t he printer to a set of oper ating values and co nditions s imilar to the factory d efau lt settings (see tab le below) .
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 180 DA Produ ct Identifi cati on: Shows t he prod uct identif ication. W hen the host sen ds a device at tribut es sequenc e, th e printer r esponds w ith a sequence t hat identif ies the print er.
GEK-00029A 5000 Seri es Programmer’s Manual 181 TBC Tab Cle ar: This sequence will cle ar horizontal o r vertical tab (or tabs) based on the par amet er. I f no param eter i s presen t, t he default will be to clear t he horizontal t ab at the cur rent posit ion, if one exi sts.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 182 DECAWM Autowrap Mode: Deter mines what ha ppens when text excee ds the right marg in. When autowr ap is enabled and t ext exc eeds the ri ght margin, the ac tive print p ositio n move s to the le ft margin on the next line.
GEK-00029A 5000 Seri es Programmer’s Manual 183 VFU End Load V ertical Format Unit ( End Loa d): This sequ ence will end the Vertical Format Unit load.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 184 HPB Horizon tal Po sition Backwa rd: Th e current horizontal positio n will be changed, m oving t he active posit ion in the backw ard direct ion by the specifie d amount. The movem ent is not permit ted to cr oss the left margin of the current fo rm.
GEK-00029A 5000 Seri es Programmer’s Manual 185 DSR Device S tatus Re quests: The h ost sen ds the Devi ce Status Req uest listed below to reques t a printer s tatus report.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 186 Printer S tatus Er ror Cod es Pn1 Fault Code Pn2 Fault Code Printer Fault 27 206 Pa per Out 25 0 Paper Jam 26 0 Cover Open 38 229 R ibbon Jam .
GEK-00029A 5000 Seri es Programmer’s Manual 187 DECSTR Soft Terminal Reset: Resets th e value or stat e of sever al operating features. After r eceiving a DECS TR, the pr inter position s itself at the next Top Of Form th en resets th e value or st ate of sev eral operat ing featur es.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 188 DECSBCA Select Bar Code A ttributes: This s equence will select a bar code type and orien tation . General Com mand S yntax ESC [ P1 ;P2;P2; ... ;P9 s P1: Bar Code Style The allowe d values for P1 are show n in the following t able.
GEK-00029A 5000 Seri es Programmer’s Manual 189 P8: Bar code Rotati on 0 no ro tation (d efault) 1 no ro tation 2 270 degrees rot ation 3 90 degree s rotati on 4 180 degrees rot ation P9: Human Re a.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 190 DEC SLRM Set Le ft an d Righ t Ma rgins : Sets the left and right m argins. Pn1 sets the left margin and the line home p osition. Pn2 sets the r ight margin. If the firs t param eter is gre ater than the seco nd para meter, the sequence will be ignored.
GEK-00029A 5000 Seri es Programmer’s Manual 191 DECSHTS Set Horiz ontal Tab Stops: This se quence will set multiple horizontal tab sto ps. DECSHTS allows up to 16 ta b stop s to be set at o nce. Up to 32 horizonta l tabs c an be sto red. If more than 3 2 ta bs are spec ified by the escape seq uence, the lef tmost 32 will be retained.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 192 DECSHORP Set H orizon tal Pitch: This sequence will set the number of characters pr inted per hor izontal inch on a line. In addition t o changing character size, t his sequence will r eset the left and r ight margins and will retain the current horizo ntal tab settings.
GEK-00029A 5000 Seri es Programmer’s Manual 193 DECSGD Set Graphics De nsity: DECSGD sets the d ensity for graphics. P sh designates t he horizontal dot density and Psv designat es the v ertical dot de nsit y.
Chapter 7. Dec LG/Compaq LG Plus Emulation GEK-00029B 194 DECVEC Drawing Vectors: Thi s sequen ce draw s horizontal or ver tical lines with lengt h and width. Mar gins do not af fect line draw ing so you can draw lines to th e physical limits of the page.
GEK-00029B 5000 Seri es Programmer’s Manual 195 CHAPTER 8. PPL3 PLUS EMULATION INTROD UCTION General Considerations This chapter describ es the GE NICOM 5 000 im plementat ion of t he DEC PPL 3 pri nter prot ocol.
Chapter 8. PPL3 Plus Emulation GEK-00029B 196 7-Bit Versus 8-Bit Environments In some env ironments, only 7 bits are us ed to enco de char acters. I n these envi ronments, the st andard 7-b it character set appli es. This set includes only th e C0 and GL ch aracter sets and t he special characte rs repr esent ed by h exa decimal value s 20 an d 7F.
GEK-00029B 5000 Seri es Programmer’s Manual 197 In an 8-bi t env ironmen t, t he low order 7 bits determ ine whet her a character is pr intable or is a control ch aracter . The stan dard 8-bit code tabl e consists of the entr ies above as w ell as the 8-bit r ight-half table tha t follows .
Chapter 8. PPL3 Plus Emulation GEK-00029B 198 Printable Characters The GL charact ers in a 7-bit env ironment and GL and GR in an 8-bit environme nt are inte rpreted as printab le if they are not em bedded in a contro l functio n. It tak es se lection of b oth a fo nt and a graphic character set to specify a char acter to b e printed.
GEK-00029B 5000 Seri es Programmer’s Manual 199 CONTR OL C ODES Introduction Generally, c ontrol codes ar e not print ed and ca use the pr inter to perfo rm a co ntrol functi on. Wi thin P PL III, there is an exc eptio n whe n Control Representation Mode (C RM) is set.
Chapter 8. PPL3 Plus Emulation GEK-00029B 200 HT Hori zontal Tab (09H): HT moves the active po sition to the nex t horizonta l tab s top on the sa me line. If no ta b sto p exis ts to the right of the ac tive horizo ntal and within the right margin, HT mo ves to the right margin and s ets the Right M argin Flag.
GEK-00029B 5000 Seri es Programmer’s Manual 201 C1 Control Characters All C1 control ch aracters a bort any escap e sequen ce, control sequence, or control str ing in progress. See the secti on on Special Parsing Requirements earlier in the chapter.
Chapter 8. PPL3 Plus Emulation GEK-00029B 202 HTS Horizontal Tab Set (88H): HTS sets a horiz ontal tab sto p at the active hor izontal position. No change oc curs if the act ive horizont al position is in th e tab table. I f the t able is full, the highest tab stop is lost.
GEK-00029B 5000 Seri es Programmer’s Manual 203 SPECIAL CHARACTER PROCESSING As me ntioned in the introdu ction, fo ur cha racters are co nsidered special chara cters.
Chapter 8. PPL3 Plus Emulation GEK-00029B 204 Special Character Parsing Received Charac ter ESC, CSI , DCS Intro Sixel DECATFF DECDTFF DECA UPSS DECLFF Undefin ed Contro l String ESC See 1 See 1 See 1.
GEK-00029B 5000 Seri es Programmer’s Manual 205 ESCAPE SEQUENCE / CONT ROL FUNCTION SYNTAX Within PPL I II, the ov erall descript ion given t o control code s, escape sequences an d control st rings is "comman ds." For c onsistence w ith the rest of this manual, separateness will be maintained.
Chapter 8. PPL3 Plus Emulation GEK-00029B 206 the ">" charac ter (3E) at the beginning o f a param eter string ind icates the presenc e of Digital pr ivate para meters.
GEK-00029B 5000 Seri es Programmer’s Manual 207 COMMA ND DIRE CT ORY Command Descripti on Page ASCEF Announce Subset of Code Ex tension Facilities 209 CPR Curso r Position Repo rt 209 CRM Co ntrol R.
Chapter 8. PPL3 Plus Emulation GEK-00029B 208 Command Descripti on Page SS2, SS3, SO , SI, LS0 to LS3 and LS1 R to LS3R PUM Positioning Unit Mode 237 RIS Reset to Initial State 237 SCS Select Coding S.
GEK-00029B 5000 Seri es Programmer’s Manual 209 COMMA ND DI CTIONA RY ASCEF Annou nce Subs et of C ode Ex tensi on F aciliti es: This indicates which subset of code extension facilities or what level of ISO 4873 is used for su bsequent exchanges of information.
Chapter 8. PPL3 Plus Emulation GEK-00029B 210 CRM Control Repr esent ation Mode: This sequ ence enter s or exits a m ode in which the printe r prints a grap hic tok en for e ach byte. In this mode, the printer d oes no t act up on co ntrol ch aracters.
GEK-00029B 5000 Seri es Programmer’s Manual 211 DAR Printer Attribu tes Rep ort (ge neric res ponse) : Response t o a Print manage r reques t for a P rinter Attrib utes (DA) rep ort. Source: Print er Dest inat ion : Print m anag er Forma t CSI ? Ps1 Ps2 … Psn c Description The printer sen ds this com man d when set to t he generic res ponse.
Chapter 8. PPL3 Plus Emulation GEK-00029B 212 DAR Printer Attribu tes R eport (ali as resp onse) : Response t o a Print manage r reques t for a P rinter Attrib utes (DA) Rep ort. Source: Print er Dest inat ion : Print m anag er Forma t CSI ? Ps1 Ps2 Psn c Description The printer sen ds this seq uence w hen set to th e alias resp onse.
GEK-00029B 5000 Seri es Programmer’s Manual 213 DEC AU PSS Ass ign U ser Pref eren ce Suppl emen tal Set : Assigns a part icular character set to the User Pr eference S upplemental set . This bec omes the charact er set designat ed by th e User Pref erence char acter set final when used in a Select Character Set (SCS) sequence.
Chapter 8. PPL3 Plus Emulation GEK-00029B 214 Error Han dling The printer acc epts the U ser Prefer ence Sup plemental char acter set selection ev en if the selected char acter set is not current ly available. The c haracte r set ma y be do wnloaded before imaging tex t.
GEK-00029B 5000 Seri es Programmer’s Manual 215 DECCAV T Clear A ll V ertical Tabs: Cl ears v ertical ta b stops. Source: Application De st ina tion: Level 2 (outm ode d comman d) Forma t ESC 4 Description See Tabulation Clear (TBC) with Ps = 4. Notes t o Sof tware This command is included for backwards compatibility with older printers o nly.
Chapter 8. PPL3 Plus Emulation GEK-00029B 216 DECIPEM Entering IBM Proprinter Emulatio n Mode: Execut es Set Ot her Coding System (SOCS), enabling IBM Proprinter Emu lation mode. Source: Print manag er Des tinat ion: Le vels 2 , 3 Exception Forma t CSI ? 5 8 h Description See SOCS with fina l characte r "=" (3DH ).
GEK-00029B 5000 Seri es Programmer’s Manual 217 If the DECPSP (Proportio nal Spacing) command is set, the DECPSM comman d sets the t abs and mar gins as us ual, as liste d in Side Effects under DECS HORP in this chapt er. Howev er, t he pitch is stored an d is not use d until DE CPSP is reset .
Chapter 8. PPL3 Plus Emulation GEK-00029B 218 DECRVEC Draw Relat ive Vector: Draws a v ector star ting at t he active positi on. Source: Application De st ina tion: Level 3 Extension Forma t CSI Ps1 Pn2 Pn 3 SP Description The selectiv e param eters f or Ps1 are as f ollows: Ps1 Action 0 Draws an X (horizontal) line to the right.
GEK-00029B 5000 Seri es Programmer’s Manual 219 DECRVEC (continued) If the request ed length is less t han 1 pixel l ong (after conv ersion to pixel units), the printer draws a line I pix el long. If the requested line is less than 1 pi xel wide, the print er draws a line 1 pi xel wi de.
Chapter 8. PPL3 Plus Emulation GEK-00029B 220 DECSHORP (co ntinued) ▪ Sets the Line Home Po sition equal to the Left Margin P osi tion. ▪ Sets the Line End Positio n equal to the Right Margin Po sition .
GEK-00029B 5000 Seri es Programmer’s Manual 221 DECSHTS (continued) Error Han dling If the pr inter r eceives more t han 16 tab st ops, it sets th e first 16 and ignores the r est. If t he same tab sto p is sent more than on ce, th e printer set s the tab st op once.
Chapter 8. PPL3 Plus Emulation GEK-00029B 222 DECSLPP (continu ed) Error Han dling If the P n para meter is greater tha n the max imum s ize for the p aper and origin, then t he printer sets the for m length to the maximum siz e for t he paper an d origi n Notes t o Sof tware Use DE CSLPP on ly at t he top of a new pag e.
GEK-00029B 5000 Seri es Programmer’s Manual 223 DECSLRM (continu ed) Error Han dling If the a ctive po sitio n is less tha n the left ma rgin, then the printer se ts the active p osi tion to the new left margin. If the ac tive po sition is greater tha n the right margin, the printe r sets the Right Margin Fl ag.
Chapter 8. PPL3 Plus Emulation GEK-00029B 224 DECSTBM (contin ued) The printer pla ces data only w ithin th e top and bot tom margins, wi th the following ex ceptions: • Draw Vect or (DECVEC) an d Draw Rel ativ e Vector (DE CRVEC) dr aw lines outside the mar gins.
GEK-00029B 5000 Seri es Programmer’s Manual 225 DECSTBM (contin ued) Notes t o Sof tware Margins can be chang ed or r eset as a sid e effect of other acti ons. Also, changing the or igin with DECO PM changes the locat ions of t he top a nd bottom margins with res pect to the pape r DECSTBM should be used o nly on a new page.
Chapter 8. PPL3 Plus Emulation GEK-00029B 226 DECSVTS Set Vertical Tab Stops: Ad ds one or mor e tab stop s to t he ver tical tab ta ble (m ax of 16) . Source: Application Dest in at ion : Level 2 Forma t CSI Pn ! p Description Pn is a number of u nits, depending on Position ing Unit Mode (PUM) and Select Size Unit (SSU).
GEK-00029B 5000 Seri es Programmer’s Manual 227 DECVEC Draw Vector: Draw a vertical or horizontal line. Source: Application De st ina tion: Level 3 Extension Forma t CSI Ps1 ; Pn2 ; Pn3 ; Pn4 ; Pn 5 ! | Description The selectiv e param eter opti ons are as foll ows: Ps1 Action 0 Draw X (horizontal) line.
Chapter 8. PPL3 Plus Emulation GEK-00029B 228 DECVERP Set Vertical Pi tch: Selects line spacing Source: Application Destination: Levels 1 , 2 Forma t CST Ps 2 Description Selects the num ber of lines pr inted for each inch on a page. Changing the ver tical pitch changes the wh ite space betwe en lines, not th e size of the charact er.
GEK-00029B 5000 Seri es Programmer’s Manual 229 DECVERP (continued) Error Han dling If the ver tical p itch is s et greater tha n the page length, the p rinter images one line/page. If Ps is invalid, the command is ignored. DECVTS Vertical Tab Set: E xecutes V ert ical Ta b Set (VTS ).
Chapter 8. PPL3 Plus Emulation GEK-00029B 230 The number of DSR requests t he printer can process is limit ed only by the tr ansmission time of each repor t. Error Han dling If Ps has a v alue other th an those shown, t he printer ignores the entire comm and.
GEK-00029B 5000 Seri es Programmer’s Manual 231 GSM Grap hic Size Modifica tion: Modifies the Cu rrent Fo nt Definitio n height or width, established by the G raphic Size Selection (GSS) comman d.
Chapter 8. PPL3 Plus Emulation GEK-00029B 232 GSS Grap hic Size Sel ection: Establishes the height and width for the Current Font Definitio n. Source: Application De st ina tion: Level 3 Forma t CSI Pn SP C Description Select Pn as follows: Pn Meaning 0 Sets he ight t o 100 de cipoin ts.
GEK-00029B 5000 Seri es Programmer’s Manual 233 HPA Horizon tal Po sition Absolu te: Move s to a new active horizo ntal positio n. Motio n occurs either to the right or to the le ft.
Chapter 8. PPL3 Plus Emulation GEK-00029B 234 HPB Horizon tal Po sition Backwa rd: Moves the ac tive pos ition to the left a specified number of units. Source: Application De st ina tion: Level 3 Forma t CSI Pn Description Select Pn as follows: Pn Meaning 0 Inter preted as 1.
GEK-00029B 5000 Seri es Programmer’s Manual 235 HPR Hori zontal Posi tion Relativ e: Moves the a ctive p osition to the right a specified number of units.
Chapter 8. PPL3 Plus Emulation GEK-00029B 236 LN M Li ne Fe ed /New Line M ode: Instruc ts the p rinter to mo ve to the Line Home Positi on on the next line u pon recei pt of a Line Fee d (LF).
GEK-00029B 5000 Seri es Programmer’s Manual 237 PU M Po sit ioning Un it Mode : Establishes the u nit for the nu meric paramete rs of ce rtain co ntrol functio ns. Source: Application De st ina tion: Level 3 Forma t CSI 1 1 h Sets PUM. CSI 1 1 1 R esets PU M.
Chapter 8. PPL3 Plus Emulation GEK-00029B 238 SCS Select Chara cter Set: Designat es a graphic ch aracter set into G0, G1, G2 , or G3 . Source: Application De st ina tion: Level s 1, 2, 3 Forma t ESC I1 I2 ... In F Description I1 is an intermediat e character select ed from t he following ta ble.
GEK-00029B 5000 Seri es Programmer’s Manual 239 The following t able lists the chara cter set design ating character s. These charact er sets are s elected using t he identifier as F or I2 F in the SCS sequenc e.
Chapter 8. PPL3 Plus Emulation GEK-00029B 240 SCS (Continued) SCS Fallbacks G0 G1 G2 G3 Character Se t ESC ( C ESC ) C ESC * C ESC + C Fallback to DEC Finnish ESC ( Q ESC ) Q ESC * Q ESC + Q Fallback .
GEK-00029B 5000 Seri es Programmer’s Manual 241 SGR (Continued) Select an attribute using Digital private SGR parameters as follo ws: Ps Action 0 Turn off all p rivate attributes (outmoded para meter. 4 Turn o n superscript, turn o ff subscript. 5 Turn o n subscript, turn o ff sup ersc ript.
Chapter 8. PPL3 Plus Emulation GEK-00029B 242 SGR (Continued) All lining attributes are contiguous relative to the b aseline of the entire line, even when used on s uperscr ipt or su bscri pt text. This applies to S GR superscr ipt and subscr ipt only, not to Partial Line Up (PLU) or Pa rtial Line Down (PLD).
GEK-00029B 5000 Seri es Programmer’s Manual 243 SGR Select Gr aphic R endition (Selecti ng F onts): Selects a fo nt for prin ting . Source: Application De st ina tion: Level 3 Forma t CSI Ps ; Ps ; P s ; m Selects standa rd fo nt . Description Use as pred efined o r as de fined b y DECATF F.
Chapter 8. PPL3 Plus Emulation GEK-00029B 244 SHS Set H orizontal Spacing: Sele cts character spacing for mon ospace prin ting . Source: Application Destination: Level 3 Forma t CSI Ps S P K Description Determine s the Hori zontal A dvance Incr ement (HAI).
GEK-00029B 5000 Seri es Programmer’s Manual 245 SnC1R/D EC* C1 C1 Tra nsmit/R eceive: D efines t he type of C1 pr ocessing or encoding. Forma t Command Sequ ence Meaning DECTC1 ESC SP 6 Process 7- bit ESC Fe sequences. If 8-bit C1 control cod es are received, drop t he 8t h bit and pr ocess as C0.
Chapter 8. PPL3 Plus Emulation GEK-00029B 246 SPI Spacing Pitc h Increment: D etermines t he Vertical Advan ce Increment (VAI) or th e Horizontal Adv ance Increment (HAI). Source: Application De st ina tion: Le vel 3 Forma t CSI Pn 1 Pn2 S P G Description SPI gives maximum flexibility in adjusting character and line spacing.
GEK-00029B 5000 Seri es Programmer’s Manual 247 SSU Selec t Size Unit: Selects a unit of meas urement for sp acing para meters. Source: Application De st ina tion: Level 3 Forma t CSI Ps S P I CSI ? Ps SP I Selects a Digital privat e parameter. Description Select an SSU p arameter a s follo ws: Ps Action 2 S elects deci points, 1/ 720 inch.
Chapter 8. PPL3 Plus Emulation GEK-00029B 248 SVS Set Vertic al Spaci ng: Selects line s pacing for mon ospace printing. Source: Application De st ina tion: Level 3 Forma t CSI Ps S P L Description Determine s the Vert ical Advance I ncrement (VAI ). If Pr oportional Spacing Mode ( DECPS P) is set, SVS has no immedi ate eff ect.
GEK-00029B 5000 Seri es Programmer’s Manual 249 TBC Tab Cle ar: Clear s one or all hori zont al or v erti cal tab st ops. Source: Application De st ina tion: Levels 1, 2 Forma t CSI Ps Ps 9 Description Select P s as follo ws: Ps Meaning 0 Clears one hori zontal tab at active col umn.
Chapter 8. PPL3 Plus Emulation GEK-00029B 250 VPA (Continued) Error Han dling Be aware th at VPA inter acts with coordinate sy stem b ounds. VPB Vertic al Posi tion Backw ard: Mov es the acti ve ve rtical positi on up by the specifie d number of units.
GEK-00029B 5000 Seri es Programmer’s Manual 251 PAGE COORDINATE SYSTEM Befo re PP L III co mman ds that invol ve prin t po sitio ning can be understo od, the P PL III page co ordinate sy stem must be under stood.
Chapter 8. PPL3 Plus Emulation GEK-00029B 252 Character Cell Model The charact er cell model spe cifies the co ordinat es of a charact er cell position as th e line and charact er number , start ing with character 1 of line 1. This is a simple model used for monospaced presentation.
GEK-00029B 5000 Seri es Programmer’s Manual 253 Printable Area The printa ble area is the ar ea on the pa per wher e the print er can physically print. The origin may be changed using the DECOPM comman d. If DECOPM is reset, then th e origin is at th e corner of the printable are a.
Chapter 8. PPL3 Plus Emulation GEK-00029B 254 Horizontal Advance Increments Fixed HAI Fixed horiz ontal moti on does n ot var y from charact er to charact er or font to fo nt.
GEK-00029B 5000 Seri es Programmer’s Manual 255 Contro l Functi on Ty pe Margi n effect Param eter Use d Flags Partial Line Up Sp ecia l Can g o up t o on e PL U positi on above top ma rgin All (Max.
Chapter 8. PPL3 Plus Emulation GEK-00029B 256 SIXEL GRAPHICS The Sixel Graphics protocol provides the ability fo r the printer to receive and pr int black an d white bit map dat a at var ious sizes to create graphic s images.
GEK-00029B 5000 Seri es Programmer’s Manual 257 General Sixel Graphics Operation Sixel G raphics printing c onsists o f setting the c ontex t and attribu tes for the pixels an d then pr inting the receiv ed pixels in a djacent grid positions. Th e following ar e essential el ements of the Sixel Gra phics print proce ss.
Chapter 8. PPL3 Plus Emulation GEK-00029B 258 Sixel Graphics Commands DECGCR ($) G raphics C arriage Return: Moves th e graphics active hor izontal positio n to the gra phics left m argin.
GEK-00029B 5000 Seri es Programmer’s Manual 259 DECGRA (") Set Raster Attributes: Defines t he pixel a spect r atio, ov erri ding Ps1 of the pr otocol sel ector . DECGR A also d efines the ext ent (size) of the raster. Leve l 3 p rinters ignore the exte nt para meters .
Chapter 8. PPL3 Plus Emulation GEK-00029B 260 DECGRI (!) Graphics Repeat Introducer: Repeats the following sixel a specified number of times. Forma t ! Pn Description The printer r epeats t he sixel follow ing the DE CGRI sequen ce Pn times.
GEK-00029B 5000 Seri es Programmer’s Manual 261 APPENDIX A. USING THE HEX DUMP A printout of hex adecimal data is useful primarily to application program mers or ser vice repr esentat ives as a deb ugging or troubl esh ootin g tool .
Appendix B. Font Samples GEK-00029B 262 APPENDIX B. FONT PRINT SA MPLES The following samples were printed at 10 characters per inch (CP I) at 6 lines per inch (LPI).
GEK-00029B 5000 Seri es Programmer’s Manual 263 CORRESPONDENCE FONT ( BETTER QUA LITY T HAN DRAFT-BETTE R SPEED THA N NLQ ) OCR-A FONT OCR-B FONT COURIER NLQ FONT ITALIC NLQ FONT.
Appendix B. Font Samples GEK-00029B 264 HIGH SPEED 2.
GEK-00029B 5000 Seri es Programmer’s Manual 265 APPENDIX C. POSTNE T BAR CO DES ENTERING AND EXITING POSTNET BAR CODES Selecting POSTNET Style Bar Codes The following seq uence sel ects t he style of bar code t o be printed.
Appendix C. Postnet B ar Codes GEK-00029B 266 Mnemon ic: <SI > BASIC: LPRI NT CHR$( 15); Deacti vat es bar code s and all ows pr inti ng of nor mal text . (POS TNET is still selected but not active. ) Mnemonic: <ESC> [0t BASIC: LPRINT CHR $(27) ;"[ 0t; Des elects bar codes.
GEK-00029B 5000 Seri es Programmer’s Manual 267 Restricti ons Print er opt ion str ap 1 3 in Gener al Print er Opt ions, paper posit ion reset to t op of bar code af ter pr inting, is ignored w hile using POST NET. (S ee Ap pendix D, Gen eral Pr int er Opti ons, Grou p 2).
Appendix D. Descri ptions of Strapping Options GEK-00029B 268 APPENDIX D. DESCRIPTION OF STRAPP ING OP TIONS This appendi x contains descri ptions for f irmware st rap settings, which are changed using t he Set Up menu.
GEK-00029B 5000 Seri es Programmer’s Manual 269 GENERAL PRINTER OPTIONS DEFINITIONS I/F Hardware Straps H Bits 01-32 Functi on If Enab led If Disabled 01 Prime High = Buff er Clear . Low = Buff e r Cl ear. 02 Interrup t On all Co ntrol Co des. Disa bled on all Contr ol Cod es, exce pt LF, VT, FF, C R, DC 1 and DC 3.
Appendix D. Descri ptions of Strapping Options GEK-00029B 270 LEGACY PARALLEL SOFTWARE STRAP DEFINITIONS I/F Sof twar e Strap s Bits 01-32 Functi on If Enab led If Disabled 01-03 Re served for futu re use. 04 Prime on Select. Disabled. Enabled. 05 No Faul t on PO or D e sel ect.
GEK-00029B 5000 Seri es Programmer’s Manual 271 EMULATION OP TION DESCRIPTIONS ANSI (4800) Optio ns Meaning if Active If Active If In active 01 Oversiz e and Bar code Select via S I/SO. N o se le ctio n v ia SI/SO 02 RCC mode Reset RCC mode. Se t RCC mo de.
Appendix D. Descri ptions of Strapping Options GEK-00029B 272 Proprinter III XL Optio ns Functi on If Active If Inactiv e 01 RESERVED (Slashed Zer o) Copy of ENG_ OP_SLA SH_ZERO fro m GenP trOpts Str ap 3). 02 Line L ength 8 inches. 13.6 inch e s. 03 Cond ens ed Pri nt 12 cpi .
GEK-00029B 5000 Seri es Programmer’s Manual 273 EPSON FX286e Optio ns Functi on If Active If Inactive 01 Cond ens ed Prin t. E nabled Disabled. 02 Italics font contr ol Codes 128-255 are Co de Page. Codes 12 8-255 are Ita lics . 03 Defau lt Pri nt Quality Default print quality is NLQ.
Appendix D. Descri ptions of Strapping Options GEK-00029B 274 Printronix Pseries Optio ns Functi on If Active If Inactiv e 01 Overstr ike E nabled. Disabled. 02 ACK sel e cts L PI for 1 lin e 10. 3 LPI. 8 LPI. 03 VFU lo ad PI re quire d for VF U load .
GEK-00029B 5000 Seri es Programmer’s Manual 275 APPENDIX E. DSC CODE CHARTS.
Appendix E. DSC Code Charts GEK-00029B 276.
GEK-00029B 5000 Seri es Programmer’s Manual 277.
Appendix E. DSC Code Charts GEK-00029B 278.
GEK-00029B 5000 Seri es Programmer’s Manual 279.
Appendix E. DSC Code Charts GEK-00029B 280.
GEK-00029B 5000 Seri es Programmer’s Manual 281.
Appendix E. DSC Code Charts GEK-00029B 282.
GEK-00029B 5000 Seri es Programmer’s Manual 283.
Appendix E. DSC Code Charts GEK-00029B 284.
GEK-00029B 5000 Seri es Programmer’s Manual 285.
Appendix E. DSC Code Charts GEK-00029B 286.
GEK-00029B 5000 Seri es Programmer’s Manual 287.
Appendix E. DSC Code Charts GEK-00029B 288.
GEK-00029B 5000 Seri es Programmer’s Manual 289.
Appendix E. DSC Code Charts GEK-00029B 290.
GEK-00029B 5000 Seri es Programmer’s Manual 291.
Appendix E. DSC Code Charts GEK-00029B 292.
GEK-00029B 5000 Seri es Programmer’s Manual 293.
Appendix E. DSC Code Charts GEK-00029B 294.
GEK-00029B 5000 Seri es Programmer’s Manual 295.
Appendix E. DSC Code Charts GEK-00029B 296.
GEK-00029B 5000 Seri es Programmer’s Manual 297.
Appendix E. DSC Code Charts GEK-00029B 298.
GEK-00029B 5000 Seri es Programmer’s Manual 299.
Appendix E. DSC Code Charts GEK-00029B 300.
GEK-00029B 5000 Seri es Programmer’s Manual 301.
Appendix E. DSC Code Charts GEK-00029B 302.
GEK-00029B 5000 Seri es Programmer’s Manual 303.
Appendix E. DSC Code Charts GEK-00029B 304.
GEK-00029B 5000 Seri es Programmer’s Manual 305.
Appendix E. DSC Code Charts GEK-00029B 306.
GEK-00029B 5000 Seri es Programmer’s Manual 307.
Appendix E. DSC Code Charts GEK-00029B 308.
GEK-00029B 5000 Seri es Programmer’s Manual 309.
Index GEK-00029B 310 INDEX A ANS I Back Space <BS> .................................................... 14 Bar Codes ................................................................ 46 Default Char acteris tics ..................................
GEK-00029B 5000 Seri es Programmer’s Manual 311 Double-strik e m ode, sele ct ................................ 141 Double-w ide pri nting, c ancel............................. 142 Double-w ide pri nting, s elect.............................. 142 Elite pitch, se lect .
Index GEK-00029B 312 Forms s equence , start < DECIFM> .................... 167 Forms s equence , term inate < DECTFM> ........... 171 Gra phic size modif ication <G SM> .................... 175 Gra phic size selection <G SS> .
GEK-00029B 5000 Seri es Programmer’s Manual 313 Set Horizonta l Pitc h <DECSHORP>................. 219 Set Horizo ntal Spac ing <SHS> ......................... 244 Set Horizo ntal Ta b Stops <DECSH TS> ............ 220 Set Lef t and Right Margins < DECSLRM> .
Index GEK-00029B 314 Control C odes <BEL> Bell ....................................................... 108 <BS> Bac kspace ............................................... 108 <CAN> Cancel .............................................
An important point after buying a device Genicom GEK 00031B (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Genicom GEK 00031B yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Genicom GEK 00031B - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Genicom GEK 00031B you will learn all the available features of the product, as well as information on its operation. The information that you get Genicom GEK 00031B will certainly help you make a decision on the purchase.
If you already are a holder of Genicom GEK 00031B, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Genicom GEK 00031B.
However, one of the most important roles played by the user manual is to help in solving problems with Genicom GEK 00031B. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Genicom GEK 00031B along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center