Printronix P5000 Series Reference Manual
Printronix P5000 Series Reference Manual

Printronix P5000 Series Reference Manual

Lg programmer’s reference manual
Hide thumbs Also See for P5000 Series:
Table of Contents

Advertisement

®
LG Programmer's Reference Manual
The Printronix P5000 series with DEC LG Emulation

Advertisement

Table of Contents
loading

Summary of Contents for Printronix P5000 Series

  • Page 1 ® LG Programmer’s Reference Manual The Printronix P5000 series with DEC LG Emulation...
  • Page 3 The Printronix P5000 series with DEC LG Emulation LG Programmer’s Reference Manual ® 172288-001, Rev A...
  • Page 4: Trademark Acknowledgements

    Torx is a registered trademark of Camcar/Textron Inc. Utica is a registered trademark of Cooper Power Tools. Printronix, Inc. makes no representations or warranties of any kind regarding this material, including, but not limited to, implied warranties of merchantability and fitness for a particular purpose. Printronix, Inc. shall not...
  • Page 5: Table Of Contents

    Table of Contents 1 Introduction... 13 About This Manual... 13 How to Use This Manual ... 13 The LGplus Line Matrix Printer ... 14 Printer Features ... 15 Printer Emulations ... 15 Text Formatting and Language Options... 15 Bar Code Formatting ... 16 Diagnostics...
  • Page 6 Table of Contents Set Graphics Density (DECSGD) ... Spacing ... 54 Spacing Pitch Increment (SPI) ... 55 Select Vertical (Line) Spacing (SVS) ... 57 Set Vertical Pitch (DECVERP) ... 58 Select Horizontal (Character) Spacing (SHS) ... 59 Set Horizontal Pitch (DECSHORP) ... 60 Vertical Format ...
  • Page 7 Assign User Preference Supplemental Set (DECAUPSS) ... 102 Product Identification (DA) ... 104 Printer Status Requests and Reports ... 104 Device Status Requests (DSRs) and Printer Responses ... 105 Assigning and Selecting Font Files ... 109 Assign Type Family or Font (DECATFF) ... 110 Selecting Fonts for Printing (SGR) ...
  • Page 8 Table of Contents Selecting LinePrinter Plus Emulations via SOCS ... 143 7-Bit and 8-Bit Transmissions and Interpretations ... 144 Enter Draft Mode ... 145 Exit Draft Mode ... 145 Default Values and States ... 146 3 Character Sets ... 151 Introduction ...
  • Page 9 Code 128 - UCC ... 228 Density and Spacing Between Bar Codes ... 229 A LG Emulation Character Sets... 231 Introduction ... 231 LG Emulation Character Set Charts ... 231 U.S. ASCII ... 238 DEC Finnish ... 239 French ... 240 DEC French Canadian ...
  • Page 10 Table of Contents B Interface Configuration with the VMS Operating System ... 271 Parallel Interface... 271 Serial Interface... 272 C Type Family IDs, Font IDs, Font File IDs ... 273 “Built-In" Font File IDs... 273 Font File ID Field Definitions ... 274 Type Family IDs...
  • Page 11: Introduction

    About This Manual This manual is designed so that you can quickly find the information you need to program the Printronix DEC LG emulation that is provided with your printer. Brief descriptions follow for each chapter in this book: •...
  • Page 12: Related Documentation

    The DEC LG Emulation Line Matrix Printer The Printronix DEC LG Emulation printer is a line matrix printer. It uses a variable-speed shuttle, micro-step paper feed control, and multi-phase hammer firing to generate a wide range of horizontal and vertical dot densities...
  • Page 13: Printer Features

    Printer Features Several standard features are provided with the Printronix DEC LG Emulation printer, as described below. Printer Emulations Six printer emulations (or protocols) are selectable at the control panel: • LG emulation • Proprinter XL emulation • Epson FX-1050 emulation •...
  • Page 14: Bar Code Formatting

    Printing and plotting rates also vary according to the print quality you select. Print quality refers to the way you instruct the printer to create characters. If, for example, you select near letter quality (NLQ), the printer uses more dot rows to form characters than if you choose high speed (HS) print quality.
  • Page 15: Lg Emulation Control Codes

    If LG is not the active emulation, use the control panel configuration menus to select the LG option nested under the “ACTIVE EMULATION” main menu selection. (See Chapter 4 in your Printronix P5000 series with DEC LG Emulation Setup Guide .) A printer control language (also called a printer protocol) is the coding system used to convey, manipulate, and print data.
  • Page 16: Print Mode And Plot Mode

    For instance, if the printer is in print mode, a selection of a plot font will not be chosen until the printer is forced into plot mode. Likewise, if the printer is in plot mode and a print font is chosen, this font will not be active until the printer returns from plot mode to print mode.
  • Page 17: Optimizing Print Mode

    To optimize print mode, set the Print Mode option to Enable with the control panel. The switch to plot mode will be avoided and printer throughput will be increased considerably. Optimizing Plot Mode Print mode text and graphic elements print at different densities.
  • Page 18: Printable Characters

    Chapter Character Printing Printable Characters Columns 0 through 7 of the DEC Multinational Character Set (page 21), are the standard ASCII printable character set used in a 7-bit environment. If you choose an 8-bit environment, the printable character set expands to include columns 8 through 15.
  • Page 19: Dec Multinational Character Set

    DEC Multinational Character Set 7-bit mode or bit 8 set to zero BITS COLUMN (XON) " 0 0 1 0 0 0 1 1 (XOFF) 0 1 0 0 0 1 0 1 & 0 1 1 0 0 1 1 1 1 0 0 1 1 0 1 0 1 0 1 1...
  • Page 20: Selecting Graphic Character Sets

    Chapter Selecting Graphic Character Sets Selecting Graphic Character Sets Several graphic character sets reside in DEC LG Emulation including U.S. ASCII, DEC Supplemental, DEC Technical, and VT100 Graphics. Graphic character sets are selected for printing as follows: 1. Designate the set as one of the logical G0, G1, G2, or G3 sets. 2.
  • Page 21: Control Code Types

    8 is set to 1.Table 2 defines the additional control codes recognized by the printer in LG emulation mode. These codes are in columns 8 and 9 of the Digital Multinational Character Set (page 21), and the column/row coordinates from this chart are printed beneath the Mnemonic category in Table 2.
  • Page 22 VT moves the active line to the next vertical tab stop. The DEC LG Emulation printer initially sets a vertical tab stop for every line on the page. FF advances the active line to the first printable line on the next page.
  • Page 23 Backspace Key Pressed Function with CTRL CAN immediately ends an escape or control sequence. The printer interprets the characters following CAN as normal.CAN also cancels a Device Control String (DCS) when received within the command string of that DCS. SUB immediately ends an escape or control sequence.
  • Page 24 Chapter Control Code Types Table 2. Additional Control Codes Mneumonic Column/Row Index Next Line Horizontal Tab Set Vertical Tab Set 8/10 Partial Line Down 8/11 Partial Line Up 8/12 Reverse Index 8/13 Single Shift 2 8/14 Single Shift 3 8/15 Device Control String Control String 9/11...
  • Page 25 Table 3. Equivalent 7-Bit and 8-Bit Additional Control Codes Name Index Next Line Horizontal Tab Set Vertical Tab Set Partial Line Down Partial Line-Up Reverse Index Single Shift 2 Single Shift 3 Device Control String Control String Introducer String Terminator 8-Bit Character Column/Row ESC D...
  • Page 26 Escape sequences always begin with the ASCII ESCape character (location 1/11). An ESC character in the data stream signals the printer to wait for special instructions. The character codes following the ESC character tell the printer what to do.
  • Page 27: Control Sequences

    G (hex 47), the resulting escape sequence is ESC SP G (hex 1B 20 47). This particular sequence tells the printer how to process data it sends back to the host computer: send data in 7-bit form and send additional control characters as 7-bit escape sequences.
  • Page 28 65535 will be set to 65535. Do not use a decimal point in any parameter - the printer will ignore the entire command. If no value is specified, zero (0) is assumed. A value of zero or an omitted parameter indicates the printer default value should be used for that sequence.
  • Page 29 Device Control Strings The format of a device control string is: P...P 3/0 to 3/15 8-Bit Device Parameter Control String character(s) Introducer Introducer Protocol Selector The DCS control character is the Device Control String introducer. DCS has an 8-bit code of 9/0. This is equivalent to the escape sequence consisting of the ESC (1/11) and P (5/0) characters.
  • Page 30: Special Parsing Requirements

    If a C0 (7-bit) control character is received within a control sequence, the control character is executed by the printer as if it was received before the control sequence. Parsing then resumes. The exceptions to this rule follow: •...
  • Page 31 (either G2 or G3). • If a (96) character resides in the set being accessed (either G2 or G3), the printer images the corresponding character, (A0 hex) or (FF hex), of that set, then resets the single shift flag.
  • Page 32: Control Code Description Format

    Chapter Control Code Description Format Control Code Description Format The rest of this chapter discusses the control codes in detail. Where applicable, the following information is listed for each control code sequence: Name ASCII CodeThe ASCII name for the control code. Escape sequences are in NOTE: In the code descriptions, the ASCII space character (2/0, hex 20, Hex Code The code or escape sequence in hexadecimal numbers.
  • Page 33: Control Code Index

    Control Code Index The LG emulation mode control codes listed below are grouped by related functions. Control code sequences in this manual are shown in 7-bit form. They can be either 7-bit or 8-bit form, depending on your requirements. Code conversion instructions are on page 28.
  • Page 34 Chapter Control Code Index FUNCTION Spacing Spacing Pitch Increment (SPI) Select Vertical (Line) Spacing (SVS) Set Vertical Pitch (DECVERP) Select Horizontal (Character) Spacing (SHS) Set Horizontal Pitch (DECSHORP) Vertical Format Load Vertical Format Unit (VFU) End Load (VFU) Channel Command Forms Loading Forms Sequence (DECLFM) Form Types...
  • Page 35 FUNCTION Page Print Area and Margins Page Format Select (PFS) Set Lines Per Physical Page (DECSLPP) Set Top and Bottom Margins (DECSTBM) Set Left and Right Margins (DECSLRM) Active Column and Active Line (“Cursor” Motion) Forward Index (IND) Reverse Index (RI) Next Line (NEL) Horizontal Position Absolute (HPA) Horizontal Position Relative (HPR)
  • Page 36 Chapter Control Code Index FUNCTION Product Identification (DA) Printer Status Requests and Reports Device Status Requests (DSRs) and Printer Responses Send Extended Status Report Disable Unsolicited Status Reports Enable Unsol. Brief Reports and Send Ext. Report Enable Unsol. Ext. Reports and Send Ext.
  • Page 37 Drawing Vectors (DECVEC) Block Characters Setting Block Character Parameters (DECBCS) Start Block Character Mode (DECBLOCKC) Stop Block Character Mode Printer Reset Reset to Initial State (RIS) Soft Terminal Reset (DECSTR) Selecting and Returning from LinePrinter Plus Emulations Select LinePrinter Plus Emulations via...
  • Page 38: Set/Reset Mode

    LG private parameters are preceded by the question mark (“?”) character. On Set/Reset features, default settings go into effect when the printer is powered-up or a reset (RIS or DECSTR) sequence is sent. Table 4. Set/Reset Mode Parameter Values Printer Mode...
  • Page 39: Line Feed/New Line Mode (Lnm)

    After a half-second pause, the paper feeds up one line in 3-hertz intervals. To enable further line feed features, (i.e., microstepping), raise the printer cover and locate the control panel on the left side. Four keys-UP, NEXT, DOWN, and PREV-control additional line feed capabilities: To move the paper up 1/600 inch, press the LINE FEED key and the NEXT key together.
  • Page 40: Carriage Return/New Line Mode (Deccrnlm)

    27 91 63 52 48 108 Defines printer response to the Carriage Return (CR) character. When the printer receives the CR character with Carriage Return/New Line Mode enabled (set), it returns the active column to the left margin and advances paper one line.
  • Page 41: Autowrap Mode (Decawm)

    Autowrap Mode (DECAWM) ASCII Code Hex Code Dec Code Purpose Determines what happens when text exceeds the right margin of DiscussionWhen autowrap is enabled (set) and text runs past the right Set (Enable) ESC [ ? 1B 5B 3F 37 68 27 91 63 55 104 the page.
  • Page 42: Pitch Select Mode (Decpsm)

    27 91 63 50 57 104 27 91 63 50 57 108 determines the horizontal pitch. When Pitch Select Mode is disabled (reset), the printer uses the horizontal pitch selected by the Set Horizontal Pitch (DECSHORP) sequence. The power-up default is DECPSM reset. DECPSM is overridden by an SPI command (page 55) or an SHS command (page 59).
  • Page 43: Set Page Orientation (Decspo)

    Set Page Orientation (DECSPO) ASCII Code Hex Code Dec Code Purpose Sets the intended reading orientation of the page with respect to DiscussionDECSPO is similar to the page orientation defined by PFS, but ESC [ Ps & z 1B 5B Ps 26 7A 27 91 Ps 38 122 the paper feed direction.
  • Page 44: Position Unit Mode (Pum)

    Chapter Position Unit Mode (PUM) Position Unit Mode (PUM) ASCII Code Hex Code Dec Code Purpose Selects a unit of measurement used with the escape sequences DiscussionWhen Position Unit mode is enabled (set), it selects either Table 5. Escape Sequences With Spacing Parameters Sequence Name Spacing Pitch Increment * Set Lines Per Physical Page...
  • Page 45: Force Plot Mode (Decfpm)

    Force Plot Mode (DECFPM) ASCII Code Hex Code Dec Code Purpose Forces the printer to enter or stay in Plotting mode. DiscussionThe printer normally operates in Printing mode (the default) to Reset (Disable) ESC [ ? ESC [ ? 1B 5B 3F 37 30 6C...
  • Page 46: Select Size Unit (Ssu)

    PUM is set and will then remain in effect until the printer receives either another SSU or a reset sequence. Default value at power-up or reset is decipoints. The printer will ignore all Ps values other than 2 or 7. Spacing Unit...
  • Page 47: Graphic Size Selection (Gss)

    If the desired font height cannot be matched exactly, the next smallest available font is selected. The GSS sequence remains in effect until the printer receives another GSS sequence or a Graphic Size Modification (GSM) sequence. NOTE:The JIS Katakana character set is only available in the 10 CPI font size.
  • Page 48: Graphic Size Modification (Gsm)

    In Plot mode, the pitch is changed only if Pitch Select mode is set. The GSM sequence is effective until the printer receives another GSM or GSS sequence. NOTE:The GSM command will only work if the base font is...
  • Page 49: Setting Plot Density

    Setting Plot Density The printer can plot in several different densities (dots per inch, or dpi), from 30 dpi to 200 dpi. The Plot mode fonts contain the information for the vertical and horizontal densities they use. Determine non-text imaging densities (for sixels, bar codes) by using these innate commands.
  • Page 50: Set Graphics Density (Decsgd)

    The actions of Psh and Psv are dependent on the print orientation because x-direction print densities differ significantly from y-direction print densities. (This is the only printer instruction that is directly dependent on the current orientation setting.) Table 6 defines how orientation is designated by Psh and Psv.
  • Page 51 Table 7. X-Density Values X-Density (Portrait-dflt) (Dots/Inch) No change 100 (default) Table 8.Y-Density Values Y-Density (Portrait-dflt) (Dots/Inch) No change 66.67 100 (default)
  • Page 52: Spacing

    Chapter Spacing Spacing The five spacing sequences covered in this section affect the spacing of lines and characters. Horizontal pitch affects character spacing in characters per inch (CPI). Vertical pitch affects line spacing in lines per inch (lpi). DECSHORP and SHS affect character size in addition to spacing if Print Mode is set to Enable with the control panel.
  • Page 53: Spacing Pitch Increment (Spi)

    Pn1 selects the vertical spacing increment. Pn2 selects the horizontal spacing increment. Parameters must be positive integers. If you use a decimal point, the printer will ignore the command. Printer default values are Pn1 = 0 and Pn2 = 0, which selects the spacing of the current font.
  • Page 54 Chapter Spacing Pitch Increment (SPI) If a position command does not precede the printable (graphic) character, the printer will place that character to the right of the previously received character. The distance between characters depends on the values of Pn1 and Pn2 in the most recent SPI, SHS, or DECSHORP sequence.
  • Page 55: Select Vertical (Line) Spacing (Svs)

    Select Vertical (Line) Spacing (SVS) ASCII Code Hex Code Dec Code Purpose Selects the vertical spacing (pitch) between lines that is used by DiscussionPs selects the vertical pitch and vertical character position unit. ESC [ Ps SP L 1B 5B Ps 20 4C 27 91 Ps 32 76 all fonts.
  • Page 56: Set Vertical Pitch (Decverp)

    Chapter Set Vertical Pitch (DECVERP) Set Vertical Pitch (DECVERP) ASCII Code Hex Code Dec Code Purpose Selects the number of lines printed per inch on the page. DiscussionSelects the line spacing (vertical pitch) used with all fonts. ESC [ Ps z 1B 5B Ps 7A 27 91 Ps 122 Ps selects the vertical pitch (lines per inch).
  • Page 57: Select Horizontal (Character) Spacing (Shs)

    NOTE: If the Print Mode option is set to Disable with the control panel, the SHS command can force the printer into plot mode. If the page contains a dense concentration of text (many text lines and many characters per line), the SHS command will cause the DEC LG Emulation to pause a few seconds between pages.
  • Page 58: Set Horizontal Pitch (Decshorp)

    81.) • The current horizontal tabs remain as set. • Can force the printer into plot mode when Print Mode is set to Disable with the control panel. Ps selects the horizontal pitch (characters per inch). Horizontal Pitch (cpi)
  • Page 59: Vertical Format

    Besides loading the VFU, top-of-form is also defined. Top-of- form is determined by the actual paper position when the load VFU command is sent to the printer; therefore, be sure to align the paper at the desired top- of-form before sending the LOAD VFU command.
  • Page 60: Load Vertical Format Unit (Vfu)

    ASCII Code Hex Code Dec Code Purpose Downloads the VFU from the host to the printer. DiscussionAll data following the begin load sequence is placed in VFU Table 10. Byte 1 Structure (First Character of Pair) Bits: 7 Value: X Table 11.
  • Page 61: End Load (Vfu)

    For example: for VMS, you may increase the command line width for the terminal device used to communicate with the printer to 132 characters, via the command $set term/width=132. An example showing several VFU commands and...
  • Page 62: Channel Command

    Chapter Channel Command Channel Command ASCII Code Hex Code Dec Code Purpose The channel commands control paper motion. ESC [ p1 & y 1B 5B p1 26 79 27 91 p1 38 121 P1 consists of three digits: nnn. When the first n equals 9, reverse paper motion occurs.
  • Page 63 Beware of the following conditions when the selected channel is in the forward direction: • If you try to print text at a channel not previously defined, the text prints at channel 12 (BOF). • If you try to print text at a channel not previously defined and channel 12 is also undefined, text prints at the next line.
  • Page 64: Forms

    A form contains data. This data is a sequence of self-contained commands and text that can occupy one or more pages of the form. The data form can be downloaded then stored in printer memory for later use. The status report lists the form IDs loaded in the printer.
  • Page 65: Loading Forms Sequence (Declfm)

    Hex Code Dec Code Purpose Allows you to load forms into printer memory. DiscussionThe Pn parameters define the format of the form as well as which DCS P1 ; P2 & p RECORD ST 90 P1 3B P2 26 70 RECORD 9C 144 P1 59 P2 38 112 RECORD 156 forms to delete.
  • Page 66 Chapter Loading Forms Sequence (DECLFM) • • • These form record fields are described in detail below: • ID length is a two-digit number (01 - 99) that defines the length • Form ID is a string of 1 - 99 printable characters. IDs exceeding •...
  • Page 67 • Form Data Switch Character designates the insertion of the form's fill-in data. The character, considered a field indicator character, is always in a range from 2/0 through 7/14. The form-data switch character must be different from the control- character encoding character. The form data switch character is not printable within the form and should not be used in any control sequence in the form.
  • Page 68: Form Types

    Chapter Form Types Form Types A form can be printed in Print mode, in Plot mode, or in a combination of Print and Plot mode. • In Plot mode, all positioning should be fully specified by the LG positioning commands. The entire form is plotted if the following conditions exist: Contains any graphics (block characters, bar codes, vectors, logos) The pitch of the font does not exist in print mode...
  • Page 69: Start Forms Sequence (Decifm)

    Form mode. The variable fill-in data is merged and printed with the form data. When the printer encounters an FF character in the form data portion of a multiple page form, it advances to the next page and continues merging with the fill-in data that follows.
  • Page 70: Terminate Forms Sequence (Dectfm)

    ESC # SP 1 1B 23 20 31 27 35 32 49 Many special conditions might affect the printer output or performance in its various uses. See “Forms Considerations” on page 73 for further information regarding these conditions. DCS Ps & q FORMS ID ST...
  • Page 71: Forms Considerations

    Invoke a LG sequence • Invokes an ESCc (RIS) sequence. This will exit you from the Form mode. Be aware of the following conditions, which can affect the printer's output/ performance in Forms mode: • To minimize paper movement, print all text together and print all graphics together.
  • Page 72: Request Forms Status (Decfmsr)

    9B 26 7E 155 38 126 for printing. DCS & s FORM STRING ST 90 26 73 FORM STRING 9C 144 38 115 FORM STRING 156 printer. Each form name starts on a new line and is separated by commas.
  • Page 73: Logos

    Logos A logo is a graphic image stored in the printer. Once a logo is downloaded, it can be printed repeatedly by referring to its identifying number. Up to 16 logos can reside in the printer, with a maximum size of 65,535 bytes per logo. The following subsections explain various ways in which to utilize the logo feature.
  • Page 74 Also listed on the status report are the IDs and the comment field of the logos available in the printer. defines the length of the logo record. The logo length includes all characters other than C0 control characters (0/0 through 1/15).
  • Page 75: Select Logo Sequence (Decilg)

    Select Logo Sequence (DECILG) ASCII Code Hex Code Dec Code Purpose Prints selected logos present in printer memory. DiscussionPn defines the ID of the selected logo. If no logo exists for that ID, Deleting Logos Sequence (DECDLG) ASCII Code Hex Code...
  • Page 76: Request Logo Status (Decrlgs)

    90 26 77 LOGO STRING 9C 144 38 119 LOGO STRING 156 printer and their comment strings. Each logo number and comment start on a new line, separated by commas. Several examples of logo IDs and comment strings are shown in the...
  • Page 77: Page Print Area And Margins

    Page Print Area and Margins The DEC LG Emulation has no print area limitations; however, smaller page areas can be selected by using the Page Format Select (PFS) sequence. Figure 2 shows the two types of page orientation: portrait and landscape, for normal and extended page formats.
  • Page 78: Changing The Print Area

    Changing the Print Area In portrait mode, text or graphics prints horizontally (across the paper loaded in the printer). In landscape mode, text or graphics prints vertically (from bottom to top of the paper loaded in the printer). Changing the Print Area You can change the print area two ways: 1.
  • Page 79: Page Format Select (Pfs)

    Landscape A4 Portrait North American LG private Landscape North American LG private Portrait A4 LG private Landscape A4 LG private Portrait line printer: 11 inches high x 13.2 inches wide Landscape line printer: 13.2 inches high x 11 inches wide...
  • Page 80 Use the vertical position absolute and relative (VPA and VPR) sequences to move below the page end line. If a line feed passes the page end line, the printer prints the current page and performs a form feed to get to the next page.
  • Page 81 Extended Page Formats: Portrait extended A4 Landscape A4 format Portrait NA LG Landscape NA LG Portrait A4 Private LG Landscape A4 Private Portrait line printer Landscape line printer Chars. Per Line in Text Area (Lines Per Inch) (Characters Per Inch) 157.5...
  • Page 82 Portrait the printer Landscape line printer NOTE: After a power-up or reset sequence, no page format is selected. Reset the printer with the Soft Terminal Reset (DECSTR) or the Reset to Initial State (RIS) sequence. Backward Compatibility The page formats described in this section are compatible with previous LG printers.
  • Page 83: Set Lines Per Physical Page (Decslpp)

    Set Lines Per Physical Page (DECSLPP) ASCII Code Hex Code Dec Code Purpose Defines form length. DiscussionA form's length equals the maximum distance the paper moves ESC [ Pn t 1B 5B Pn 74 27 91 Pn 116 when a form feed command is issued. Maximum form length is 33 inches.
  • Page 84: Set Top And Bottom Margins (Decstbm)

    If the sequence sets the top margin below the bottom margin, the command is ignored. • The printer does not permit any part of the character box to be greater than the bottom margin line or less than the top margin line.
  • Page 85: Set Left And Right Margins (Decslrm)

    Margins settings go into effect as soon as they are received. The printer will set the margins where specified, except in the following cases: • If Pn1 = 0 or is omitted, the left margin is unchanged.
  • Page 86: Active Column And Active Line (Cursor Motion)

    This section describes cursor positioning command sequences. Line printers do not have a cursor like the blinking place-marker on most computer screens. The cursor position on a line printer is the space where the next character will print. In this manual, cursor refers to the currently active print position.
  • Page 87: Reverse Index (Ri)

    Reverse Index (RI) ASCII Code Hex Code Dec Code Purpose Causes the active position to move to the corresponding DiscussionPn specifies the active position. The Reverse Index command Next Line (NEL) ASCII Code Hex Code Dec Code Purpose Causes the active position to move to the first character position DiscussionIf you try to move the cursor past the bottom margin, the cursor ESC M 1B 4D...
  • Page 88: Horizontal Position Absolute (Hpa)

    Chapter Horizontal Position Absolute (HPA) Horizontal Position Absolute (HPA) ASCII Code Hex Code Dec Code Purpose Selects the active column on the active line. DiscussionPn value specifies the new active column. Default value: Pn = 1. Horizontal Position Relative (HPR) ASCII Code Hex Code Dec Code...
  • Page 89: Horizontal Position Backward (Hpb)

    Horizontal Position Backward (HPB) ASCII Code Hex Code Dec Code Purpose Moves the active column backward by subtracting the value Pn DiscussionPn is the value subtracted from the currently active column. Vertical Position Absolute (VPA) ASCII Code Hex Code Dec Code Purpose Causes the active position to be moved to the corresponding DiscussionPn is the new active line at the currently active column.
  • Page 90: Vertical Position Relative (Vpr)

    Chapter Vertical Position Relative (VPR) Vertical Position Relative (VPR) ASCII Code Hex Code Dec Code Purpose Moves the active line to the corresponding horizontal position by DiscussionPn is the value added to the currently active line. Default value: Vertical Position Backward (VPB) ASCII Code Hex Code Dec Code...
  • Page 91: Cursor Up (Cuu)

    1/12”. The Partial Line Down (PLD) sequence returns the active position to the previous baseline. The printer prints superscripted characters that go over the top page margin without disrupting the baseline of the superscripted characters. If PLU occurs while the active position is over the top margin, it has no effect;...
  • Page 92: Partial Line Down (Pld) - Subscripting

    A page can have a maximum of 32 horizontal tabs, and a maximum of 67 vertical tabs. You can set horizontal and vertical tabs. The printer will ignore tab setting commands for tabs already set. Likewise, the printer will ignore tab clearing commands for tabs already cleared.
  • Page 93: Set Horizontal Tab Stops (Decshts)

    If a tab stop is not on the boundary of a character cell, tabbing to that tab stop in print mode forces the printer to the nearest character position.
  • Page 94: Horizontal Tab Stops (Hts)

    New tab stop values are added to the current tab stop list, starting with the lowest value to be added. If the number of tab settings exceeds the number of available positions, the printer ignores any tab stop after the 67 values are stored.
  • Page 95: Vertical Tab Stops (Vts)

    Vertical Tab Stops (VTS) ASCII Code Hex Code Dec Code Purpose Causes a vertical tab stop to be set at the current position. DiscussionA vertical tab stop can also be achieved in 8-bit mode by sending Tab Clear (TBC) ASCII Code Hex Code Dec Code Purpose...
  • Page 96: Character Set Selection

    Chapter Character Set Selection Character Set Selection To make a character set available for printing, you must designate the set as either G0, G1, G2, or G3. The designated set is then invoked into GL or GR using single or locking shift, and can be used for printing. National Replacement Characters (NRCs) are created by replacing the relevant characters in the U.S.
  • Page 97: Select Character Set Sequences (Scs)

    Select Character Set Sequences (SCS) The Select Character Set Sequence (SCS) assigns a character set to the G0, G1, G2, or G3 character set designators. Table 17 gives the sequences that select the available 94-Character Sets. Table 18 gives the sequences that select the available 96-Character Sets.
  • Page 98: Select Character Set Sequences (Scs)

    Chapter Select Character Set Sequences (SCS) Table 18. Selecting 96-Character Sets Using Single and Locking Shifts Character Set ISO Latin 1 ISO Latin 2 ISO Latin 5 ISO Latin 9 ISO Cyrillic ISO Greek ISO Hebrew NOTE: Any other character following the above escape sequences causes the entire sequence to be ignored.
  • Page 99: Assign User Preference Supplemental Set (Decaupss)

    Assign User Preference Supplemental Set (DECAUPSS) ASCII Code Hex Code Dec Code Purpose Assigns a particular character set to the User Preference DiscussionAssigns several of the ISO and special character sets to the User NOTE: If values for Ps and D...D are selected other than those in Table 2-19, this command will be ignored.
  • Page 100 Chapter Assign User Preference Supplemental Set (DECAUPSS) D...D Parameter D...D is a string that contains the character set identifier. See SCS in this chapter for a list of intermediate and final characters. The identifier for the character set in this command is the same as the final character(s) in the identifier listed for the Select Character Set (SCS) sequence (see page 99).
  • Page 101: Product Identification (Da)

    NOTE: This option will work properly only if the printer has the serial interface selected, and if the RTS option on the host interface serial menu is set to True (the default). Refer to the Printronix P5000 series with DEC LG Emulation Setup Guide , Chapter 4, for the Host Interface menu.
  • Page 102: Device Status Requests (Dsrs) And Printer Responses

    Printer responses to these commands are discussed on the following pages. Printer Status Reports The printer sends a Device Status Report (DSR) to the host via the serial line when requested by the host (DSR) or when unsolicited reports have been previously enabled and a reportable status condition has occurred.
  • Page 103 Request Sequence CSI Pn1 ;Pn2 R Values of Pn (up to three digits) are defined in page 107. Printer status codes are reported in pairs: a generic error code first, then a specific error code. A hardware failure consists of any errors listed in “Self-test error messages”...
  • Page 104 Chapter Device Status Requests (DSRs) and Printer Responses 1. Communication failures are usually attributed to parity errors, framing errors, or receipt of an erroneous character. 2. Failures designated as events are reset only when an extended report is sent. If set for solicited reports, the events are reset only after the report is requested and reported.
  • Page 105 Table 21. Printer Status Error Codes Specific Number Generic Fault Codes LCD Message Codes Req. Font Deleted Off-Line Paper Jam Cover Open Paper Out Emul Switch Err Paper Fault Platen Open Bad Font Data Ribbon Stall Char. Not In Font...
  • Page 106: Assigning And Selecting Font Files

    Assigning and Selecting Font Files Assigning and Selecting Font Files Each font file stored in the printer includes data for one of the three standard character sets: ASCII, DEC Supplemental, and DEC Technical. Each font file also includes data for one font, which is part of a type family.
  • Page 107: Assign Type Family Or Font (Decatff)

    Assign Type Family or Font (DECATFF) ASCII Code Hex Code Dec Code Purpose Assigns an SGR number to a font ID or type family ID. DiscussionThe DECATTF sequence assigns a type family ID (seven Ps1 Parameter Ps1 selects which font assignment to perform: DCS Ps1 ;...
  • Page 108 You can send an unlimited number of assign- font-number sequences to the printer. The printer will accept an ID for a font file not currently stored, but if you try to print or plot a character from the missing font file the printer prints a filled-in rectangle instead.
  • Page 109: Selecting Fonts For Printing (Sgr)

    Reset to Initial State (RIS) sequence. After a power-up RIS sequence, the printer uses SGR number 10 for print mode and SGR number 19 for plot mode. If you send an assign type family or font (DECATFF) sequence for the current SGR number, the sequence takes effect immediately.
  • Page 110: Deleting Fonts From Ram (Declff)

    Font Status Sequences Font status sequences help the host computer control and manage font memory. The host sends a request font status sequence, and the printer responds by sending a font status report. The font status report tells the host which fonts are currently available in the printer.
  • Page 111: Request Font Status (Decrfs)

    155 Ps 59 Ps 34 123 fonts available for printing, the memory bytes available for loading new fonts, or both. NOTE:This command works only when the printer is connected to the host through the serial interface. Function Send both reports (same as 1 and 2) (default)
  • Page 112: Font Status Report (Decfsr)

    Chapter Font Status Report (DECFSR) Font Status Report (DECFSR) The printer uses this sequence to report the font status requested by the DECRFS sequence (page 113). There is a separate report for the two types of status requests. NOTE: This command works only when the printer is connected to the host through the serial interface.
  • Page 113: Character Attributes (Sgr)

    Ps values separated by semicolons: ESC [ Ps ; Ps ; Ps m Once set, a character attribute remains active until you turn it off or reset the printer. Ps = 0 (zero) turns off all character attributes.
  • Page 114: Character Expansion (Gsm)

    DiscussionThe Character Expansion control sequence allows characters to Multiply Height The printer prints double and triple height characters by expanding the single height character matrix to produce twice or three times the number of vertical dots per character, respectively. Blank lines are expanded to either twice or three times the normal height, equal to the height requested.
  • Page 115 Multiply Width The printer prints double width characters by expanding the single width character matrix to produce twice the number of horizontal dots per character. When double width characters are selected, the Space character also expands to twice the normal width. To double character width, invoke the...
  • Page 116: Bold Printing

    Hex Code Dec Code Purpose Turn bold printing on or off. DiscussionThis sequence causes the printer to print bold text in the same ESC [ Ps m 1B 5B Ps 6D 27 91 Ps 109 font currently selected. The values of Ps turn bold printing on or off.
  • Page 117: Crossed-Out Text

    OCR-A and OCR-B fonts. If the Print Mode option is set to Enable with the control panel, crossed-out text will print with the current print mode font with maximum printer throughput. If set to Disable, a plot mode font is used.
  • Page 118: Double Underlined Text

    Turn on double underlining Turn off double underlining This feature is available to all fonts and pitch settings, only when the printer is in Print mode and portrait. Double underlining is disabled when the printer is reset or powered- off.
  • Page 119: Overlined

    Turn overlined printing on or off. When enabled, all characters and spaces following the code are overlined. The values of Ps turn overlined printing on or off. Printer Action Turn on overlined printing Turn off overlined printing ESC [ 0 m...
  • Page 120: Underlined Text

    Dec Code Purpose Turn underlining on or off. DiscussionWith underlining on, the printer underlines all following printable This feature is available to all fonts and pitch settings. Underlining is disabled when the printer is reset or powered-off. ESC [ Ps m...
  • Page 121: Justification (Jfy)

    If you do not select a font, solid rectangles are plotted. The printer evenly spaces each word on a justified line. The space character (SP) indicates a word space to the printer,...
  • Page 122 Chapter Justification (JFY) When justification with limits is set (Ps = 2), the printer does not shrink or expand the space character beyond the limits set by the current font (usually in the 50-200% range). If you select justification without limits (Ps = ?2), the printer can shrink the space character to zero.
  • Page 123: Sixel Graphics Processing

    1 means print a pixel; a bit value of 0 means leave a space. The sixel protocol is a bit-imaged rasterised method of transmitting and displaying graphic images. The printer receives and prints sixel files sent from the host. These images are printed in monochrome.
  • Page 124 Macro values 2,3, and 5 through 8 are default definitions required by this printer. If Ps1 is greater than 9, default to Ps1 = 0. • Ps2 is the background select parameter. It is not used by this printer. • Pn3 selects horizontal grid size in decipoints (1/720in). This parameter, used with the aspect ratio, defines grid size.
  • Page 125 The printer performs default horizontal grid sizes for some decipoint values. The following table identifies the horizontal grid size used for each parameter value. Decipoints (1/720”) 0 or none 1, 2, 3 6 default to: 7 default to: 9 default to: 11 - 19 default to: 21, 22, etc.
  • Page 126: Picture Data

    All C1 control codes received while you are defining the Protocol Selector sequence cause the sequence to terminate and the printer to exit from sixel character processing. C1 control codes applicable to this printer are then processed.
  • Page 127: Character Processing In Sixel Graphics Mode

    Table 22. Six-Pixel Column Definition HEX Code ASCII Symbol If you try to print past the furthest right position, the printer will truncate all remaining sixel data until the next Graphics Carriage Return ($) or Graphics New Line (-). Sixel Control Codes Sixel control codes are GL characters in the 20 - 3E hex range.
  • Page 128: Repeat Introducer (!) And Sequence

    Any unassigned control characters, parameters, or parameter separators are ignored by the printer until the next valid control character or ST is received. Repeat Introducer (!) and Sequence A repeat sequence allows repetition of certain characters when a valid printable character follows an exclamation point (!), the repeat introducer symbol.
  • Page 129 Pn1 and Pn2 are numeric parameters. A numeric parameter is a string of characters in the 30H - 39H range that is evaluated by the printer as a decimal number. If the parameter is a value larger than the 65535 maximum, the printer defaults to 65535.
  • Page 130 HGS. Therefore, note the following: When 2.5:1 A/R is selected and the HGS is: - 1/180 in, the printer maintains a 2.5:1 A/R and a HGS of 1/180 in - 1/140 in, the printer maintains a 2.5:1 A/R and a HGS of 1/180 in - 1/90 in, the printer maintains a 2.5:1 A/R and changes HGS to 1/90 in...
  • Page 131: Ascii Control Characters

    ESC character. In Sixel Graphics mode, all C1 control codes terminate Sixel Graphics mode, then process the C1 control code if it is recognized by the printer. Graphic Substitute In Sixel Graphics mode, the SUB character is interpreted as an error character.
  • Page 132 Chapter Character Processing in Sixel Graphics Mode Note that all stored sixel data is printed before the printer exits Sixel Graphics mode. State After Exiting Sixel Graphics Mode After exiting Sixel Graphics mode, the printer returns to the following conditions: •...
  • Page 133 Control string formats appear in the following ways: Control String Introducer DCS P...P I...I F In the above table, P = parameters; I = intermediate characters; F = final character; D = data; and ST = string terminator (9CH). Process unused control strings as follows: •...
  • Page 134: Drawing Vectors (Decvec)

    Chapter Drawing Vectors (DECVEC) Drawing Vectors (DECVEC) ASCII Code Hex Code Dec Code Purpose Draw horizontal or vertical lines with length and width DiscussionMargins do not affect line drawing so you can draw lines to the ESC [ Pn1 ; Pn2 ;...
  • Page 135: Block Characters

    Block Characters The block character sequences define the parameters of the block characters, initiate the generation of block characters, and return the printer to normal printing. The following subsections describe how to enact these features. Setting Block Character Parameters (DECBCS)
  • Page 136: Block Characters

    Chapter Setting Block Character Parameters (DECBCS) NOTE: When the sequence selects character rotation, each character is rotated around its axis by the above specified degree. • P2 defines the vertical magnification factor. The maximum value of P2 is limited by page length. •...
  • Page 137: Start Block Character Mode (Decblockc)

    Start Block Character Mode (DECBLOCKC) ASCII Code Hex Code Dec Code Purpose Generates the block characters from the characters that follow DiscussionThe block characters inherit the last set of parameters defined. If Stop Block Character Mode ASCII Code Hex Code Dec Code Purpose Stops the generation of block characters...
  • Page 138: Reset To Initial State (Ris)

    Reset to Initial State (RIS) ASCII Code Hex Code Dec Code Purpose Resets the value or state of several operating features. DiscussionThis sequence resets the printer to a set of operating values and Soft Terminal Reset (DECSTR) ASCII Code Hex Code Dec Code Purpose Resets the value or state of several operating features.
  • Page 139: Selecting Lineprinter Plus Emulations Via Decipem

    Hex: Entering this control code will select the Proprinter III XL configuration for LinePrinter Plus. Refer to the Printronix P5000 series with DEC LG Emulation Printer Setup Guide for information on selecting a LinePrinter Plus protocol and configuring emulation parameters.
  • Page 140: Selecting Lineprinter Plus Emulations Via Socs

    The first control code sequence selects the Proprinter emulation. The second control code selects the Epson FX-1050. Refer to the Printronix P5000 series with DEC LG Emulation Setup Guide for information on selecting a LinePrinter Plus protocol and configuring emulation parameters.
  • Page 141: 7-Bit And 8-Bit Transmissions And Interpretations

    This section explains how to select 7-bit or 8-bit encoding of control strings. Select 7-Bit C1 Transmission (S7C1T) The sequence below causes the printer to use 7-bit encoding for all C1 control characters transmitted. All C1 characters are then represented as two- character ESC sequences.
  • Page 142: Enter Draft Mode

    The high speed draft font can also be selected using the operator's control panel. (Refer to Chapter 4 of the Printronix P5000 series with DEC LG Emulation Setup Guide .) ESC % @...
  • Page 143: Default Values And States

    Default Values and States The printer stores a set of typical operating states and conditions. The first time you power up the printer, the factory settings in Table 25 are automatically invoked. Selectable Parameter Printing Status Horizontal Pitch Vertical Pitch...
  • Page 144: Default Values And States

    Chapter Default Values and States Selectable Parameter Line Feed/New Line Mode Horizontal Tabs Super/Subscripts Carriage Return/NLM Vertical Tabs Table 25. Factory Settings Control Function Factory Set Condition Reset ----- Stop at every 8 columns (9, 17...137) ----- Disabled DECCRNLM Reset ----- Stop at every line (1-66)
  • Page 145 Table 26. Reset Condition Selectable Control Function Printing Status ---- Horizontal Pitch DECSHORP Vertical Pitch DECVERP Font Forms Length DECSLPP Active Position ---- Top Margin ---- Bottom Margin ---- Left Margin ---- Right Margin ---- Underlining Bolding Italics Double Underline Overline Expansion GL Character Set...
  • Page 146 Chapter Default Values and States Selectable Unsolicited Reports Super/Subscripts Carriage Return/New Line Mode Vertical Tabs Note: The “All Interface Settings” and “National Replacement Character Set” remain as previously selected via escape sequences or the control panel. At power-up, the parameter values in Table 27are automatically retained from the previous power-on session.
  • Page 147 Table 27. Power-up Conditions Selectable Parameter Horizontal Pitch DECSHORP Vertical Pitch DECVERP Font Forms Length DECSLPP Top and Bottom Margin DECSTBM Left and Right Margin DECSLRM Autowrap DECAWM Line Feed/New Line Mode Carriage Return/New Line Mode DECCRNLM Horizontal Tabs ----- Vertical Tabs ----- Interface Settings...
  • Page 148 Chapter Default Values and States...
  • Page 149: Character Sets

    The DEC ASCII and all language character sets and several fonts can be selected at the printer control panel (see Chapter 4 of the Setup Guide ). You may select the language set and font style from the control panel as follows: 1.
  • Page 150: Ascii Character Set

    Chapter Selecting the Character Set and Language ASCII Character Set Graphic symbols of the ASCII Character Set are listed in numeric order by hexadecimal address. Included is the decimal code and the symbol's name. Table 28. Graphic Symbols for the ASCII Character Set Decimal Value Code...
  • Page 151 Table 28. Graphic Symbols for the ASCII Character Set (continued) Decimal Value Code Greater Than Symbol Question Mark At Sign Uppercase A Uppercase B Uppercase C Uppercase D Uppercase E Uppercase F Uppercase G Uppercase H Uppercase I Uppercase J Uppercase K Uppercase L Uppercase M...
  • Page 152 Chapter Selecting the Character Set and Language Table 28. Graphic Symbols for the ASCII Character Set (continued) Decimal Value Code Symbol Name Open Single Quotation Mark/Grave Accent Lowercase a Lowercase b Lowercase c Lowercase d Lowercase e Lowercase f Lowercase g Lowercase h Lowercase i Lowercase j...
  • Page 153: Dec Multinational Character Sets

    The default symbol set for the fonts in the printer is the U.S. ASCII set. The U.S. ASCII set is the base onto which other symbol set overlay sequences may be loaded.
  • Page 154 Chapter Selecting the Character Set and Language Decimal Value Code Decimal Value Code Decimal Value Code Table 30. DEC Dutch Character Set Symbol Name Pound Sign Fraction Three-Quarter Lowercase y with Umlaut Fraction One-Half Solid Vertical Bar Umlaut Lowercase f (with Fallback for Florin) Fraction One-Quarter Acute Accent Table 31.
  • Page 155 Table 33. DEC French Canadian Character Set Decimal Value Code Lowercase a with Grave Accent Lowercase a with Circumflex Accent Lowercase c with Cedilla Lowercase e with Circumflex Accent Lowercase i with Circumflex Accent Lowercase o with Circumflex Accent Lowercase e with Acute Accent Lowercase u with Grave Accent Lowercase e with Grave Accent Lowercase u with Circumflex Accent...
  • Page 156 Chapter Selecting the Character Set and Language Decimal Value Code Table 37. DEC Norwegian/Danish Character Set Decimal Value Code Decimal Value Code Table 36. JIS Roman Character Set Symbol Name Yen Sign Symbol Name Uppercase A with Umlaut Uppercase AE Diphthong Uppercase O with Slash Uppercase A with Ring Uppercase U with Umlaut...
  • Page 157 Table 39. DEC Swedish Character Set Decimal Value Code Uppercase E with Acute Accent Uppercase A with Umlaut Uppercase O with Umlaut Uppercase A with Ring Uppercase U with Umlaut Lowercase e with Acute Accent Lowercase a with Umlaut Lowercase o with Umlaut Lowercase a with Ring Lowercase u with Umlaut Table 40.
  • Page 158 Chapter Selecting the Character Set and Language Decimal Value Code Table 42. ISO Norwegian/Danish Character Set Decimal Value Code Table 41. DEC Portuguese Character Set Symbol Name Uppercase A with Tilde Uppercase C with Cedilla Uppercase O with Tilde Lowercase a with Tilde Lowercase c with Cedilla Lowercase o with Tilde Symbol Name...
  • Page 159: Additional Iso And Special Character Sets

    Additional ISO and Special Character Sets The printer can print sixteen character sets in addition to the OCR-A, OCR-B, U.S. ASCII and DEC multinational character sets. These are: • ISO Cyrillic • ISO Greek • ISO Hebrew • ISO Latin 1 •...
  • Page 160: Iso Character Sets

    Chapter Selecting the Character Set and Language ISO Character Sets Decimal Value Code Table 43. ISO Cyrillic Character Set Symbol Name Uppercase Io Uppercase Dje Uppercase Gje Uppercase Ie Uppercase Dze Uppercase I Uppercase Yi Uppercase Je Uppercase Lje Uppercase Nje Uppercase Chje Uppercase Kje Space...
  • Page 161 Table 43. ISO Cyrillic Character Set (continued) Decimal Value Code Uppercase Te Uppercase U Uppercase Ef Uppercase Ha Uppercase Tse Uppercase Che Uppercase Sha Uppercase Shcha Uppercase Hard Sign Uppercase Yeru Uppercase Soft Sign Uppercase E Uppercase Yu Uppercase Ya Lowercase A Lowercase Be Lowercase Ve...
  • Page 162 Chapter Selecting the Character Set and Language Table 43. ISO Cyrillic Character Set (continued) Decimal Value Code Symbol Name Lowercase Ef Lowercase Ha Lowercase Tse Lowercase Che Lowercase Sha Lowercase Shcha Lowercase Hard Sign Lowercase Yeru Lowercase Soft Sign Lowercase E Lowercase Yu Lowercase Ya Number Acronym...
  • Page 163 Table 44. ISO Greek Character Set Decimal Value Code Grave Mark Single Quotation Mark Pound Sign 24-25 36-37 Space Broken Bar Section Sign Diaeresis Copyright Space Left Angle Quotation Mark Not Sign 2D-2E 45-46 Space Horizontal Bar Degree Sign Plus or Minus Sign Superscript Two Superscript Three Rough...
  • Page 164 Chapter Selecting the Character Set and Language Table 44. ISO Greek Character Set (continued) Decimal Value Code Symbol Name Uppercase Delta Uppercase Epsilon Uppercase Zeta Uppercase Eta Uppercase Theta Uppercase Iota Uppercase Kappa Uppercase Lamda Uppercase Mu Uppercase Nu Uppercase Ksi Uppercase Omicron Uppercase Pi Uppercase Rho...
  • Page 165 Table 44. ISO Greek Character Set (continued) Decimal Value Code Lowercase Zeta Lowercase Eta Lowercase Theta Lowercase Iota Lowercase Kappa Lowercase Lambda Lowercase Mu Lowercase Nu Lowercase Ksi Lowercase Omicron Lowercase Pi Lowercase Rho Lowercase Terminal Sign Lowercase Sigma Lowercase Tau Lowercase Upsilon Lowercase Phi Lowercase Khi...
  • Page 166 Chapter Selecting the Character Set and Language Decimal Value Code 40-5E 64-94 Table 45. ISO Hebrew Character Set Symbol Name Space Cent Sign Pound Sign Currency Sign Yen Sign Broken Bar Section Sign Diaeresis Copyright Symbol Multiply Sign Left Angle Quote Not Sign Space Registered Trade Mark...
  • Page 167 Table 45. ISO Hebrew Character Set (continued) Decimal Value Code Aleph Gimel Dalet Zain Chet Kaph with Terminal Kaph Lamed Mem with Terminal Nun with Terminal Samech Ayin Pe with Terminal Zade with Terminal Zade Qoph Resh Shin 7B-7F 123-127 Space Symbol Name...
  • Page 168 Chapter Selecting the Character Set and Language Decimal Value Code Table 46. ISO Latin 2 Character Set Symbol Name Uppercase A with Ogonek Breve Uppercase L with Bar Currency Sign Uppercase L with Caron Uppercase S with Acute Section Sign Diaeresis Uppercase S with Caron Uppercase S with Cedilla...
  • Page 169 Table 46. ISO Latin 2 Character Set (continued) Decimal Value Code Uppercase A with Circumflex Uppercase A with Breve Uppercase A with Diaeresis Uppercase L with Acute Uppercase C with Acute Uppercase C with Cedilla Uppercase C with Caron Uppercase E with Acute Uppercase E with Ogonek Uppercase E with Diaeresis Uppercase E with Caron...
  • Page 170 Chapter Selecting the Character Set and Language Table 46. ISO Latin 2 Character Set (continued) Decimal Value Code Symbol Name Lowercase A with Diaeresis Lowercase L with Acute Lowercase C with Acute Lowercase C with Cedilla Lowercase C with Caron Lowercase E with Acute Lowercase E with Ogonek Lowercase E with Diaeresis...
  • Page 171 Table 47. ISO Latin 5 Character Set Decimal Value Code Inverted Exclamation Mark Cent Sign Pound Sign Currency Sign Yen Sign Broken Bar Section Sign Diaeresis Copyright Symbol Feminine Ordinal Indicator Left Angle Quotation Mark Not Sign Space Registered Trade Mark Macron Degree Sign Plus or Minus Sign...
  • Page 172 Chapter Selecting the Character Set and Language Table 47. ISO Latin 5 Character Set (continued) Decimal Value Code Symbol Name Uppercase A with Circumflex Uppercase A with Tilde Uppercase A with Diaeresis Uppercase A with Ring Uppercase AE Diphthong Uppercase C with Cedilla Uppercase E with Grave Uppercase E with Actue Uppercase E with Circumflex...
  • Page 173 Table 47. ISO Latin 5 Character Set (continued) Decimal Value Code Lowercase A with Diaeresis Lowercase A with Ring Above Lowercase AE Diphthong Lowercase C with Cedilla Lowercase E with Grave Lowercase E with Acute Lowercase E with Circumflex Lowercase E with Diaeresis Lowercase I with Grave Lowercase I with Acute Lowercase I with Circumflex...
  • Page 174 Chapter Selecting the Character Set and Language DEC Supplemental Character Set The DEC Supplemental Character Set consists of graphic alphabetical symbols not included in the ASCII Character Set. Character positions identified as “reserved for future use” print the error character (reverse question mark).
  • Page 175 Table 48. DEC Supplemental Character Set (continued) Decimal Value Code Inverted Question Mark Uppercase A with Grave Accent Uppercase A with Acute Accent Uppercase A with Circumflex Accent Uppercase A with Tilde Uppercase A with Diaeresis Uppercase A with Ring Uppercase AE Diphthong Uppercase C with Cedilla Uppercase E with Grave...
  • Page 176 Chapter Selecting the Character Set and Language Table 48. DEC Supplemental Character Set (continued) Decimal Value Code Symbol Name Lowercase a with Acute Lowercase a with Circumflex Accent Lowercase a with Tilde Lowercase a with Diaeresis Lowercase a with Ring Lowercase ae Diphthong Lowercase c with Cedilla Lowercase e with Grave...
  • Page 177 VT100 Graphics Character Set The VT100 Graphics Character Set contains ASCII and special graphic symbols. Several characters in this set that are also found in the DEC Technical Character Set or the DEC Supplemental Character Set. Line drawing characters are identified in Table 49 by an asterisk after the hex value.
  • Page 178 Chapter Selecting the Character Set and Language Table 49. VT100 Graphics Character Set (continued) Decimal Value Code Symbol Name Nine Colon Semicolon Less Than Symbol Equals Symbol Greater Than Symbol Question Mark At Sign Uppercase A Uppercase B Uppercase C Uppercase D Uppercase E Uppercase F...
  • Page 179 Table 49. VT100 Graphics Character Set (continued) Decimal Value Code Open Bracket Backslash Closed Bracket Circumflex Space Solid Diamond Solid Box Horizontal Tab Form Feed Carriage Return Line Feed Degree Symbol Plus/Minus Sign New Line Vertical Tab Graphics Bar Lower Right Corner Graphics Bar Upper Right Corner Graphics Bar Upper Left Corner Graphics Bar Lower Left Corner...
  • Page 180: Dec Technical Character Set

    The printer conforms to the following: • Responds to the escape sequence that determines the DEC Technical Character Set. The printer cannot designate or invoke the DEC Technical Character Set by default. • Positions reserved for future standardization in the DEC technical set are imaged as the error character (reverse question mark).
  • Page 181 Table 50. DEC Technical Character Set Decimal Value Code Greek: Uppercase Delta Uppercase Phi Uppercase Gamma Uppercase Theta Uppercase Lambda Uppercase Pi Uppercase Psi Uppercase Sigma Uppercase Omega Uppercase Ksi Uppercase Upsilon Lowercase Alpha Lowercase Beta Lowercase Gamma Lowercase Delta Lowercase Epsilon Lowercase Phi Lowercase Gamma...
  • Page 182 Chapter Selecting the Character Set and Language Table 50. DEC Technical Character Set (continued) Decimal Value Code Mathematical: Logic: Symbol Name Less Than or Equal To Not Equal Greater Than or Equal To Integral Variation or Proportional To Infinity Division or Divided By Nabla or Del Is Approximate To Similar or Equal To...
  • Page 183 Table 51. ISO Katakana Character Set Decimal Value Code Katakana full stop Katakana opening bracket Katakana closing bracket Katakana comma Katakana conjunctive symbol Katakana wo Katakana small a Katakana small i Katakana small u Katakana small e Katakana small o Katakana small ya Katakana small yu Katakana small yo...
  • Page 184 Chapter Selecting the Character Set and Language Table 51. ISO Katakana Character Set (continued) Decimal Value Code 60-7E 96-126 Symbol Name Katakana tsu Katakana te Katakana to Katakana na Katakana ni Katakana nu Katakana ne Katakana no Katakana ha Katakana hi Katakana fu Katakana he Katakana ho...
  • Page 185 Table 52. 7-Bit Hebrew Character Set Decimal Value Code Space Exclamation Point Quotation Marks Number Sign Dollar Sign Percent Sign Ampersand Apostrophe Open Parenthesis Closed Parenthesis Asterisk Plus Comma Hyphen or Minus Period or Decimal Point Slash Zero (Not Slashed) Three Four Five...
  • Page 186 Chapter Selecting the Character Set and Language Table 52. 7-Bit Hebrew Character Set (continued) Decimal Value Code Symbol Name Uppercase A Uppercase B Uppercase C Uppercase D Uppercase E Uppercase F Uppercase G Uppercase H Uppercase I Uppercase J Uppercase K Uppercase L Uppercase M Uppercase N...
  • Page 187 Table 52. 7-Bit Hebrew Character Set (continued) Decimal Value Code Hebrew letter DALETH Hebrew letter HE Hebrew letter WAW Hebrew letter ZAYIN Hebrew letter HET Hebrew letter TETH Hebrew letter YOD Hebrew letter KAPH (Final Form) Hebrew letter KAPH Hebrew letter LAMED Hebrew letter MEM (Final Form) Hebrew letter MEM Hebrew letter NUN (Final Form)
  • Page 188 Chapter Selecting the Character Set and Language Decimal Value Code Table 53. 7-Bit Turkish Character Set Symbol Name Space Small Letter i Without Dot Quotation Marks Number Sign Dollar Sign Percent Sign Small Letter g With Breve Apostrophe Open Parenthesis Closed Parenthesis Asterisk Plus...
  • Page 189 Table 53. 7-Bit Turkish Character Set (continued) Decimal Value Code Uppercase A Uppercase B Uppercase C Uppercase D Uppercase E Uppercase F Uppercase G Uppercase H Uppercase I Uppercase J Uppercase K Uppercase L Uppercase M Uppercase N Uppercase O Uppercase P Uppercase Q Uppercase R...
  • Page 190 Chapter Selecting the Character Set and Language Table 53. 7-Bit Turkish Character Set (continued) Decimal Value Code Symbol Name Lowercase c Lowercase d Lowercase e Lowercase f Lowercase g Lowercase h Lowercase i Lowercase j Lowercase k Lowercase l Lowercase m Lowercase n Lowercase o Lowercase p...
  • Page 191 Table 54. Greek Supplemental Character Set Decimal Value Code Reserved for Future Use Inverted Exclamation Point Cent Sign Pound Sign Reserved for Future Use Yen Sign Reserved for Future Use Paragraph Sign General Currency Sign Copyright Sign Feminine Ordinal Indicator Left Angle Quotation Mark Reserved for Future Use Reserved for Future Use...
  • Page 192 Chapter Selecting the Character Set and Language Table 54. Greek Supplemental Character Set (continued) Decimal Value Code Symbol Name Capital Greek Letter Alpha Capital Greek Letter Beta Capital Greek Letter Gamma Capital Greek Letter Delta Capital Greek Letter Epsilon Capital Greek Letter Zeta Capital Greek Letter Eta Capital Greek Letter Theta Capital Greek Letter Iota...
  • Page 193 Table 54. Greek Supplemental Character Set (continued) Decimal Value Code Small Greek Letter Gamma Small Greek Letter Delta Small Greek Letter Epsilon Small Greek Letter Zeta Small Greek Letter Eta Small Greek Letter Theta Small Greek Letter Iota Small Greek Letter Kappa Small Greek Letter Lambda Small Greek Letter Mu Small Greek Letter Nu...
  • Page 194 Chapter Selecting the Character Set and Language Table 55. Hebrew Supplemental Character Set Decimal Value Code 2C-2F 44-47 40-5F 64-95 Symbol Name Space Inverted Exclamation Mark Cent Sign Pound Sign Reserved for Future Use Yen Sign Reserved for Future Use Section Sign General Currency Sign Copyright Sign...
  • Page 195 Table 55. Hebrew Supplemental Character Set (continued) Decimal Value Code Hebrew letter DALETH Hebrew letter HE Hebrew letter WAW Hebrew letter ZAYIN Hebrew letter HET Hebrew letter TETH Hebrew letter YOD Hebrew letter KAPH (Final Form) Hebrew letter KAPH Hebrew letter LAMED Hebrew letter MEM (Final Form) Hebrew letter MEM Hebrew letter NUN (Final Form)
  • Page 196 Chapter Selecting the Character Set and Language Table 56. Turkish Supplemental Character Set Decimal Value Code Symbol Name Space Inverted Exclamation Mark Cent Sign Pound Sign Reserved for Future Use Yen Sign Reserved for Future Use Section Sign General Currency Sign Copyright Sign Feminine Ordinal Indicator Angle Quotation Mark - Left...
  • Page 197 Table 56. Turkish Supplemental Character Set (continued) Decimal Value Code Uppercase A with Acute Accent Uppercase A with Circumflex Accent Uppercase A with Tilde Uppercase A with Diaeresis Uppercase A with Ring Uppercase AE Diphthong Uppercase C with Cedilla Uppercase E with Grave Uppercase E with Acute Uppercase E with Circumflex Accent Uppercase E with Diaeresis...
  • Page 198 Chapter Selecting the Character Set and Language Table 56. Turkish Supplemental Character Set (continued) Decimal Value Code Symbol Name Lowercase a with Tilde Lowercase a with Diaeresis Lowercase a with Ring Lowercase ae Diphthong Lowercase c with Cedilla Lowercase e with Grave Lowercase e with Acute Lowercase e with Circumflex Accent Lowercase e with Diaeresis...
  • Page 199: Building Large Mathematical Symbols

    Building Large Mathematical Symbols Table 57 shows how to build large mathematical symbols. The characters are designed to connect to adjacent character cells at 10 cpi and 6 lpi to form technical characters that can occupy several vertically adjacent and/or horizontally adjacent character positions.
  • Page 200 Chapter Selecting the Character Set and Language Table 57. Component Characters (continued) Symbol Name/ Radical Hex Value Bottom Left Summation 32 Top Vertical Summation Connector 33 Bottom Vertical Summation Connector 34 Top Right Summation 35 Bottom Right Summation 36 Right Middle Summation 37 Square Curly...
  • Page 201: Bar Codes

    This chapter describes how to print bar codes using LG emulation control codes. In LG emulation, three escape sequences enable the printer to print bar codes. One escape sequence sets the bar code parameters, another starts bar code production, and the third sequence stops bar code printing.
  • Page 202 This does not apply to all UPC, EAN, and Postnet bar codes. • P3 sets the width for the quiet zone. The printer's quiet zone is a constant pixel value of 150 pixels (180 decipoints) or ten times the narrow bar, whichever is greater.
  • Page 203 • P7 defines the control character encoding character (CCEC). Any character within a range of 2/0 through 7/15 indicates the start of control character encoding. The CCEC is followed by a two-digit hexadecimal number equal to the ASCII value of the character to be encoded. To bar code the ESC character, enter the CCEC, then the ESC character's hexadecimal format.
  • Page 204 This does not apply to the Postnet bar code. IMPORTANT If the printer's logical form-length setting DECSLPP or DECSTBM (or the control panel form length setting) does not match the physical form length of the paper in use, then bar codes located near (on or across) the logical perforation will not print correctly.
  • Page 205: Start Bar Coding (Decbarc)

    The printer continues to encode bar codes until it receives the Stop Bar Code sequence. The printer begins to generate a bar code at the upper left- hand corner of the left quiet zone and ends at the lower right- hand corner of the right quiet zone.
  • Page 206: Bar Code Characteristics

    Chapter Bar Code Characteristics Bar Code Characteristics The printer supports fifteen bar code styles: • Code 39 (default or user-selectable settings) • Extended Code 39 • Interleaved 2 of 5 • EAN 8 • EAN 13 • Code 11 •...
  • Page 207: Start, Stop, And Center Code Characters

    The printer automatically computes the check digit and embeds it at the end of the bar code for the UPC, EAN, Code 11, Code 128, and Postnet bar codes.
  • Page 208: Multiple Bar Codes

    Chapter Bar Code Characteristics Multiple Bar Codes The printer can print multiple bar codes on the same line. To do this, use the following sequence: POSITION START Print (VPA) bar code bar code The above method prints multiple bar codes on one line by means of multiple passes.
  • Page 209: Bar Code Styles

    Bar Code Styles The following sections discuss the bar codes the printer can make. The characteristics of bar code styles, P1 - P9 values, and their defaults are also discussed. Code 39 In the Code 39 style, there are five dark bars and four light bars for a total of nine bars.
  • Page 210 Chapter Extended Code 39 Table 58. Extended Code 39 ASCII Character Set ASCII Code 39 ASCII < > Code 39 ASCII Code 39 ASCII ____ Code 39 %T %X %Y %Z...
  • Page 211: Code 11

    Code 11 In the Code 11 style, there are three dark bars and two light bars for a total of five bars. Both light and dark bars are coded to define the character. A narrow light/dark bar is assigned a binary 0 and a wide light/dark bar is assigned a binary 1.
  • Page 212: Codabar B/N

    Chapter Codabar b/n Codabar b/n Codabar b/n has four dark bars and three light bars for a total of seven bars. Both light and dark bars are coded to define the character. A narrow light/dark bar is assigned a binary 0 and a wide light/dark bar is assigned a binary 1. Codabar b/n has the following characteristics: •...
  • Page 213: Codabar D/E

    • Fixed length of seven characters per complete symbol. The first digit is the number system code, followed by six digits of data. The printer computes the check digit automatically and embeds it in the bar code as the eighth digit. All eight digits are encoded in the bar code symbol with four digits to the left of the CENTER code in odd parity, and four digits to the right of the CENTER code in even parity.
  • Page 214: Ean-13

    An EAN-13 number can have three different bar patterns depending on its position and number system code. The printer computes the check digit automatically and embeds it in the bar code as the thirteenth digit. All thirteen digits are printable in the human- readable line.
  • Page 215: Upc-A

    A variable length of characters per complete symbol. If an odd number of input digits is sent, the printer inserts a leading 0 to the data stream. This encodes in the bar code symbol and prints in the human-readable line.
  • Page 216: Upc-E

    Chapter UPC-E UPC-E UPC-E has two dark bars and two light bars for a total of four bars. Each light/ dark bar is 1 - 4 modules wide. A module is the smallest increment that can represent data. Zeros are represented by light modules and ones by dark modules.
  • Page 217 • The printer computes a modulo 10 checksum digit so that the six digits to be encoded in the bar code symbol are selected correctly. However, the check digit is not encoded as part of the bar code symbol and is not printed in the human-readable line.
  • Page 218: Postnet

    When the Plot Mode option is set to Enable from the control panel, Postnet barcodes are printed in a Data Processing density (120 x 75 dpi) in the following printing conditions: 1. Printer is currently in print mode. 2. Current density is 120 x 75 dpi. 3. Printer is in the portrait orientation.
  • Page 219 STARTING POSITION UPPER GUARD BAND QUIET START ZONE CODE LOWER GUARD BAND OPTIONAL READABLE DATA FIELD Figure 3. Code 128 Structure Start/Stop Codes Code 128 contains special characters which use unique start/stop codes to identify the leading and trailing end of the bar code. In the automatic mode, start and stop codes are generated automatically.
  • Page 220 In manual mode, you must supply the start code; if no start code is provided, the printer inserts a subset B start code. Stop codes and check digits are generated automatically in the manual mode.
  • Page 221 Table 60. Subset B and C Switching - In the automatic mode, the printer creates the briefest, most compact bar code by automatically switching from subset B to subset C when necessary.
  • Page 222 Start Code B: LT, subset C: 20 19 22 22 24 18, as determined by the value of the individual data characters in Table 60. NOTE: If a start code is not entered in the manual mode, the printer provides a subset B start code.
  • Page 223 Subset Subset Subset Value " " & & < < > > Table 60. Code 128 Character Set Subset Subset Subset Value ^ __ ^ __ FNC3 FNC3 FNC2 FNC2 SHIFT SHIFT CODE C CODE C CODE B FNC4 FNC4 CODE A FNC1 FNC1...
  • Page 224 Chapter Code 128 - USS Code 128 Examples The following commands generate the horizontal default ratio Code 128 bar code below in the automatic mode. In the Start Bar Code sequence (DECBARC), SP represents the ASCII space character (hex 20). The following command generated the Code 128 bar code below in the automatic mode using data of 22446688ABC123456.
  • Page 225 The command below generates the following vertical Code 128 bar code with data of 123@25% in manual mode, subset A. In the Start Bar Code sequence (DECBARC), SP represents the ASCII space character (hex 20). ESC[14;;;;;;;2;'q ESC%SP0>7123@25%ESC%@ The command below generates the same vertical Code 128 bar code in the automatic mode, subset B.
  • Page 226: Code 128 - Ucc

    This character is automatically generated by the printer. Code 128-UCC Example A Code 128-UCC bar code created on the printer is shown below. The label data are 11223344556677889. The DESBCA sequence selects UCC-128 with P1 = 15 and P9 = 2 for human readable characters. The DECBARC command starts the bar coding, and ROCS stops the bar coding.
  • Page 227: Density And Spacing Between Bar Codes

    Density and Spacing Between Bar Codes The following subsections describe the spacing between different combinations of horizontal and vertical spacings between the bar codes. Horizontal Bar Codes (0 and 180 Degree Rotation) The width of a horizontal bar code is a function of the number of characters in the bar code symbol, the style of the bar code symbol, and the ratio of wide light/dark bars to narrow light/dark bars.
  • Page 228: Horizontal Spacing Between Vertical Bar Codes

    Chapter Density and Spacing Between Bar Codes Vertical Bar Codes (90 and 270 Degree Rotation) The width of the rotated bar code is close in size to the height of the original horizontal bar code (they are not quite the same since the density changes). If the human-readable line is printed, it is accounted for in the total horizontal distance travelled.
  • Page 229: A Lg Emulation

    Introduction This appendix contains character address charts for the LG emulation which are available with the DEC LG Emulation printer. The first two tables show the character sets available in the Proprinter emulation mode. They can be selected at the control panel or by control codes from the host computer.
  • Page 230: A Lg Emulation Character Sets

    Appendix A LG Emulation Character Set Charts • ISO Norwegian/Danish • DEC Portuguese The LG Emulation Languages Substitution Table (page A-8) identifies specific character substitutions available in the selected language. Hex addresses not shown on the substitution tables use the character in the hex address shown on the standard character set matrix.
  • Page 231 1 1 1 0 1 1 1 1 Note: The character examples provided herein are representative and not exact replications generated by the printer. All characters are shown in 10 cpi; not all characters are available in all print modes. "...
  • Page 232 Note: The character examples provided herein are representative and not exact replications generated by the printer. All characters are shown in 10 cpi; not all characters are available in all print modes. 7-bit mode or bit 8 set to zero "...
  • Page 233 Control Codes Note: The character examples provided herein are representative and not exact replications generated by the printer. All characters are shown in 10 cpi; not all characters are available in all print modes. Each shaded box will print as a reverse question mark À...
  • Page 234 Appendix A LG Emulation Character Set Charts LG Emulation Languages Substitution Table 0023 0040 005B 005C 005D 005E LANGUAGE U.S. ASCII £ Great Britian £ à French § Ä German £ § Italian JIS Roman ¡ Spanish £ § Digital £...
  • Page 235 LG Emulation 94-Character Sets The following pages show the 94-Character Set charts (also referred to as code pages) for the LG emulation. The character sets are shown in Near Letter Quality (NLQ) print mode. These character sets may be selected using the configuration menus, described in the Setup Guide.
  • Page 236: U.s. Ascii

    Appendix A LG Emulation Character Set Charts U.S. ASCII U.S. ASCII...
  • Page 237: Dec Finnish

    DEC Finnish DEC Finnish...
  • Page 238: French

    Appendix A LG Emulation Character Set Charts French French...
  • Page 239: Dec French Canadian

    DEC French Canadian DEC French Canadian...
  • Page 240: German

    Appendix A LG Emulation Character Set Charts German German...
  • Page 241: Italian

    Italian Italian...
  • Page 242: Jis Roman

    Appendix A LG Emulation Character Set Charts JIS Roman JIS Roman...
  • Page 243: Dec Norwegian/Danish

    DEC Norwegian/Danish DEC Norwegian/Danish...
  • Page 244: Spanish

    Appendix A LG Emulation Character Set Charts Spanish Spanish...
  • Page 245: Dec Swedish

    DEC Swedish DEC Swedish...
  • Page 246: Dec Great Britain

    Appendix A LG Emulation Character Set Charts DEC Great Britain DEC Great Britain...
  • Page 247: Iso Norwegian/Danish

    ISO Norwegian/Danish ISO Norwegian/Danish...
  • Page 248: Dec Dutch

    Appendix A LG Emulation Character Set Charts DEC Dutch DEC Dutch...
  • Page 249: Dec Swiss

    DEC Swiss DEC Swiss...
  • Page 250: Dec Portuguese

    Appendix A LG Emulation Character Set Charts DEC Portuguese DEC Portuguese...
  • Page 251: Vt100 Graphics

    VT100 Graphics VT100 Graphics...
  • Page 252: Dec Supplemental

    Appendix A LG Emulation Character Set Charts DEC Supplemental DEC Supplemental...
  • Page 253: Dec Technical

    DEC Technical DEC Technical...
  • Page 254: Iso Katakana

    Appendix A LG Emulation Character Set Charts ISO Katakana ISO Katakana...
  • Page 255: 7-Bit Hebrew

    7-Bit Hebrew 7-Bit Hebrew...
  • Page 256: 7-Bit Turkish

    Appendix A LG Emulation Character Set Charts 7-Bit Turkish 7-Bit Turkish...
  • Page 257: Greek Supplemental

    Greek Supplemental Greek Supplemental...
  • Page 258: Hebrew Supplemental

    Appendix A LG Emulation Character Set Charts Hebrew Supplemental Hebrew Supplemental...
  • Page 259: Turkish Supplemental

    Turkish Supplemental Turkish Supplemental...
  • Page 260: Lg Emulation 96-Character Sets

    Appendix A LG Emulation 96-Character Sets LG Emulation 96-Character Sets The following pages show the 96-Character Set charts (also referred to as code pages) for the LG emulation. The character sets are shown in Near Letter Quality (NLQ) print mode. These character sets may be selected using the configuration menus, described in the Setup Guide.
  • Page 261: Iso Latin 1

    ISO Latin 1 ISO Latin 1...
  • Page 262: Iso Latin 2

    Appendix A LG Emulation 96-Character Sets ISO Latin 2 ISO Latin 2...
  • Page 263: Iso Latin 5

    ISO Latin 5 ISO Latin 5...
  • Page 264: Iso Latin 9

    Appendix A LG Emulation 96-Character Sets ISO Latin 9 ISO Latin 9...
  • Page 265: Iso Cyrillic

    ISO Cyrillic ISO Cyrillic...
  • Page 266: Iso Greek

    Appendix A LG Emulation 96-Character Sets ISO Greek ISO Greek...
  • Page 267: Iso Hebrew

    ISO Hebrew ISO Hebrew...
  • Page 268 Appendix A LG Emulation 96-Character Sets...
  • Page 269: B Interface Configuration With The Vms Operating

    Parallel Interface When using the parallel interface with the VMS operating system, configure the printer with the SET PRINTER command, as shown below: Printer LCA0:, device type unknown, is on-line, allocated record-oriented device, carriage control, device is spooled through an intermediate device, error logging is enabled.
  • Page 270: Serial Interface

    Line_Editing Overstrike_editing No_Secure_server No_Disconnect No_SIXEL_Graphics No_Soft_Characters No_ANSI_CRT No_Regis No_Edit_mode No_DEC_CRT Device spooled to _DUAL: * Match baud rate to printer settings. Owner: SYMBIONT_0001 Username: SYSTEM LFfill: 0 Width: 132 Parity: None CRfill: 0 Page: Type_ahead Lowercase No_Remote Form No_Autobaud No_Altypeahd...
  • Page 271: C Type Family Ids, Font Ids, Font File Ids

    “Built-In" Font File IDs This appendix explains the values used in the font file identification strings (IDs) for the font files stored in the printer. It also lists all the font file IDs available in LG emulation mode. The Font File ID Field Definitions table on page C-3 lists and defines all the values in a font file ID.
  • Page 272: Font File Id Field Definitions

    Appendix C Font File ID Field Definitions Font File ID Field Definitions Field Bytes 1 to 7 Font ID 9 to 11 13 to 14 17 to 18 19 to 21 22 to 25 26 to 27 NOTE: This field is used only for the file name and not to distinguish between a sixel file and a binary file.
  • Page 273: Type Family Ids

    Type Family IDs The type families available in LG emulation mode have the following names and identification strings: Type Family Name Compressed Print Correspondence Plot Correspondence Print Data Processing Draft Plot High Speed Draft Print LG Near Letter Quality Low Density Plot OCR A OCR B The D in the ID string for DCRRSPN means the name Correspondence Print...
  • Page 274 Appendix C Font File IDs Type Character Pitch Size 1. Type Family Name: DEC Built-in 1 (Data Processing) U.S. ASCII DEC Supp. DEC Tech. ISO Latin 2 ISO Cyrillic ISO Greek ISO Hebrew ISO Latin 5 VT 100 7-Bit Hebrew 7-Bit Turkish Greek Suppl.
  • Page 275 Type Character Font File ID (entire string) Pitch Size Font ID (First 16 characters) DEC Built-in 1 continued (Data Processing) U.S. ASCII DBULTN1 L 03C K 00 G G 00 01U ZZZZ 02 Z 0 0 0 DEC Suppl. DBULTN1 L 03C K 00 G G 00 01O ZZZZ 02 Z 0 0 0 DEC Tech.
  • Page 276 Appendix C Font File IDs Type Character Pitch Size 2. Type Family Name: Correspondence Print U.S. ASCII DEC Supp. DEC Tech. ISO Latin 2 ISO Cyrillic ISO Greek ISO Hebrew ISO Latin 5 VT 100 7-Bit Hebrew 7-Bit Turkish Greek Suppl. Hebrew Suppl.
  • Page 277 Type Character Font File ID (entire string) Pitch Size Font ID (First 16 characters) Correspondence Print continued U.S. ASCII DCRRSPN L 02S K 00 G G 00 01U ZZZZ 02 Z 0 0 0 DEC Supp. DCRRSPN L 02S K 00 G G 00 01O ZZZZ 02 Z 0 0 0 DEC Tech.
  • Page 278 Appendix C Font File IDs Type Character Pitch Size 3. Type Family Name: OCR A U.S. ASCII 4. Type Family Name: OCR B U.S. ASCII 5. Type Family Name: Compressed Print 6.67 U.S. ASCII 6.67 DEC Supp. 6.67 DEC Tech. 6.67 ISO Latin 2 6.67...
  • Page 279 Type Character Pitch Size Compressed Print continued 13.3 U.S. ASCII 13.3 DEC Supp. 13.3 DEC Tech. 13.3 ISO Latin 2 13.3 ISO Cyrillic 13.3 ISO Greek 13.3 ISO Hebrew 13.3 ISO Latin 5 13.3 VT 100 7-Bit Hebrew 13.3 7-Bit Turkish 13.3 13.3 Greek Suppl.
  • Page 280 Appendix C Font File IDs Type Character Pitch Size 7. Type Family Name: LG Near Letter Quality U.S. ASCII DEC Supp. VT100 ISO Latin 1 U.S. ASCII DEC Supp. DEC Tech. VT100 ISO Latin 1 VT100 Italic ASCII Italic DEC Supp. Italic ISO Latin 1 Ital.
  • Page 281: D Print Samples

    LG control sequences are described in Chapter 2, “LG Emulation Control Codes." Bar code control sequences are described in Chapter 4, “Bar Codes." NOTE: The print samples in this appendix were printed on a DEC LG Emulation printer. Creating Block Characters The block character examples use the following escape sequences: ESC[P1;P2'r Set Block Character Parameters (DECBCS)
  • Page 282 Appendix D Creating Block Characters Figure 4. Block Characters...
  • Page 283: Bar Codes

    Bar Codes Bar code escape sequences determine the type of bar code, its attributes, and start and stop bar code printing. Bar code escape sequences are defined in Chapter 4. The bar code examples in this section use the following escape sequences: CSIP1;P2;...
  • Page 284 Appendix D Bar Codes Figure 6. Code 39 Bar Code...
  • Page 285: Logos

    Logos The following command sequences create the logo graphic shown in Figure D-4: DCS0;1&t400016Square00086 250;1;1500\ 333;1;250;1000;250\ 333;1;250;333;333;333;250\ 333;1;250;1000;250\ 250;1;1500\ CSI1&} Figure 7. Box Logo...
  • Page 286: Sixel Graphics

    Appendix D Sixel Graphics Sixel Graphics The command sequences listed below create the sixel graphics output shown in Figure D-5: Figure 8. Sixel Graphic...
  • Page 287: Forms

    Forms The memo form shown in Figure D-6 was created with the program illustrated below. ESCcDCS0;3&p04Memo%@00234 %1B[2g%1B[11l%1B[5;127s%1B[2;66r%1B[45u ********************%0D%0A * d i g i t a l *%09INTEROFFICE MEMO%0D%0A ********************%0D%0A%0A TO:@%09DATE:@ %09FROM:@ %09DEPT:@ %09EXT: @ %09LOC/MAIL STOP:@ %09ENG.NET.:@%1B[ 2e SUBJECT:@%0D%1B[ 2e DCS0;64&rMemoSTTest and Verification@20 March 1995 @Jane Doe @Engineering...
  • Page 288 Appendix D Forms Figure 9. Memo Form...
  • Page 289 The payroll deduction form shown in Figure D-7 (see page D-12) was created with the program illustrated below. CSI 300 ; 5000s CSI300;6300r DCS 0 ; 3&p07Payroll^~01367 ^1B [11h^1B [7 I ^1B [ 0 ; 200 ; 1100 ; 4600 ; 5! ^1B [ 0;...
  • Page 290 Appendix D Forms ^1B [ 0 ; 300 ; 4800 ; 2000 ; 10! ^1B [ 2300 ` ^1B[ 4790d Date ^1B [ 0 ; 2600 ; 4800 ; 1000 ;'10! ^1B [ 1050 `^1B [ 3050dTax Status ^1B [ 650 `^1B [ 3400dSingle ^1B [ 650 `^1B [ 3700dMarried ^1B [ 650 `^1B [4000dMarried/higher single rate ^1B [ 300 `^1B[5200dEmployee Signature...
  • Page 291 Figure 10. Payroll Deduction Form...
  • Page 292: Vertical Format Unit (Vfu)

    Appendix D Vertical Format Unit (VFU) Vertical Format Unit (VFU) The following command sequences create the vertical formatting shown in Figure D-8: ESC[<1hA@@@@@B@@@@@D@@@@` ESC[<1l ESC[002&y ESC[5`Channel 3 line 7 ESC[900&y ESC[5`TOF line 1 ESC[002&y ESC[25`Channel 3 line 7 ESC[901&y ESC[25`Channel 2 line 4 ESC[011&y ESC[5`Bottom of form CR FF Figure 11.
  • Page 293: E Glossary

    232 serial lines, the baud rate equals the data flow rate in bits per second (bps). To communicate properly, a printer must be configured to operate at the same baud rate as its host computer. Contraction of binary digit. A digit in the binary (base 2) number system: 0 or 1.
  • Page 294 Medium, normal, or book weight refer to the character weight used in this sentence. Two or more bytes that instruct the printer to perform a special function. A control sequence begins with the control sequence introducer, CSI, in an 8-bit data environment.
  • Page 295 M, usually the widest character in a set.) emulation Refers to the ability of a printer to execute the commands of another printer language or protocol. A font width term equal to one half em. enable To activate or set to ON.
  • Page 296 Appendix E Glossary font font name font pattern font, landscape font, monospaced font, portrait font, proportional font weight font width GL Characters GR Characters The complete set of a given size of type, including characters, symbols, figures, punctuation marks, ligatures, signs, and accents. To fully describe a font, seven characteristics are usually specified: 1) Type family 2) Spacing (proportional or monospaced)
  • Page 297 Abbrev. for light-emitting diode. The printer control panel has LEDs that indicate the status of the printer to the operator. logical link The parameters that specify data transfer, control, or communication operations.
  • Page 298 The printing state. When the printer is on-line, it is ready to receive data and control commands from the host computer, and prints the data immediately. “On- line”...
  • Page 299 A set of rules or conventions governing the exchange of information between computer systems. For computer printers, a protocol is the coding convention used to convey and print data. A printer protocol This is 11 point type. This is 6 point type.
  • Page 300 (dpi) horizontally and vertically. Return from Other Coding System: A control sequence that allows you to return the printer to the previous emulation from any point in the printer's configuration. Acronym for read-only memory. Programs, instructions, and routines permanently stored in the printer.
  • Page 301 The pins print dots according to programmed matrix patterns. Although data are sent to the printer interface either a serially or in parallel, the printhead receives the data serially in order to form each character. The DEC LG Emulation printer also...
  • Page 302 To store data to memory (RAM) or to mass storage (hard disk, floppy diskette, etc.). A character transmitted by the printer announcing that the printer is off-line or the buffer is almost full (DC3 - 13 Hex). A character transmitted by the printer announcing that the printer is on-line or the buffer is almost empty (DC1 - 11 Hex).
  • Page 303 Active Column and Active Line (Cursor Motion) , 89 Application Program Commands , 135 ASCII Control Characters , 134 Control Codes , 23 Attributes Character , 116 Turn Off All , 122 Autowrap Mode (DECAWM) , 43 Backward Compatibility , 85 Bar Code Characteristics , 208 Bar Code Styles , 211 Codabar a/t , 213...
  • Page 304 Tab , 98 Codabar a/t , 213 Codabar b/n , 214 Codabar c/* , 214 Codabar d/e , 215 Code V printer emulation , 15 Code 11 , 213 Code 128 automatic mode , 222 manual mode , 222 manual mode operation , 222...
  • Page 305 Delete Forms Sequence (DECDFM) , 73 Density, Graphics (setting) , 52 Density, Plot (setting) , 51 Device Control Strings , 135 Device Status Requests (DSRs) and Printer Responses , 105 Diagnostic features , 16 Documentation overview of each chapter , 13...
  • Page 306 Index Hebrew Supplemental Character Set , 196 Horizontal Tab Stops, Set , 96, 97 Horizontal Position Backward (HPB) , 92 Relative (HPR) , 91 HPA , 91 HPB , 92 HPR , 91 HTS , 97 IBM Proprinter Emulation Select via DECIPEM , 142 Select via SOCS , 143 Identification, Product , 102, 104 Important notice description , 13...
  • Page 307 PFS , 82 PGL (Printronix Graphics Language) emulation , 15 Pitch Select Mode (DECPSM) , 44 PLD , 95 Plot Density, Setting , 51 PLU , 94 Pn, Ps See Parameters , 30 Position Unit Mode (PUM) , 46 Postnet , 220...
  • Page 308 SSU , 48 Start Forms Sequence (DECIFM) , 72 States, Default Values and LG emulation , 146 Status Printer, Requests and Reports , 104 Stop Bar Coding , 207 String Introducer , 127 Subscripting , 95 Superscripting , 94 Supplemental Graphic Character Set, DEC , 176...
  • Page 310 Printronix, Inc. 14600 Myford Road P.O. Box 19559 Irvine, CA 92623-9559 Phone: (714) 368-2300 Fax: (714) 368-2600 Technical Support: (714) 368-2686 Printronix Nederland BV P.O. Box 163, Nieuweweg 283 NL-6600 Ad Wijchen The Netherlands Phone: (31) 24 6489489 Fax: (31) 24 6489499 Printronix A.G.

Table of Contents