Genicom GEK 00031B Programmer's Manual

Download or browse on-line these Programmer's Manual for Genicom GEK 00031B Printer.

Genicom GEK 00031B Manual Information:

This manual for Genicom GEK 00031B, given in the PDF format, is available for free online viewing and download without logging on. The guide contains 314 pages, and the size of the file at download is 3.64 Mb. The document type is Programmer's Manual.

Download Manual

Summary of Contents:

[Page 1] Genicom GEK 00031B

GEnicom 5000 Series Programmer’s Manual GEK – 00031B ...

[Page 2] Genicom GEK 00031B

5000 Programmer’s Manual GEK-00029B 2 Table of Contents Page Chapter 1.Introduction....................................................................8 overview of printer emulation...............................................................8 C...

[Page 3] Genicom GEK 00031B

GEK-00029B Table of Contents 3 Table of Contents Page Chapter 2. ANSI Emulation (Continued) ANSI 4800/4410 Strap 1 OUT ........................................................ 46 ANSI 4800/4410 Strap 1 IN ................................................

[Page 4] Genicom GEK 00031B

5000 Programmer’s Manual GEK-00029B 4 Table of Contents Page Chapter 3.Printronix P300/P600 Emulation .................................. 66 Introduction ......................................................................................66 Contro...

[Page 5] Genicom GEK 00031B

GEK-00029B Table of Contents 5 Table of Contents 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) ................ 1...

[Page 6] Genicom GEK 00031B

5000 Programmer’s Manual GEK-00029B 6 Table of Contents Page Chapter 6.Epson FX286-e Emulation (Continued) Miscellaneous Commands ...............................................................149 FX-286e Dot Graphics .................................

[Page 7] Genicom GEK 00031B

GEK-00029B Table of Contents 7 Table of Contents Page Chapter 8.PPL3 Plus Emulation (Continued) Printable Area............................................................................ 253 Positioning and Movement......................................

[Page 8] Genicom GEK 00031B

Chapter 1. Introduction GEK-00029B 8 CHAPTER 1. INTRODUCTION OVERVIEW OF PRINTER EMULATION Commands are sent to the printer in the form of control codes and escape sequences. These differ from normal data to be printed in that they give instructio...

[Page 9] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 9 Examples are shown below of escape sequences as written in the text: with parameters filled in and written in the BASIC programming language assuming the use of the LPRINT instruction. The parameter valu...

[Page 10] Genicom GEK 00031B

Chapter 1. Introduction GEK-00029B 10 LINE TERMINATORS Some control codes and escape sequences act as line terminators. Line terminators cause all data received since the last terminator to be printed. Without a terminator, data will remain buffered....

[Page 11] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 11 CHAPTER 2. ANSI EMULATION CONTROL CODE AND ESCAPE SEQUENCE ACTIVITY LEVELS ANSI control codes and escape sequences are assigned activity levels depending on which print mode is currently active. The f...

[Page 12] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 12 Control Code Activity Levels Control Code Activity Levels Control Code Line Terminator Normal Dot Graphics Bar Codes Oversize POSTNET BEL No A A D A Note 4 BS Yes A I I I Note 4 CR Yes A A I A Note 4 DC1 No A A...

[Page 13] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 13 Escape Sequence Activity Levels Escape Sequence Line Terminator Normal Dot Graphics Bar Codes Oversize POSTNET DCS (Graphics) No A I I A I Font Load No A I I A I GENBCS No A A A A I GENFD No A AAA I GEN...

[Page 14] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 14 CONTROL CODE DEFINITIONS BEL Bell (07H): Receipt of a BEL code causes the beeper to sound for approximately 1/2 second after any preceding printable data has been processed. BS Back Space (08H): Line terminat...

[Page 15] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 15 FF Form Feed (0CH): Line terminator. The paper is advanced to the next top-of-form position. When the EVFU is enabled and programmed, paper will advance to the next stop in channel 1. HT Horizontal Ta...

[Page 16] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 16 ESCAPE SEQUENCE DIRECTORY Sequence Meaning Page CSI or ESC [ Control Sequence Introducer 19 CSI p1 p2 SP ~ GENEMU: Selects emulation 21 ESC [p1 ; p2 SP B GSM: Modifies vertical (p1) and horizontal (p2) characte...

[Page 17] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 17 Sequence Meaning Page ESC [ p1;… pn u GENHTS: Sets horizontal tabs (p1, etc.) in decipoints or columns 30 ESC [ p1 ;… p12;v GENVTS: Sets vertical tabs (p1, etc.) in decipoints or lines 30 ESC [ p1 x...

[Page 18] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 18 ANSI ESCAPE SEQUENCE CATEGORIES The ANSI escape sequences have been separated according to functionality. Special areas of interest, such as graphics and the electronic vertical format unit (EVFU), have been de...

[Page 19] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 19 Housekeeping Sequences ESC [ CSI (Control Sequence Introducer): This sequence is used to begin sequences, that generally have multiple parameters. ESC ] OSC (Operating System Command): This is another...

[Page 20] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 20 ESC Q GENTST (Self-Test): This sequence is ignored. Decimal: 27 102 or 120 Hex: 1B 5C or 9C BASIC: CHR$(27);"Q"; ...

[Page 21] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 21 CSI p1 p2 SP ~ GENEMU (Emulation Control): Switches the control of the printer to another emulation. The parameters in the sequence are defined as follows: p1 Emulation identifier. This parameter selec...

[Page 22] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 22 Character Set Selection ESC [ p1 x GENSNC (Select National Characters): This sequence selects the national character substitution if the currently selected character style supports it. The following values may...

[Page 23] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 23 p1 Country Map or Character Set 8593 ISO 8859-3 Latin Alphabet #3 8594 ISO 8859-4 Latin Alphabet #4 8595 ISO 8859-5 Latin/Cyrillic 8596 ISO 8859-6 Latin/Arabic 8597 ISO 8859-7 Latin/Greek 8598 ISO 8859-...

[Page 24] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 24 p5 Reserved. This parameter is marked by inserting a semicolon (;) in the command sequence. p6 A literal string indicating the GENSNC select parameter of an existing character map (such as 437 or 850) to be use...

[Page 25] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 25 Paper and Print Position Movements ESC K PLD (Partial Line Down): Line terminator. Moves the print line down 3/72 inch for subscript printing. Also returns to the original line following a partial line...

[Page 26] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 26 ESC [ p1 d VPA (Vertical Position Absolute): Line terminator. Sets the vertical position to the value specified by <p1>, moving paper forward or backward to the new position. The distance specified by th...

[Page 27] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 27 ESC [ p1 k VPB (Vertical Position Backwards): Line terminator. Moves the paper in reverse by the distance specified by p1. Values can be sent as decipoints. The paper position is set to the top margin ...

[Page 28] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 28 Margins and Tabs ESC H HTS (Horizontal Tab Set): Sets a tab at the current print position and updates any existing horizontal tab table. A total of 22 tabs can be set. If this number is exceeded, the leftmost ...

[Page 29] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 29 Sequence Explanation ESC [ r Default values of 11-inch form length, zero top and bottom margins. ESC [ 8280 r 11.5-inch form length, default top and bottom margins of zero ESC [ ; 720 r Default length o...

[Page 30] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 30 ESC [ p1 ; ... p22; u GENHTS (Multiple Horizontal Tab Set): Sets up to 22 horizontal tabs. The p parameters are set in decipoints. If more than 22 tabs are set, the highest numbered tabs (farthest right) will ...

[Page 31] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 31 Font Handling and Enhancements ESC [ p1; p2 SP B GSM (Graphic Size Modification): This sequence modifies the vertical <p1> and horizontal <p2> size of expanded and oversize characters. When...

[Page 32] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 32 ESC [ p1 ; p2 SP G SPI (Spacing Increment): This sequence is used to set line spacing (p1) and character spacing or pitch (p2). If the parameter is missing or zero, the spacing remains unchanged. In the native...

[Page 33] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 33 ESC [ p1 ; p ... m (continued) *A download font (if loaded) overrides any other font. See Character Map Load on page 23. Examples: For Gothic NLQ font underlined send: ESC [ 4 ; 13 m To cancel underlini...

[Page 34] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 34 ESC [ p1; ... pn h SM (Set Mode): Sets the mode or modes specified by the parameters listed below. Parameters preceded by the 'greater than' sign are privately defined modes and should be sent separa...

[Page 35] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 35 ESC ] 5 BFL (Begin Font Load): This sequence is not honored when self-test determines that the download font option is not installed. Permits downloading of customer-defined font characters into printe...

[Page 36] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 36 GRAPHICS The ANSI emulation graphics mode provides both horizontal and vertical dot plotting methods. These methods enable the printing of ASCII characters in their binary code form. Since each character has a ...

[Page 37] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 37 This chart shows the dot patterns for the ASCII characters needed to cover all dot/void combinations. Other valid characters (although they are repeat patterns of the characters in the chart) are 20H-3F...

[Page 38] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 38 Horizontal Format Graphics data printed in horizontal format is comprised of a stream of bytes from left to right across each dot row. This chart shows that byte 1 (or character 1) in row 1 prints its six bits ...

[Page 39] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 39 Eight-Bit Graphics Horizontal Format Graphics data printed in horizontal format is comprised of a stream of bytes from left to right across each dot row. This chart shows that byte 1 (or character 1) in...

[Page 40] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 40 Other Graphics Considerations In horizontal format, an LF causes the paper to advance one or two dot rows based on the vertical dot density, regardless of whether 6-bit or 8-bit graphics has been selected. In v...

[Page 41] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 41 ESC [ p1 ; p2 ; p3 q GENGRM – Select Graphics Mode: Selects the graphics mode, format, and horizontal or vertical density for dot graphics. The first parameter selects the graphics mode: the second p...

[Page 42] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 42 ELECTRONIC VERTICAL FORMAT UNIT - EVFU Downline vertical tab loading is accomplished through the EVFU. The EVFU allows loading a form table with a minimum form length of .33 inches (240 decipoints) and a maximu...

[Page 43] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 43 Each "channel control code" pair of bytes has the capability to indicate multiple channels since each channel indication has a unique bit position, which is either ON=1 or OFF=0. TABLE OF CHAN...

[Page 44] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 44 EVFU Default The default EVFU will be generated based on the current form length and lpi setting under the following conditions: ▪ When the printer is initialized ▪ When either the forms definition or l...

[Page 45] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 45 BASIC Programming Example for Skip to Channel This is a sample program showing the use of the skip-to-channel command. It makes use of the previously loaded EVFU program. PROGRAM INSTRUCTION REMARKS 10 ...

[Page 46] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 46 BAR CODES Thirteen different styles of bar codes and POSTNET are available. Each style (except POSTNET) can be rotated 90, 180, or 270 degrees and printed with or without a human-readable line (HRL). The bar co...

[Page 47] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 47 SI LPRINT CHR$(15); Deactivates bar codes and allows printing of normal text. ESC [ 0 t LPRINT CHR$(27);"[0t"; Deselects bar codes. When an ESC [ 0 t is received before the SI code, bar codes ...

[Page 48] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 48 Bar Code Dimensions p2 Bar code height in 1/12-inch increments Minimum: 1=l/12 inch Maximum: 120=10 inches Default: 9=9/12 inch (3 / 4 inch) Human-readable line is not included in height. p3 Human-readable line...

[Page 49] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 49 p9 Bar code rotation and human-readable line (HRL) font style (if used). 0 No rotation - use currently selected font style, cpi, and lpi. This is the default setting. 1 No rotation - use special HRL fon...

[Page 50] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 50 Default Bar Code Characteristics p1=4 Code 39 p2=9 3/4 inch height p3=1 Human-readable line printed p4=2 Narrow bar width 1/60 inch p5=6 Wide bar width 1/20 inch p6=2 Narrow space width 1/60 inch p7=6 Wide spac...

[Page 51] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 51 Bar Code Readability Statement The following information is provided to ensure that the best results are obtained from your printed bar codes. Use bar code readers designed to operate in the visible lig...

[Page 52] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 52 Bar Code Program Examples The following program examples are provided to help you become familiar with the bar code escape sequences. The programs are written in BASIC and printed using the LUST command. All ba...

[Page 53] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 53 Changing Parameters This example changes the style p1, height p2, and the HRL font p9 of the bar code. Notice that semicolons are used as place holders for the parameters not being changed. Line 10 - ch...

[Page 54] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 54 Horizontal Spacing Use horizontal tabs for spacing bar code symbols across the page. Line 10 sets horizontal tabs at 1440 and 2880 decipoints (2 and 4-inches). The HT codes in lines 40 and 60 cause a jump to th...

[Page 55] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 55 Printer Option Strap 11, Group 2 IN Printer control strap 11 is used for positioning the paper after printing a bar code. Strap 11 IN sets the paper to the top of the bar code after printing; Strap 11 O...

[Page 56] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 56 EXAMPLE 3: Strap 11 OUT with no suppression of LF/CR on line 30 10 LPRINT CHR$(27); "[3t"; 20 LPRINT "1234567890"; 30 LPRINT CHR$(27); "[0t" 40 LPRINT "STRAP 11 OUT" ...

[Page 57] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 57 Vertical Bar Codes ▪ Line 10 sets parameter p9 for 90-degree rotation using the special font for the HRL. ▪ Line 20 turns on the bar code mode. ▪ Line 30 is the data to be printed as a bar c...

[Page 58] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 58 COMMAS: Without HRL 10 LPRINT CHR$(27); "[;;0}"; 20 LPRINT CHR$(27); "[3t"; 30 LPRINT "1234,5678,9012"; 40 LPRINT CHR$(27); "[0t" SPACES: With HRL 10 LPRINT CHR$(27);&quo...

[Page 59] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 59 Horizontal Tabs ▪ Line 10 sets horizontal tab stops at 1080 and 2160 decipoints (1. 5 and 3 inches). ▪ Lines 40 and 60 are ITT codes that cause a jump to the next tab stop. Line 90 is a line of ...

[Page 60] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 60 OVERSIZE CHARACTER FONT The oversize font is composed of special block-style characters that can be expanded 156 times the size of standard fonts. This will produce letters up to 15.25-inches (388mm) high by 13...

[Page 61] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 61 Selecting Size ESC [p1;p2 B is the sequence used to set the vertical (p1) and horizontal (p2) size of the oversize characters. A p1 value of 300 would increase the vertical size of the character 300% or...

[Page 62] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 62 Sample Programs Example 1 The first example shows the code used to print oversize. Line 10 sets the size to X3 vertical (V) and X3 horizontal (H). Line 20 enters oversize printing with no rotation. Line 30 is...

[Page 63] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 63 Example 3: Showing the Importance of Resetting Scaling Factors If line 50, which sets the size to X1 V and X1 H. is removed, the data printed in line 60 is now subject to the expanded mode of printing. ...

[Page 64] Genicom GEK 00031B

Chapter 2. ANSI Emulation GEK-00029B 64 Printer Control Strap GenPrtOpts/Group 2/Strap 13 This printer control strap is used for positioning the paper after printing oversize characters. When this strap is set to IN, the paper is positioned at the to...

[Page 65] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 65 Example 4: GenPtrOpts | Group 2 Strap 13 IN The oversize characters and the first line of normal printing are aligned at the first print line. The second line of normal printing (Text Text Text . . .) s...

[Page 66] Genicom GEK 00031B

Chapter 3. Printronix P300/P600 Emulation GEK-00029B 66 CHAPTER 3. PRINTRONIX P300/P600 EMULATION INTRODUCTION This printer is plug-compatible with the Printronix 300/600 family of line printers. It accepts and acts upon all control codes utilized...

[Page 67] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 67 DC3 Busy/Select (13H): A received DC3 can be used to remotely deselect the printer in both serial and parallel interfaces. A serial interface protocol can be used to transmit a DC3 code to inform the h...

[Page 68] Genicom GEK 00031B

Chapter 3. Printronix P300/P600 Emulation GEK-00029B 68 SI Shift In (0FH): An SI code anywhere in the line causes the remainder of the line and all following lines to be printed in the standard font. SO Shift Out (0EH). An SO code anywhere in the l...

[Page 69] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 69 PRINTRONIX GRAPHICS The Printronix emulation graphics mode provides a horizontal dot placement plotting method. This method enables the printing of ASCH characters in their binary code form. Since each ...

[Page 70] Genicom GEK 00031B

Chapter 3. Printronix P300/P600 Emulation GEK-00029B 70 Dot Patterns This chart shows the dot patterns for the ASCII characters needed to cover all dot/void combinations. Characters from 20H to 3FH provide the same patterns as characters 60H through ...

[Page 71] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 71 Each line to be printed as graphics must have one of the three graphic control codes (ENQ, EOT, DLE) in the line of data. The ENQ and EOT codes can be placed anywhere in the line of data. When used, th...

[Page 72] Genicom GEK 00031B

Chapter 3. Printronix P300/P600 Emulation GEK-00029B 72 P300/600 ELECTRONIC VERTICAL FORMAT UNIT The electronic vertical format unit (EVFU) is used to download vertical tabs to the printer. It allows jumps to preselected lines on the form through ver...

[Page 73] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 73 PI Lead Codes – Use with Serial Interface The PI lead is not used in the parallel interface. To use the PI lead with the serial interface, 8-bit codes must be sent. Data Lines Channel number or Comman...

[Page 74] Genicom GEK 00031B

Chapter 3. Printronix P300/P600 Emulation GEK-00029B 74 Example EVFU Loading Program ▪ Using standard CENTRONICS parallel interface with 36-pin connector and P Series protocol. ▪ Using the channel code chart without the PI lead. ▪ This pr...

[Page 75] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 75 Example Form Printout This example uses the VFU table created in the previous example. Sample Program to Print Form The following sample program uses the EVFU program from the prior example. Program Ins...

[Page 76] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 76 CHAPTER 4. PRINTRONIX P-SERIES EMULATION SPECIAL FUNCTION CONTROL CHARACTER (SFCC) When a printer control code consists of more than one character, it is called a command or escape sequence. T...

[Page 77] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 77 Set and Reset Codes Some print attributes are set and reset (turned ON and OFF) by using an SFCC command sequence and the numbers one(1) or zero(0). These numbers may be in the form of hexadecimal code ...

[Page 78] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 78 COMMAND INDEX Command Format Page Vertical Motion Form Feed <FF> 81 Forms Length Set (Inches) <SFCC> INCHES 93 Forms Length Set (Lines) <SFCC> LINES 93 Line Feed <LF> 81 L...

[Page 79] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 79 Font Control (continued) Font Selection <SFCC> X <SFCC PMODE 89 Superscript/Subscript Printing <SFCC> S 90 Superscript/Subscript Printing Reset <SFCC> T 90 Plot Mode Graphics Plot, ...

[Page 80] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 80 CONTROL CODES Backspace Backspace <BS> : Moves the logical print position to the left one character space toward the first character column. When configured from the control panel for back...

[Page 81] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 81 Form Feed Form Feed <FF>: Prints the data in the buffer, advances the paper position to the next top-of-form and moves the character position to the first character column. The FF code cancels al...

[Page 82] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 82 CHARACTER SETS, FONT HANDLING AND ENHANCEMENTS Character Set Selects the character set, extended character set, and the Select international language for a specific character set. Format <SFCC...

[Page 83] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 83 Character Set (continued) Select Extended Character Set Select (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(3A) 11(3B) 12(3C) 1...

[Page 84] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 84 Select International Selects the international character using the parameter (where the Character Set parameter is one of the values in the table below).The ultimate character set selected is a f...

[Page 85] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 85 Bold Print OFF Deselects Bold Print mode. Format <SFCC> H Decimal: <SFCC> 72 Hex: <SFCC> 48 BASIC: CHR$(<SFCC>);”H”; Indeterminate Conditions This sequence resets Bold Print ...

[Page 86] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 86 Emphasized Print Deselects Emphasized Character print mode. OFF Format <SFCC> F Decimal: <SFCC> 70 Hex: <SFCC> 46 BASIC: CHR$(<SFCC>);”F”; Indeterminate Conditions Thi...

[Page 87] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 87 Extended Character Extended Character Set Access: Accesses the extended character Set Select set in the range ADH to FFH hex using codes 20H to 7FH. Used in 7-bit systems as if data bit 8 was set to 1. ...

[Page 88] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 88 Extended Character Extended Character Set Cancel: Cancels the extended character set Set Cancel as selected by SO, SFCC SO, SFCC n, SFCC 4, and selects the primary Character Set. Used in 7-bit s...

[Page 89] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 89 Font Select Font Selection: Selects a font (DP, NLQ, or OCR) and character pitch in characters per inch (cpi). Format <SFCC> X <m> <n> or <SFCC> P M O D E ; n Decimal: <SFCC&...

[Page 90] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 90 Overscoring Overscoring: Enables or disables automatic overscoring of all characters. Format <SFCC> _ <n> Decimal: <SFCC> 95 <n> Hex: <SFCC> 5F <nH> BASIC: CH...

[Page 91] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 91 Underline Character Underlining: Enables or disables automatic underlining of all characters. Format <SFCC> - <n> Decimal: <SFCC> 45 <n> Hex: <SFCC> 2D <nH> BASIC: &...

[Page 92] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 92 HOUSEKEEPING COMMANDS Print Control Codes Forces the hex codes 80H to 9FH to become printable symbols in the currently selected character set. Cancels the executable control code operation activa...

[Page 93] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 93 Set Forms Length Set Form Length (Inches ) In Inches Format <SFCC> I N C H E S ; <n> ; <f> Decimal: <SFCC> 73 77 67 72 69 83 59 <n> 59 <f> Hex : <SFCC> 49 4E 43...

[Page 94] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 94 Set Line Spacing Sets line spacing to 6 lpi or as set by (1/6 Inch) SFCC A. Formats <SFCC> L P I ; n or <SFCC> A n followed by <SFCC> 2 Details Using the SFCC LPI ; n command, t...

[Page 95] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 95 Set Line Spacing There are two formats for this (1/8 Inch) command. The SFCC 0 command specifies continuous line spacing at 1/8-inch increments (8 lpi). In the SFCC LPI ; n command, the value of n can b...

[Page 96] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 96 Set Line Spacing Specifies the line spacing at 7/72-inch 7/72 Inch (10.3 lpi) increments. Format <SFCC> 1 Decimal: <SFCC> 1 Hex: <SFCC> 31 BASIC: CHR$(<SFCC>);”1”; Det...

[Page 97] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 97 Set Line Spacing Specifies the line spacing at n/216 n/216 Inch inch increments. Format <SFCC> 3 <n> Decimal: <SFCC> 3 <n> Hex: <SFCC> 33 <nH> BASIC: CHR$(<SFCC>...

[Page 98] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 98 PLOT MODE GRAPHICS OPERATIONAL DESCRIPTION Plot Density Plot density refers to the number of dots per inch (dpi) printed in a single dot row. Two types of plot density are available in this emula...

[Page 99] Genicom GEK 00031B

GEK-00029B 5000 Series Programmer’s Manual 99 Plot Data Line Format 1. The plot mode control code: either 05 hex (or “SFCC e”) for normal density, or 04 hex (or “SFCC d”) combined with 05 hex for double density plotting. 2. The data byt...

[Page 100] Genicom GEK 00031B

Chapter 4. Printronix P Series Emulation GEK-00029B 100 Double Density Plot Mode Format 1. Send the even dot plot control code EOT (04 hex) or control sequence “SFCC d”, followed by a line of data. 2. Send a line terminator, which causes the ...