LG06 / LG12 Text and Graphics Printers User’s Manual digi tal Order Number: FW–LG0A1–A8 Digital Equipment Corporation • Merrimack, NH 03054
Für Bundesrepublik Deutschland For the Federal Republic of Germany Pour la République féderale d’Allemagne Bescheinigung des Herstellers/Importeurs: Heirmit wird bescheinigt, daß die Einrichtung in Übereinstimmung mit den Bestimmungen der DBP–Verfügung 1046/84, Amtsblatt Nr. 163/1984, un Grenzwertklasse “B” der VDE0871, funkenstört ist. Der Deutschen Bundespost (DBP) wurde das Inverkehrbringen dieses Gerätes angezeigt und die Berechtigung zur Überprüfung der Serie auf Einhaltung der Bestimmungen eingeräumt.
1st Edition, April 1993 Digital Equipment Corporation 1993 All Rights Reserved The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. Printed in U.S.A.
Table of Contents 1 Introduction About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 The LG06 / LG12 Text and Graphics Printers . . . . . . . . . . . . . . . . . . . . . 1–3 Printer Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3 Printer Command and Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3 Output Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The Operator Control Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–5 Configuring the Printer with the Control Panel . . . . . . . . . . . . . . . . . 3–5 Switches and Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7 Message Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7 Status Lamps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Interfaces Printer Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–2 Dataproducts Parallel Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–3 Dataproducts Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–3 Dataproducts Parallel Interface Configuration . . . . . . . . . . . . . . . . . . 5–4 Centronics Parallel Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ASCII Control Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–6 Additional Control Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–6 8–Bit to 7–Bit Control Code Conversion . . . . . . . . . . . . . . . . . . . . . . 7–11 7–Bit to 8–Bit Control Code Conversion . . . . . . . . . . . . . . . . . . . . . 7–11 Escape Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–12 Escape Sequences . . . . . . .
IBM Proprinter Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–2 Selecting Epson Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–3 Default Values and States, Epson Emulation . . . . . . . . . . . . . . . . . . . . . . . 9–4 Epson Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–5 Escape Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
APPENDICES A Bar Codes Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–3 Select Bar Codes Attributes Sequence (DECSBCA) . . . . . . . . . . . . . . . . A–3 Start Bar Coding (DECBARC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–6 Stop Bar Coding (Return From Other Coding System: ROCS) . . . . . . . . A–6 Bar Code Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Acoustic Noise Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–4 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–4 Input Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–4 Power Rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–5 Data Input Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Low Density Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E–8 Correspondence Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E–8 LG Near Letter Quality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E–8 F Print Samples Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F–2 Creating Block Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Introduction Chapter Contents About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 The LG06 / LG12 Text and Graphics Printers . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3 Printer Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3 Printer Command and Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3 Output Control . . . . . . . . . . .
About This Manual This manual is designed so you can quickly find the information you need to operate and maintain your LG06 or LG12 printer. How to Locate Information • Use the Table of Contents at the front of the manual. • Use the Chapter Contents listed on the first page of each chapter. • Use the alphabetical Index at the back of the manual.
Printing Conventions in This Manual Switches, indicators, and switch positions labeled on the printer are printed uppercase. Example: Press the ON LINE switch. Messages that appear on the control panel display are printed in initial capital letters and set off with quotation marks (except for conjunctions, which are all lowercase). Example: “Save Config” appears on the message display.
Output Control: • Five printing modes — 1) Data Processing (DP) 2) Correspondence 3) High Speed (HS) 4) OCR–A (10 cpi only) 5) OCR–B (10 cpi only) • Selectable alternate horizontal and vertical dot densities enable you to tailor output to a wider variety of printing requirements • Selectable forms length • Character–by–character attribute specification— 1) Selectable pitch: normal, expanded, and compressed 2) Emphasized (shadow) print 3) Bold print 4) Italic print 5) Overscoring 4) Single underline 6
Diagnostics: • Built–in diagnostic self–tests • Configuration printout • Test pattern printout • Data stream hexadecimal code printout Line Matrix Printing The LG06 and LG12 are line matrix impact printers: they create characters by printing patterns of ink dots on paper, an entire line at a time. The dot pattern of each text character is stored in printer memory on a logical grid called the dot matrix. (See Figure 1–1.
DIRECTION OF SHUTTLE MOVEMENT DOT ROW CHARACTER LINE 1 2 3 4 5 6 7 8 9 10 11 12 1 2 PAPER ADVANCES START PAPER FEED * * * PAPER ADVANCES SPACE 1 HAMMER PRINT SPAN * ** 1 HAMMER PRINT SPAN USED FOR LOWERCASE DESCENDER ONLY USED FOR UNDERLINE AND LOWERCASE DESCENDER Figure 1–2. Dot Matrix Line Printing Printing Speed The speed of text printing is measured in lines per minute (lpm).
2 Installation Chapter Contents Before You Begin... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–2 Power Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–2 Select a Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–2 Remove the Shipping Restraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Before You Begin... Read this chapter carefully before installing and operating the printer. The LG06 and LG12 are easy to install, but for your safety, and to protect valuable equipment, perform all the procedures in this chapter in the order presented. Power Requirements Connect the printer to a power outlet rated at 100–120 Vac or 200–240 Vac at 50 or 60 Hz. The printer automatically senses and adjusts itself to conform to the correct voltage range.
LG06 146.1 cm (57.5 in.) 102.5 cm (40.3 in.) 57.2 cm (22.5 in.) 68.4 cm (26.9 in.) 191.5 cm (75.4 in.) 68.6 cm (27.0 in.) 68.6 cm (27.0 in.) LG12 106.7 cm (42 in.) 149.2 cm (58.75 in.) 58.4 cm (23 in.) 66 cm. (26 in.) 61.9 cm. (24.38 in.) 86.4 cm (34 in.) Figure 2–1.
Remove the Shipping Restraints WARNING To prevent possible injury, do not connect the AC power source before removing the shipping restraints. If the power source has been connected, disconnect it before performing the shipping restraint removal procedures. WARNUNG Um mögliche Verletzungen zu vermeiden, darf die Netzverbindung erst nach dem Entfernen der Transportbefestigungen hergestellt werden.
LG06 Shipping Restraints Tie Wrap Paper Fence Outer Foam Pad (Left) Tie Wrap Outer Foam Pad (Right) Figure 2–2. LG06: Tie Wraps and Outer Foam Pads Remove the Tie Wraps and Outer Foam Pads Installation 1. Raise the printer cover. 2. Cut and remove the tie wraps securing the paper fence. (See Figure 2–2.) 3. Remove the outer foam pads.
Platen Protective Foam Tractor Support Shaft Tractor Gate Tractor Lock Forms Thickness Lever Tractor Gate Figure 2–3. LG06: Platen Protective Foam Remove the Platen Protective Foam 2–6 1. Open the tractor gates. Push the tractor locks down. Move the tractors outward as far as they will go. (See Figure 2–3.) 2. Rotate the forms thickness lever away from you as far as it will go; this is the fully open position. 3.
Hammer Bank Protective Foam Figure 2–4. LG06: Hammer Bank Protective Foam Remove the Hammer Bank Protective Foam 1. Installation Rotate the hammer bank protective foam toward the front of the printer and remove it from between the ribbon mask and hammer bank. (See Figure 2–4.
Protective Film Figure 2–5. LG06: Protective Film Remove the Protective Film 1. 2–8 Carefully peel the protective film off the control panel. (See Figure 2–5.
Tie Wrap Tie Wrap Plastic Bag Figure 2–6. LG06: Releasing Paper Chains Release LG06 Paper Chains 1. Open the rear cabinet door. 2. Cut the tie wraps and release the paper chains from the bags at the rear of the printer frame. Remove the tie wraps and bags. (See Figure 2–6.) 3. Make sure each chain hangs freely, with no kinks or knots. 4. Close the rear cabinet door.
LG12 Shipping Restraints Printer Cover Foam Blocks Tractor Gates Forms Thickness Lever Foam Pad Paper Guide Figure 2–7. LG12: Removing Tie Wraps, Foam Pad and Blocks Remove the Tie Wraps, Foam Pad, and Foam Blocks 1. Open the printer’s top cover. 2. Untie the two tie wraps that hold the two foam blocks near the back of the printer. Remove the foam blocks. Set packing materials to the side. 3. Open the left and right tractor gates.
Paper Fence Paper Tent Figure 2–8. LG12: Installing the Paper Tent Install the Paper Tent Installation 6. Open the back cover. 7. Remove the bubble packaging and cardboard piece from the paper tent. 8. Place the tent inside the printer.
Front Tie Wrap Tie Wrap Figure 2–9. LG12: Releasing Paper Chains Release LG12 Paper Chains 1. Open the back cover if it is closed. 2. Cut the tie wraps and release the paper chains from the bags at the rear of the printer frame. Remove the tie wraps and bags. 3. Make sure each chain hangs freely, with no kinks or knots. 4. Close the back cover.
Connect the Interface and Power Cables LG06 Centronics Connector* LG12 Dataproducts Connector* EIA–232 Serial Connector* Connector Cover Power Switch AC Power Connector NOTE: Refer to Chapter 5, Interfaces, for descriptions of the connectors and the pin assignments. * Suggested DEC cables: Dataproducts parallel BC27A–30 BC27L–30 Centronics parallel BC19M–10 Serial BC22D–25 Figure 2–10. Cable Connections Installation 1.
Test the Printer NOTE: Control panel switches and indicators are described in Chapter 3, “Operating the Printer.” To test your printer: 1. Turn the printer on (page 3–3). 2. Install the ribbon (page 3–20). 3. Load full–width (132 column) computer paper (page 3–10). 4. Set top–of–form (page 3–16). 5. Press the ON LINE switch to place the printer off–line. “Off–line/Emulation” displays. 6. Open the printer cover.
17. Examine the print quality: Printed characters should be fully formed and of uniform density. If the test does not run or characters appear malformed, contact your authorized service representative. 18. Press the ON LINE switch to place the printer on–line.
2–16 Installation
3 Operating the Printer Chapter Contents Turning the Printer On and Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–3 Operating States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–4 On–Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–4 Off–Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UP, DOWN, NEXT, and PREV Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–9 Micro–Stepping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–10 Loading Paper in an Empty Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–10 Loading Paper After a “Paper Out” Message . . . . . . . . . . . . . . . . . . . . . . . . . . 3–12 Unloading Paper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Turning the Printer On and Off To Turn the Printer On: 1. Make sure the printer is installed and plugged into a power source in accordance with the instructions in Chapter 2, Installation. 2. Set the power switch to the on position. (See Figure 3–1.) To Turn the Printer Off: 1. Make sure all print jobs are finished. 2. Set the power switch to the off position. (See Figure 3–1.) LG06 LG12 ON OFF On Off Figure 3–1.
Operating States On–Line On–line refers to the printing state. When the printer is on–line, it is ready to receive data and control commands from the host computer, and it prints the data immediately. The message display on the operator control panel displays “On–Line.” The printer must be on–line to receive data from the host computer. Off–Line Off–line refers to the non–printing state.
The Operator Control Panel The operator control panel is at the front of the printer. (See Figure 3–2.) With the printer cover closed, the status lamps, message display, and four switches governing normal printer operation are accessible. With the printer cover raised, eight more switches are accessible. The eight additional switches are used to set printer operating parameters, run self tests, and set paper position. You also use the operator control panel to clear a fault condition and resume printing.
LG06 LG12 Printer Cover Operator Control Panel Message Display Status Lamps CLEAR UP R/S PREV NEXT SET TOF ON LINE FF LF VIEW ENTER DOWN RAISE PRINTER COVER TO ACCESS THESE SWITCHES Figure 3–2.
Switches and Indicators Control panel switches allow you to change printer operating states and other tasks. The status lamps illuminate to signal various operating conditions. This section describes the function of every switch and indicator on the operator control panel. See Figure 3–2 for the locations of control panel switches and indicators. Message Display The message display is a 2–line by 16–character alphanumeric liquid crystal display (LCD).
FF (Form Feed) Switch This switch is active only when the printer is off–line. Press FF to advance the paper to the top–of–form of the next page. Any unprinted data remaining in the print buffer will print before the paper moves. This switch is not active during a fault condition. LF (Line Feed) Switch This switch is active only when the printer is off–line. Press this switch to advance the paper to the top of the next print line.
• With “Off–line/Print Config” showing on the display, press R/S to print out the current configuration. (Refer to Chapter 4, Printer Configuration.) SET TOF (Top–Of–Form) Switch The SET TOF switch functions only when the printer is off–line. It moves the paper backwards from the top–of–form notch to the print station. (See page 3–16.) This switch is not active during a fault condition.
displayed value into printer RAM. This switch can only be unlocked when the printer is off–line. Micro–Stepping Micro–steps are small vertical paper movements you can make at the control panel by pressing a key combination. In Digital emulation, paper will move 1/600 inch. In Proprinter and Epson emulations, paper will move 1/72 inch. To micro–step the paper, take the printer off–line and simultaneously press the LF and NEXT switches.
LG06 Tractor Gate Ribbon Mask (Behind shuttle cover. Not shown.) Horizontal Adjustment Knob Tractor Gate Tractor Sprocket Tractor Lock Forms Thickness Lever LG12 Horizontal Adjustment Knob Tractor Gate Ribbon Mask (Behind shuttle cover. Not shown.) Tractor Gate Tractor Sprocket Tractor Lock Forms Thickness Lever Paper Scale Figure 3–3.
Loading Paper After a “Paper Out” Message NOTE: This procedure allows you to load paper without having to reset the top–of–form. 1. Raise the printer cover. 2. Raise the forms thickness lever all the way. (See Figure 3–4.) 3. Press the CLEAR switch to silence the alarm. 4. Open the floor cabinet front door and align the paper supply with the label on the floor of the cabinet. 5.
LG06 Ribbon (Behind shuttle cover. Mask Not shown.) Tractor Gate Horizontal Adjustment Knob Perforation Tractor Gate Tractor Sprocket Tractor Lock Forms Thickness Lever LG12 Perforation Horizontal Adjustment Knob Tractor Gate Ribbon (Behind shuttle cover. Mask Not shown.) Tractor Gate Tractor Sprocket Tractor Lock Forms Thickness Lever Paper Scale Figure 3–4.
Unloading Paper 3–14 1. If the printer is on–line, press the ON LINE switch to place it off–line. Raise the printer cover. 2. Open the printer cabinet front door and tear off the paper near the paper slot. 3. Fully raise the forms thickness lever. (See Figure 3–5.) When it is completely opened, you will hear a beep and a fault condition exists. 4. Open both tractor gates and remove the paper from the tractor sprockets. 5. Gently pull the paper up through the paper slot.
LG06 Ribbon Mask Tractor Gate Horizontal Adjustment Knob (Behind shuttle cover. Not shown.) Perforation Tractor Gate Tractor Sprocket Tractor Lock Forms Thickness Lever LG12 Perforation Horizontal Adjustment Knob Tractor Gate Ribbon Mask (Behind shuttle cover. Not shown.) Tractor Gate Tractor Sprocket Tractor Lock Forms Thickness Lever Paper Scale Figure 3–5.
Setting Top–of–Form Top–of–form (TOF) determines where the first line of print will appear. (One–half inch below the paper perforation is a commonly used location.) Unless otherwise configured, the printer assumes you are using paper that is 11 inches long. (To select other form lengths at the control panel, refer to Chapter 4, Printer Configuration.) Refer to Figure 3–6 and follow these steps: 1. If the printer is on–line, press the ON LINE switch to place it off–line. Raise the printer cover. 2.
LG06 TOF Indicator Vertical Position Knob Forms Thickness Lever LG12 TOF Indicator Vertical Position Knob Forms Thickness Lever Figure 3–6.
Selecting a Font NOTE: The procedure below selects a font in Digital emulation. The procedure is the same for the Proprinter XL and Epson FX emulations, but the font options differ. (Both procedures are charted on the Configuration Diagram in Chapter 4, Printer Configuration.) To select a font from the control panel: 1. If the printer is on–line, press the ON LINE switch to place it off–line. 2. Raise the printer cover. 3. Press UP and DOWN simultaneously to unlock the ENTER switch.
12. Close the printer cover. 13. Press the ON LINE switch to place the printer on–line. 14. To make the font selection occur automatically when the printer is turned on, save the printer configuration. (Refer to Chapter 4, Printer Configuration.) NOTE: You can also select a font with control codes, which are discussed in Chapters 7, 8, and 9. Sending these codes overrides the font selected at the control panel.
Removing and Installing the Ribbon NOTE: Ribbon specifications are in Appendix B. 1. If the printer is on–line, press the ON LINE switch to place it off–line. 2. Raise the printer cover. 3. Remove the old ribbon: a. Fully raise the forms thickness lever (See Figure 3–7). b. Unlatch both ribbon spools and carefully lift them off the hubs. Raise the ribbon out of the ribbon path. Discard the ribbon and spools. 4. Install the new ribbon: a.
LG06 Ribbon Path Diagram Ribbon Spool Shuttle Cover Hub Latch Ribbon Hub Forms Thickness Lever Ribbon Guide Ribbon Spool LG12 Ribbon Deck Forms Thickness Lever Ribbon Path Diagram Ribbon Guide Hub Latch Ribbon Hub Figure 3–7.
Clearing Paper Jams 1. Open the floor cabinet front door and tear off the paper near the paper slot. 2. Open the printer cover. 3. Fully raise the forms thickness lever. 4. Open both tractor gates and remove the paper from the tractor sprockets. 5. Open the paper fence. 6. Gently pull the paper up through the paper slot. Slide the paper over the paper guide assembly and down into the paper stacking area in the rear of the cabinet. 7. Check the paper path for bunched or torn paper.
LG06 Paper Guide Assembly Paper Fence Tractor Gate Vertical Position Knob Tractor Sprockets Forms Thickness Lever LG12 Paper Fence Paper Guide Assembly Tractor Gate Forms Thickness Lever Vertical Position Knob Tractor Sprockets Figure 3–8.
3–24 Operating the Printer
4 Printer Configuration Chapter Contents Printer Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–2 Configuration Printout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–2 Configuration Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–4 Saving Configuration Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Printer Configuration IMPORTANT Configuration directly affects printer operation. Do not change the configuration of your printer until you are thoroughly familiar with the procedures in this chapter. Configuration refers to the operating properties that define how the printer responds to signals and commands received from the host computer. These properties, the configuration parameters, are set to match the operating characteristics of the host computer system.
7. Press the ON LINE switch to place the printer on–line. P4980A FONT Version 2.902B, 24–SEP–1992 Part No. 151029 CCB RTPU Version 2.05C, 01–Apr–1993 Part No. 151262 600–9 PFC Version 4.00E, 02–Apr–1993 Part No. 134727 P9/CCB RSP Version 3.01A, 01–Apr–1993 Part No. 134726 CCB–DX DPU Version 2.00C, 04–Mar–1993 Part No. 134710 Emulation LG06 Font Style DP Character Set DEC Multinat’l 10 U.S. ASCII Vert. Forms Bot Frm Top Mrg Bot Mrg Horiz.
Configuration Procedure Use the following procedure to configure the printer from the control panel: 1. Obtain a configuration printout (page 4–2). 2. Determine the parameter values that must be changed to meet your requirements. The Configuration Diagram (page 4–8) shows all menus and parameter values. 3. Take the printer off–line by pressing the ON LINE switch. Open the printer cover. NOTE: The ENTER switch must be unlocked to change a configuration value.
11. Close the printer cover. 12. Press the ON LINE switch to place the printer on–line. Your selected values are now active and will remain set as long the printer is not reset or cleared. Saving Configuration Values When you save a set of configuration values they become the power–up default configuration. To save a set of configuration values: 1. If the printer is on–line, press the ON LINE switch to take it off–line. “Off–line Emulation” appears on the message display. 2. Open the printer cover. 3.
Loading Configuration Values Configuration values saved using the Save Config menu (page 4–5) become the power–up default configuration. Although the factory settings remain permanently stored in printer memory, they are overridden by the last set of configuration values saved. The Load Config menu then gives you the choice of loading either the saved or the factory configuration values. NOTE: If you have not saved a set of configuration values, this procedure loads the factory value set.
Changing Printer Emulations Emulation refers to the ability of the LG06 and LG12 to execute the commands of a Digital printer, an IBM Proprinter III XL, or an Epson FX 850/1050 series printer. The Digital emulation is the default mode when the printer power is turned on, but you can select Proprinter or Epson emulations at any time. To change printer emulations: 1. If the printer is on–line, press the ON LINE switch to place it in the off–line state. “Off–line Emulation” appears on the message display. 2.
Configuration Diagram The Configuration Diagram is a series of block diagrams showing the configuration menu structure and the parameter options available in each menu. The Configuration Diagram begins on the next page. How to Read the Configuration Diagram Boxes on the diagram represent the message display. Messages that appear on the display are printed inside the boxes. The letters outside the boxes represent control panel switches. When a switch is pressed, an arrow points to the displayed result.
Printer Configuration 4–9 P U U PAGE 4–12 D Emulation Proprinter XL U P N U PAGE 4–15 C D Emulation Epson FX U PAGE 4–17 U OL PAGE 4–16 D Off–Line Interface F U N P K D PAGE 4–10 N P OL Off–Line Print Engine B U * N P A D Emulation LG06 D Off–Line Emulation OL On–Line P N N P N P * U P PAGE 4–20 D E Emulation Hex Dump U Idioma en Pant Español N Lang.
4–10 Printer Configuration FROM PAGE 4–9 N A P D U U Style N DP 10 6* DP 10 8 DP 12 6 DP 12 8 DP 15 6 DP 15 8 DP 15 10 HS 10 6 CORESPON 5 6 CORESPON 5 8 CORESPON 6 6 CORESPON 6 8 CORESPON 10 6 CORESPON 10 8 CORESPON 12 6 CORESPON 12 8 CORESPON 15 6 CORESPON 15 8 CORESPON 15 10 OCR A OCR B COMPRESS 6 6 COMPRESS 6 8 COMPRESS 8 6 COMPRESS 8 8 COMPRESS 13 6 COMPRESS 13 8 COMPRESS 13 10 COMPRESS 16 6 COMPRESS 16 8 COMPRESS 16 10 DP 5 6 DP 5 8 DP 6 6 DP 6 8 N Style Font Style D LG06 Font D Emula
Printer Configuration 4–11 N N P U Vert Forms Bot Mrg n N Vert Forms Top Mrg n N Vert Forms Bot. Frm n D LG06 Vert. Forms U Continued from previous page (1) (4) P (1) (4) P (1) (5) U U U U N N P P U Horiz Forms Right Mrg n N Horiz Forms Left Mrg n D LG06 Horiz. Forms (2) P (2) U (4) U D Autowrap No N or P * Autowrap Yes LG06 Autowrap U N P * U CR = CR + LF CR = CR LG06 CR (2) n = 0 to 13.6 inch in increments of 0.1 inch.
4–12 Printer Configuration N P U Font NLQ at 12 CPI N Font NLQ at 10 CPI N Font Draft at 12 CPI N Font Draft at 10 CPI D Proprinter XL Font D Emulation Proprinter XL B P P P * U FROM PAGE 4–9 U U U U N P U U US 437 Graphic 2 (B) N or P US 437 Graphic 1 (A) D Character Set US 437 D Proprinter XL Character Set * U N N P Mult 850 Graphic 2 (B) N or P Mult 850 Graphic 1 (A) D Character Set Mult 850 U U P U U Compress 12 CPI 12 CPI N or P * Compress 12 CPI
Printer Configuration 4–13 N P N D U U N In Inches At 11.0 Inches D In Inches At 11.0 Inches U P U P * Paper Format Forms Length Set D Proprinter XL Paper Format N In Inches At 10.5 Inches N P Forms length range is from 1.0 to 21.0 inches in 0.5 inch increments. P U Continued from previous page U U N N N P P P * U U N In 6 LPI Lines At 65 Lines N P U Forms length range is from 1 to 126 lines in 1 line increments.
4–14 Printer Configuration N P U * Form Feed at TOF Disable N or P Form Feed at TOF Enable D Paper Format Form Feed at TOF Continued from previous page U N P * Print Width 8.0 Inches N or P Print Width 13.
Printer Configuration 4–15 N P Font NLQ 15 N Font NLQ 12 N Font NLQ 10 N Font Draft 15 N Font Draft 12 N Font Draft 10 N Font HS Draft 15 N Font HS Draft 12 N Font HS Draft 10 D Epson FX Font D Emulation Epson FX C U P P P P P P P P * U FROM PAGE 4–9 U U U U U U U U U N P U Condensed Yes N Condensed No D Epson FX Condensed U * P U U N P U Draft Speed Low N Draft Speed High D Epson FX Draft Speed U * P U U N P U U Character Set IBM Graphi
4–16 Printer Configuration N P U * Slashed Zero Yes N or P Slashed Zero No D Epson FX Slashed Zero Continued from previous page U N P U CR = CR + LF CR = CR D Epson FX CR = K FROM PAGE 4–9 N or P * U N P U Page Length 12 ” Unidirectional Yes P * N or P Unidirectional No D Print Engine Unidirectional U Off–Line Print Engine D * N or P Page Length 11 ” D Epson FX Page Length U U N N P U U PMD Fault No PMD Fault Yes * U N or P D Print Engine PMD Fault Ski
Printer Configuration 4–17 N P P U U * Data Rate 4800 Baud P 2400 Baud 1200 Baud 600 Baud 300 Baud 150 Baud N P * N 19200 Baud P Data Rate 9600 Baud D Serial EIA–232 Data Rate D Interface Serial EIA–232 D Offline Interface F FROM PAGE 4–9 U U N N P P G N (1) Serial EIA–232 Word Length 7 N or P Serial EIA–232 Word Length 8 D Serial EIA–232 Word Length 8 U CENTRONICS PAGE 4–19 U * U N P P H U N * Serial EIA–232 Stop Bits 2 N or P Serial EIA–232 Stop Bi
4–18 Printer Configuration P N U N P Continued from previous page N P U N N N Request to Send True P Request to Send False P Request to Send Off–Line or BF P Request to Send On–Line and BNF D Serial EIA–232 Request to Send * U N P N N N P N Reverse Channel False P Reverse Channel Off–Line or BF P Reverse Channel On–Line and BNF D Reverse Channel True P U Serial EIA–232 Reverse Channel * U N P
Printer Configuration 4–19 U Data Bit 8 No Data Bit 8 Yes D Centronics Data Bit 8 D Interface Centronics G N or P * P P U N FROM PAGE 4–17 * Data Polarity Inverted N or P Data Polarity Standard D Centronics Data Polarity U U N P * Response Pol. Inverted N or P Response Pol. Standard D Centronics Response Pol.
4–20 Printer Configuration Off–Line Emulation On–Line Hex Dump Emulation Hex Dump Emulation Hex Dump D OL OL * E FROM PAGE 4–9 U * Data Bit 8 No Data Bit 8 Yes D N or P Dataproducts Data Bit 8 D Interface Dataproducts H P U FROM PAGE 4–17 N P * Data Polarity Inverted N or P Data Polarity Standard D Dataproducts Data Polarity U U N P * Data Request Pol. Inverted N or P Data Request Pol. Standard D Dataproducts Data Request Pol.
Printer Configuration 4–21 P N * Self Test Width: 8.0 Self Test Width: 13.2 D Self Test Width: 13.2 Running ASCII Swirl * U U N or P RS Self Test ASCII Swirl D Emulation Self Test E Emulation Self Test E FROM PAGE 4–9 U U P N P N U U RS (1) P N N P U RS Running Shuttle Fast RS Self Test Shuttle Fast U Running E’s + TOF Self Test E’s + TOF (1) Increase or decrease phase value by pressing NEXT or PREV switch. Range is 0 to 315.
4–22 Printer Configuration
5 Interfaces Chapter Contents Printer Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–2 Dataproducts Parallel Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–3 Dataproducts Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–3 Dataproducts Parallel Interface Configuration . . . . . . . . . . . . . . . . . . . . . . . 5–4 Centronics Parallel Interface . . . . . . . .
Printer Interfaces The printer interface is the point where the data line from the host computer plugs into the printer. The interface processes all communications signals and data to and from the host computer. It consists of a printed circuit board assembly (PCBA) and a connector for the data cable from the host computer. IMPORTANT The LG06 and LG12 are equipped with two parallel interfaces and one serial interface.
Dataproducts Parallel Interface The Dataproducts parallel interface allows the printer to operate with a 50–pin AMP Ampilite HDH–20 male data cable connector. The length of the data cable from the host computer to the printer must be no longer than 30 feet.
Table 5–1. Connector Pin Assignments for Dataproducts Interface with AMP Connector OUTPUT Signal Pin INPUT Signal Pin Ready Return 22 6 Data Line 1 Return 19 3 On Line Return 21 5 Data Line 2 Return 20 4 Demand Return 23 7 Data Line 3 Return 1 2 Interface Verify 46 45 Data Line 4 Return 41 40 Paper Instr.
• Response Polarity (standard or inverted) • Strobe Polarity (standard or inverted) • Latch Data On Leading or Trailing Edge of Strobe Refer to the Configuration Diagram in Chapter 4, Printer Configuration, for information on selecting parameter values. Some application programs may require a unique configuration. If the printer is not working properly in the configuration you selected, contact your authorized service representative.
Table 5–2 lists the Centronics interface connector pin assignments. Table 5–2.
• Strobe Polarity (standard or inverted) • Latch Data On Leading or Trailing Edge of Strobe • Prime Signal (enable or disable) • TOF Action (reset or do nothing) Refer to the Configuration Diagram in Chapter 4, “Printer Configuration,” for information on selecting parameter values. Some application programs may require a unique configuration. If the printer is not working properly in the configuration you selected, contact your authorized service representative.
Terminating Resistors For parallel interface configurations, the LG06 and LG12 printers are equipped with 470 ohm pull–up terminating resistors, located at 12C on the Common Controller Board (CCB) and 1K ohm pull–down terminating resistors at location 12D. These are suitable for most applications. If the standard terminating resistor pack is not compatible with the particular interface driver requirements of the host computer, other values of pull–up and pull–down resistors may be required.
EIA–232D Serial Interface The EIA–232D serial interface enables the printer to operate with bit serial devices compatible with an EIA–232D controller. The interface circuit characteristics are compatible with the Electronic Industry Association Specification EIA–232D. Input serial data transfer rates of 150, 300, 600, 1200, 2400, 4800, 9600, or 19,200 baud are selectable at the control panel. The input format consists of a single start bit, 7 or 8 data bits, and one or two stop bits.
Data Terminal Ready (DTR) – Control signal from the printer. Subject to configuration. Table 5–3.
6 Routine Service and Diagnostics Chapter Contents Routine Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–2 Cleaning Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–2 Exterior Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–3 Interior Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Routine Service Periodic cleaning is the only maintenance your printer requires. If print quality deteriorates even after cleaning, contact your authorized service representative. Cleaning Requirements Periodic cleaning ensures efficient operation and clear print quality. Clean the printer every six months or after every 1000 hours of operation, whichever occurs first. If the printer is located in a dusty area or is used for heavy duty printing, clean it more often.
Exterior Cleaning Clean the outside of the cabinet with a soft, lint–free cloth and mild detergent soap. (Dishwashing liquid works well.) Do not use abrasive powders or chemical solvents. Clean the windows with plain water or mild window cleaner. Always apply the cleaning solution to the cloth; never pour cleaning solution directly onto the printer. Interior Cleaning Over time, particles of paper and ink accumulate inside impact printers. This is normal.
5. Using a soft–bristled brush and vacuum cleaner, brush and vacuum paper and dust particles from the paper path, ribbon guides, ribbon path, and base pan. 6. Check the ribbon mask and hammer bank cover for bits of torn paper or ribbon lint. Check the holes in the ribbon mask surrounding each hammer tip. Gently remove paper or lint particles with a wooden stick or pair of tweezers. (Do not pry or apply force to the hammer tips.) 7.
LG06 Ribbon Path Diagram Ribbon Spool Shuttle Cover Hub Latch Ribbon Hub Forms Thickness Lever Ribbon Guide Ribbon Spool LG12 Ribbon Deck Forms Thickness Lever Ribbon Path Diagram Ribbon Guide Hub Latch Ribbon Hub Figure 6–1.
Printer Self–Tests Run the printer self–tests to check the print quality and operation of your printer. The self–tests include: • ASCII Swirl – A sliding alphanumeric pattern that identifies missing or malformed characters, improper vertical alignment, or vertical compression. • All Es – A pattern of all uppercase letter Es that identifies missing characters, misplaced dots, smeared characters, improper phasing problems, or light/dark character variations.
Running the Self Tests To run the self–tests: 1. On the control panel, press the ON LINE switch to place the printer off–line. “Off–line/Emulation” displays. 2. Raise the printer cover. 3. On the control panel, press the DOWN switch. “Emulation/LG06” displays. 4. Press the NEXT switch until “Emulation/Self Test” displays. 5. Press UP and DOWN simultaneously to unlock the panel. “Unlocked” briefly displays. (If “Locked” displays, simply press UP and DOWN again.) 6. Press ENTER.
Hex Code Printout A hex code printout (or hex dump) is basically a translation of all host interface data to its hexadecimal equivalent. A hex dump lists all ASCII character data received from the host computer with their corresponding two–digit hexadecimal codes. Hex dumps are used to troubleshoot printer data reception problems. Printable characters print as the assigned symbol; nonprintable characters are indicated by a period (.). To make a hex printout: 1. Press ON LINE to place the printer off–line.
Fault Messages If a fault condition occurs in the printer, the status lamps on the message display flash on and off and the first line of the display indicates “Fault Condition.” The second line of the display indicates the specific fault. Fault messages are summarized in Table 6–1. Displayed faults fall into one of two categories: • Operator correctable. • Field service required—indicated by an asterisk [ * ] after the fault message.
Table 6–1. Fault Messages Message Displayed Operator Correctable? Explanation Solution 48 Volt Failed * No Internal power failure. Contact your authorized service representative. Dynamic RAM Fault * No RAM failure. Contact your authorized service representative. Ham. Bank Hot * No One or more hammer coils are overheating. Stop printing. Allow printer to cool. If fault recurs, contact your authorized service representative. Ham.
Table 6–1. Fault Messages (continued) Message Displayed Operator Correctable? Explanation Solution Ribbon Stall Yes No ribbon movement or wrong speed. Reset forms thickness lever. Check for obstruction to ribbon or ribbon hub. Remove and install ribbon. See page 3–20. If fault continues, contact an authorized service representative. Shttl Cover Open Yes Shuttle cover open. Reinstall the shuttle cover. Make sure the cover lies flat and the two captive screws are fully seated.
6–12 Routine Service and Diagnostics
7 Digital Emulation Chapter Contents Digital Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–2 Selecting Digital Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–2 Bar Code Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–3 Character Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Digital Emulation Emulation refers to the ability of a printer to execute the commands of other printer control languages. Digital emulation mode (displayed as “LG06” on the control panel) enables the LG06 and LG12 to print files coded for a Digital LG02 printer. Digital emulation is the default mode when the printer is turned on. A printer control language (also called a printer protocol) is the coding system used to convey, manipulate, and print data. It contains character codes and command sequences.
8. Press UP and DOWN simultaneously to lock the ENTER switch. “Locked” appears briefly on the message display. 9. Close the printer cover. 10. Press the ON LINE switch to place the printer on–line to the host computer. Bar Code Printing Bar code printing is selected by control sequences, not via the operator control panel. Bar code printing is covered in Appendix A.
If word length is 7–bits, printable characters are only generated from columns 2 through 7. If word length is set at 8–bits, printable characters can be generated from columns 2 through 7 and columns 10 through 15. (Note that in an 8–bit environment, columns 0 through 7 have the 8th bit set to zero, while columns 8 through 15 always have the 8th bit set to 1.
Digital Emulation Figure 7–1. DEC Multinational Character Set 7–5 B7 B6 B5 0 0 0 ) * + 24 20 14 25 21 15 26 22 16 27 23 17 30 24 18 31 25 19 32 26 1A 33 27 1B SUB ESC 4 4 4 5 5 5 6 6 6 7 7 7 10 8 8 11 9 9 12 10 0A 13 11 0B 4 EOT BS HT 5 6 7 8 9 10 LF 11 VT 12 FF 13 CR 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 ( 23 19 13 3 3 3 3 0 0 1 1 / 37 31 1F 17 15 0F 15 SI ASCII Control Codes .
Control Codes A control code is a single (one byte) non–printing character that instructs the printer to perform a specific operation. When the printer receives a control character, it immediately performs the control operation instead of printing a graphic character.
Table 7–1. ASCII Control Codes Mnemonic Column/Row Name BEL 0/7 HT 0/9 Bell Horizontal Tab Key Pressed with CTRL None I Function When a control code is received, the printer produces a short audible tone. HT advances the active tab position to the next horizontal tab stop on the line, or to the right margin if there are no more tab stops. The printer initially sets a horizontal tab stop every eight characters.
Table 7–1. ASCII Control Codes (Continued) Mnemonic Column/Row CAN 1/8 Name Key Pressed with CTRL Cancel X Function 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. 7–8 SUB 1/10 Substitute Z SUB immediately ends an escape or control sequence. SUB replaces a character received with an error in the sequence.
Table 7–2. Additional Control Codes Mnemonic Column/Row Name Function IND 8/4 Index IND moves the active position down to the same position on the next line. If the new position is below the bottom margin, the active position moves to the top of the next page. NEL 8/5 Next Line NEL moves the active position to the left margin on the next line. If the new position is below the bottom margin, the active position moves to the top of the nex page.
Table 7–3.
8–Bit to 7–Bit Control Code Conversion Convert 8–bit additional control codes to 7–bit escape sequences as follows: 1. Insert the ESC character. 2. Set the eighth bit of the final character to 0 and set its seventh bit to 1. NOTE: Only control codes found in columns 8 and 9 of the character sets may be converted as shown. Printable characters in columns 10 through 15 are not converted. 7–Bit to 8–Bit Control Code Conversion Convert 7–bit escape sequences to 8–bit additional control codes as follows: 1.
Escape Codes The control codes discussed in the previous section are single byte control codes. The number of printer capabilities is greatly increased, however, by combining character codes into escape sequences. 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.
always comes from the 3/0 through 7/14 range of the DEC multinational character set. For example, if the intermediate character is SP (hex 20) and the final character is 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.
Parameters are interpreted as unsigned decimal integers with the most significant digit first. Parameter values greater than the maximum allowable 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.
Special Parsing Requirements Parsing is the process of separating a programming statement into basic units that can be translated into machine instructions. Special parsing requirements are necessary when invalid parameters are specified, when invalid control functions are specified, and when control characters are embedded in control functions. Generally, the printer recovers from these conditions by performing as much of the function as possible (or, parsing the valid parameter from the invalid).
When the characters (20H) or (7FH) are received after a SS2 or SS3, the following occurs: • If the (94) character set resides in the set being accessed (either G2 or G3), the or keys are processed and the single shift flag remains set. • If the (94) character set resides in the set being accessed (either G2 or G3), the printer images the corresponding character of that set (A0H or FFH), then reset the single shift flag.
If either (A0H) or (FFH) are received after SS2 or SS3, the following occurs: • The LG06 and LG12 print the error character (a reverse question mark) and resets the single shift flag when a (94) character resides in the set being accessed (either G2 or G3). • If a (96) character resides in the set being accessed (either G2 or G3), the printer images the corresponding character, (A0H) or (FFH), of that set, then resets the single shift flag.
Control Code Index and Descriptions The Digital 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 7–11. For commands that turn features on and off (set/reset, enable/disable), the page number for the enabling command is listed. The disabling command is on the same page.
Function Code Spacing Spacing Pitch Increment (SPI) Select Vertical (Line) Spacing (SVS) Set Vertical Pitch (DECVERP) Select Horizontal (Character) Spacing (SHS) Set Horizontal Pitch (DECSHORP) 7–37 ESC[Pn1;Pn2SPG ESC[PsSPL ESC[Psz ESC[PsSPK ESC[Psw Vertical Format Load Vertical Format Unit (VFU) Load (VFU) End Load (VFU) Channel Command ESC[<1h ESC[<1l ESC[nnn&y DCSP1;P2&p DCSP1&r ESC[#SP1 DCSPs&q CSI&~ DCS&s Digital Emulation 7–49 7–53 7–54 7–54 7–56 7–56 7–57 CSIPn&} CSIP1;P2;Pn&| DCS&w DCS&w P
Function Code Page Active Column and Active Line (“Cursor” Motion) Forward Index (IND) Reverse Index (RI) Next Line (NEL) Horizontal Position Absolute (HPA) Horizontal Position Relative (HPR) Horizontal Position Backward (HPB) Vertical Position Absolute (VPA) Vertical Position Relative (VPR) Vertical Position Backward (VPB) Cursor Up (CUU) Partial Line Up (PLU) – Superscripting Partial Line Down (PLD) – Subscripting 7–72 ESCD ESCM ESCE ESC[Pn‘ ESC[Pna ESC[Pnj ESC[Pnd ESC[Pne ESC[Pnk ESC[PnA ESCL ESCK T
Function Character Attributes (SGR) Bold Printing Crossed–Out Text Double Underlined Text Italic Printing Overlined Text Turn Off All Attributes Underlined Text Code Page ESC[Psm 7–99 7–102 7–102 7–103 7–104 7–102 7–105 7–105 ESC[1m ESC[29 ESC[Psm ESC[3m ESC[Ps ESC[0m ESC[Psm Block Characters 7–122 Setting Block Character Parameters (DECBCS) Start Block Character Mode (DECBLOCKC) Stop Block Character Mode Justification (JFY) Drawing Vectors (DECVEC) ESC[P1;P2;...
Set/Reset Mode Set (Enable) Reset (Disable) ASCII Code ESC [ Ps h ESC [ Ps l Hex Code 1B 5B Ps 68 1B 5B Ps 6C Dec Code 27 91 Ps 104 27 91 Ps 108 Purpose Turns basic printing features on (set) or off (reset). Discussion Set/Reset Mode controls certain printer features that have two settings: on or off. One sequence may be used to turn several features on or off. Parameter values Ps determine different printer modes. Parameter values are either ANSI or Digital private.
Line Feed/New Line Mode (LNM) Set (Enable) Reset (Disable) ASCII Code ESC [ 2 Hex Code 1B 5B 32 30 68 1B 5B 32 30 6C Dec Code 27 91 50 48 104 27 91 50 48 108 Purpose Defines the paper position according to how the line feed features are enabled. Discussion Advance the paper up one line by pressing the line feed key once. A half–second pause ensues, then the paper will feed one line. To feed paper continuously, hold down the line feed key.
Carriage Return/New Line Mode (DECCRNLM) Set (Enable) Reset (Disable) ASCII Code ESC [ ? Hex Code 1B 5B 3F 34 30 68 1B 5B 3F 34 30 6C Dec Code 27 91 63 52 48 104 27 91 63 52 48 108 Purpose Defines printer response to the Carriage Return (CR) character. Discussion 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.
Autowrap Mode (DECAWM) Set (Enable) Reset (Disable) ASCII Code ESC [ ? Hex Code 1B 5B 3F 37 68 1B 5B 3F 37 6C Dec Code 27 91 63 55 104 27 91 63 55 108 Purpose Determines what happens when text exceeds the right margin of the page. Discussion When autowrap is enabled (set) and text runs past the right margin, the active position moves to the left margin on the next line, and no data are lost.
Pitch Select Mode (DECPSM) Set (Enable) Reset (Disable) ASCII Code ESC [ ? Hex Code 1B 5B 3F 32 39 68 1B 5B 3F 32 39 6C Dec Code 27 91 63 50 57 104 27 91 63 50 57 108 Purpose Controls the Set Horizontal Pitch (DECSHORP) sequence. Discussion When Pitch Select Mode is enabled (set), the current font determines the horizontal pitch. 2 9 h ESC [ ? 2 9 l When Pitch Select Mode is disabled (reset), the printer uses the horizontal pitch selected by the Set Horizontal Pitch (DECSHORP) sequence.
Set Page Orientation (DECSPO) ASCII Code ESC [ Ps & z Hex Code 1B 5B Ps 26 7A Dec Code 27 91 Ps 38 122 Purpose Sets the intended reading orientation of the page with respect to the paper feed direction. Discussion DECSPO is similar to the page orientation defined by PFS, but has no effect on the page size or number of lines and columns. All page related functions are interpreted in relation to page orientation (margins, line and character spacing). The default value is Ps = 0.
Position Unit Mode (PUM) Set (Enable) Reset (Disable) ASCII Code ESC [ 1 Hex Code 1B 5B 31 31 68 1B 5B 31 31 6C Dec Code 27 91 49 49 104 27 91 49 49 108 Purpose Selects a unit of measurement used with the escape sequences that control spacing parameters. Discussion When Position Unit mode is enabled (set), it selects either decipoints or pixels, depending on the setting of the Select Size Unit (SSU) sequence.
Table 7–5. Escape Sequences With Spacing Parameters Sequence Name DEC Mnemonic Page No.
Force Plot Mode (DECFPM) Reset (Disable) Set (Enable) ASCII Code ESC [ ? Hex Code 1B 5B 3F 37 30 31 Dec Code 27 91 63 55 48 49 Purpose Forces the printer to enter or stay in Plotting mode. Discussion The printer normally operates in Printing mode (the default) to achieve maximum throughput of standard fonts and spacing. Plotting mode sacrifices speed but offers greater flexibility, such as special fonts, font sizes, character spacing.
Select Size Unit (SSU) ASCII Code ESC [ Ps SP I Hex Code 1B 5B Ps 20 49 Dec Code 27 91 Ps 32 73 Purpose Works with the Position Unit Mode (PUM) sequence to select a unit of measurement for spacing parameters. Discussion When PUM is enabled (set), Select Size Unit selects either decipoints or pixels as the spacing unit, depending on the parameter settings shown below.
Graphic Size Selection (GSS) ASCII Code ESC [ Pn SP C Hex Code 1B 5B Pn 20 43 Dec Code 27 91 Pn 32 67 Purpose Sets the height and width of all characters in the selected font that start after the control sequence. Discussion Pn is a decimal value that species the height of the font in units determined by the Select Size Unit (SSU) sequence. The width of the font is implicitly defined by the height. For example, the width of a 10–point font is 10 pitch. The initial value for Pn is Pn = 100.
Graphic Size Modification (GSM) ASCII Code ESC [ Pn1 ; Pn2 SP B Hex Code 1B 5B Pn1 3B Pn2 20 42 Dec Code 27 91 Pn1 59 Pn2 32 66 Purpose Modifies the height and width for all designated fonts as set by the GSS sequence. Discussion Pn1 is a decimal value that specifies the height of the font as a percentage of the height set by the GSS sequence. Pn2 is a decimal value that specifies the width as a percentage of the width set by the GSS sequence.
Setting Plot Density The printer can plot in several different densities (dots per inch), from 30 dots per inch 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. Default values for both the vertical and horizontal densities for graphic work are 100.
Set Graphics Density (DECSGD) ASCII Code ESC [ Psh ; Psv & { Hex Code 1B 5B Psh 3B Psv 26 7B Dec Code 27 91 Psh 59 Psv 38 123 Purpose Sets the darkness of drawn images. Discussion DECSGD controls darkness via the density of the physical pixels. It does not change the resolution of the image (logical pixels), only the darkness of the segments drawn. NOTE: Psh and Psv do not affect the density of plotted text. Text density comes from the current font.
Table 7–7. X–Density Values Psh (Portrait–dflt) X–Density (Dots/Inch) 0 No change 1 50 2 60 3 70 4 80 5 90 6 100 7 110 8 120 9 130 10 140 11 150 12 200 Table 7–8. Y–Density Values 7–36 Psh (Portrait–dflt) Y–Density (Dots/Inch) 0 No change 1 30 2 40 3 50 4 60 5 66.
Spacing The five spacing sequences covered in this section affect the spacing of lines and characters on the page but do not affect character size. Horizontal pitch affects character spacing in characters per inch (cpi). Vertical pitch affects line spacing in lines per inch (lpi). Table 7–9. Line and Character Spacing Sequences Sequence Name DEC Mnemonic Page No.
Spacing Pitch Increment (SPI) ASCII Code ESC [ Pn1 ; Hex Code 1B 5B Pn1 3B Pn2 20 47 Dec Code 27 91 Pn1 59 Pn2 32 71 Purpose Sets the vertical and horizontal spacing increments for all characters that follow in the data stream. You can select one or both increments with a single Spacing Pitch Increment sequence. The SPI sequence gives you the greatest flexibility in adjusting white space (pitch) between characters and lines. Discussion This command sequence uses decipoints or pixels as units.
Spacing Pitch Increment (SPI) (continued) 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. If you set the Pn1 or Pn2 values to 0, or if you do not send an SPI sequence, the printer uses the default horizontal and vertical spacing for the font currently in use.
Set Vertical Pitch (DECVERP) ASCII Code ESC [ Ps z Hex Code 1B 5B Ps 7A Dec Code 27 91 Ps 122 Purpose Selects the number of lines printed per inch on the page. Discussion Selects the line spacing (vertical pitch) used with all fonts. Ps selects the vertical pitch (lines per inch). Ps Vertical Pitch 0 6 lines per inch (current default) 2 8 lines per inch 7 10 inches per line (This setting is accomplished by reversing the paper.
Select Horizontal (Character) Spacing (SHS) ASCII Code ESC [ Ps SP K Hex Code 1B 5B Ps 20 4B Dec Code 27 91 Ps 32 75 Purpose Selects character spacing (horizontal pitch). Discussion Ps selects the horizontal pitch and the horizontal character position unit. By setting this parameter, the white space between characters varies, but the character size is not affected.
Set Horizontal Pitch (DECSHORP) ASCII Code ESC [ Ps w Hex Code 1B 5B Ps 77 Dec Code 27 91 Ps 119 Purpose Selects the character spacing for monospaced fonts. This sequence selects the number of characters printed per horizontal inch on a line. NOTE: DECSHORP varies the white space between characters, not the actual character size. Discussion Pitch Select Mode (DECPSM) activates the Set Horizontal Pitch (DECSHORP) sequence.
Vertical Format Vertical format consists of two control codes that program the printer to make fast vertical paper movements (slewing) during print jobs. Vertical formatting increases printer efficiency and reduces printing time for repetitive printing jobs. Vertical channels in the form are defined by downloading the Vertical Format Unit (VFU) from the host to the printer. Subsequent data is then printed on the form at the specified channel. These functions are achieved by using control sequences.
Load Vertical Format Unit (VFU) ASCII Code ESC [ < 1 h Hex Code 1B 5B 3C 31 68 Dec Code 27 91 60 49 104 Purpose Downloads the VFU from the host to the printer. Discussion All data following the begin load sequence is placed in VFU memory except ASCII control codes. Any command entered during load VFU is ignored except the End Load sequence. During VFU load, a unique code is displayed on the control panel. All data must be in the VFU load format.
Load Vertical Format Unit (VFU) (continued) Table 7–11. Byte 2 Structure (Second Character of Pair) Bits: 7 6 5 4 3 2 1 0 Values: x 1 C12 C11 C10 C9 C8 C7 The following define the values in Table 7–11: C1 – C12 are channels 1 through 12. C1 identifies top–of–form (TOF). C12 identifies bottom–of–form (BOF). End Load (VFU) ASCII Code ESC [ < 1 l Hex Code 1B 5B 3C 31 6C Dec Code 27 91 60 49 108 Purpose Ends the Vertical Format Unit load.
Channel Command ASCII Code ESC [ nnn & y Hex Code 1B 5B nnn 26 79 Dec Code 27 91 nnn 38 121 Purpose The channel commands control paper motion. nnn is the channel number. When the first n equals 0, forward paper motion occurs. When the first n equals 9, reverse paper motion occurs. If the first n equals any value other than 0 or 9, the entire sequence is ignored. Table 7–12 gives the values of nnn for each channel. Table 7–12.
Channel Command (continued) • If a VFU table is not loaded and channel commands are sent to it, a line feed occurs then the text prints. • If you load a VFU table with more than one TOF and/or more than one BOF already defined, the load is terminated and a warning message is displayed on the front panel.
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. Once a form is downloaded, it is selectable. Stored data is merged with the fill–in data stream, and the merged data is printed as a completed form.
Loading Forms Sequence (DECLFM) ASCII Code DCS P1 ; P2 & p RECORD ST Hex Code 90 P1 3B P2 26 70 RECORD 9C Dec Code 144 P1 59 P2 38 112 RECORD 156 Purpose Allows you to load forms into printer memory. Discussion The Pn parameters define the format of the form as well as which forms to delete. Forms can be loaded at any time except during another download operation, or while a form is printing.
Loading Forms Sequence (DECLFM) (continued) The form record includes a form header that defines form parameters and size, and the form data string. This information is contained in the format header and includes: • ID length is a two digit number (01 – 99) that defines the length of the form ID. • Form ID is a string of 1 – 99 printable characters. IDs exceeding 10 characters are truncated. The control–character encoding character indicates the start of control–character encoding.
Loading Forms Sequence (DECLFM) (continued) • 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.
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 Digital 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 The form uses justified text • In Print mode, all positioning is controlled by the CR, LF, and tabs control characters.
Start Forms Sequence (DECIFM) ASCII Code DCS P1 & r FORM NAME ST Hex Code 90 P1 26 72 FORM NAME 9C Dec Code 144 P1 38 114 FORM NAME 156 Purpose Selects any form loaded in RAM. Discussion P1 is the Select Form Switch character. With this sequence, a form loaded in RAM is selectable for printing. When you select the form, the printer enters Form mode. The variable fill–in data is merged and printed with the form data.
Terminate Forms Sequence (DECTFM) ASCII Code ESC # SP 1 Hex Code 1B 23 20 31 Dec Code 27 35 32 49 Purpose Terminates the printing of a form. Discussion If no form is selected, this sequence is ignored. Many special conditions might affect the printer output or performance in its various uses. See “Forms Considerations,” page 7–55, for further information regarding these conditions.
Forms Considerations The following commands are not to be included in form data or fill–in data: • Load a form, logo, or font • Delete a form, logo, or font • Invoke a Digital sequence • Invoke a 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.
Forms Considerations (continued) When using bar codes, note the following: • When using bar codes as part of the form data, make sure that the control character encoding character in the bar code differs from the control character encoding character and the switch character in the Loading Form sequence. • When using bar codes as part of the fill–in data, make sure that the control character encoding character of the bar code differs from the switch character in the Select Form sequence.
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,000 bytes per logo. The following subsections explain various ways in which to utilize the logo feature. Loading Logos Sequence (DECLLG) ASCII Code DCS P1 ; P2 & t RECORD ST Hex Code 90 P1 3B P2 26 74 RECORD Dec Code 144 P1 59 P2 38 116 RECORD Purpose Loads logos into printer memory.
Loading Logos Sequence (DECLLG) (continued) The logo record includes all data after the final character (t) and up to the string terminator, as well as the logo header portion and the row data strings portion. The logo header contents identify the logo and the size (number of characters) of the row data string. The logo record variables include: • ID Length is a one digit number (1 through 4) that defines the length of the logo ID. • Logo ID is a string of one to four numerals that identify the log.
Select Logo Sequence (DECILG) ASCII Code CSI Pn & } Hex Code 9B Pn 26 7D Dec Code 155 Pn 38 125 Purpose Prints selected logos present in printer memory. Discussion Pn defines the ID of the selected logo. If no logo exists for that ID, the sequence is ignored. Logos are printed in the current page orientation and graphics density. Before you select a logo sequence, set the logo density with DECSGD and the orientation. When the logo sequence is complete, reset the density and the cursor position.
Deleting Logos Sequence (DECDLG) ASCII Code CSI P1 ; P2 ; ... ; Pn & | Hex Code 9B P1 3B P2 3B 2E2E2E 3B Dec Code 155 P1 59 P2 59 464646 59 Purpose Deletes logos from printer memory. Discussion P1 defines the logos to be deleted: P1 Function 0 3 Delete all logos whose IDs are listed Delete all stored logos When P1 = 0, parameters P2 through P16 make up the ID of the logos to be deleted. You can select up to 16 logo IDs to delete. Deleting a logo within a form is not allowed.
Logo Status Report (DECLGSR) ASCII Code DCS & w LOGO STRING ST Hex Code 90 26 77 LOGO STRING 9C Dec Code 144 38 119 LOGO STRING 156 Purpose Reports the logo status in response to the DECRLGR sequence. Discussion The logo string contains a list of all the valid logos loaded in the printer and their comment strings.
Page Print Area and Margins The LG06 and LG12 have no print area limitations; however, smaller page areas can be selected by using the Page Format Select (PFS) sequence. Figure 7–1 shows the two types of page orientation: portrait and landscape.
Page Print Area and Margins (continued) Changing the Print Area You can change the print area two ways: 1. Set the printed page to one of the predefined formats using the Page Format Select (PFS) sequence (see page 7–64). PFS permits you to set page format with one command. 2. Change the page margins and the number of lines per page with these sequences: d. Set Lines Per Physical Page (DECSLPP) e. Set Top and Bottom Margins (DECSTBM) f.
Page Format Select (PFS) ASCII Code ESC [ Ps SP J Hex Code 1B 5B Ps 20 4A Dec Code 27 91 Ps 32 74 Purpose Selects a page format from a list of predefined formats. Discussion Ps selects one of 12 page formats. Two kinds of format are available: normal and extended. In the normal page format, the page home line is 0.5 inches below the top margin, and the page end line is 0.833 (5/6) inches above the bottom margin.
Page Format Select (PFS) (continued) The page home line is the active line after a form feed (FF). The index (IND), next line (NL), and carriage return characters cause a form feed when they pass the page end line. 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 Format Select (PFS) (continued) Table 7–14 shows the lines per page and the characters per line selected with the normal and extended PFS formats. Table 7–14. Lines Per Page and Characters Per Line Using PFS Formats Ps Format Description Lines Per Page in Text Area (Lines Per Inch) 8 6 4 3 Chars. Per Line in Text Area (Characters Per Inch) 1 12 15 6 Normal Page Formats: 0 Portrait text comm. 73 59 36 27 72 86 108 43 1 Landscape text comm.
Page Format Select (PFS) (continued) Table 7–15 shows the printable area extending beyond the text area when working in normal and extended PFS formats. Table 7–15. Printable Area Extending Beyond Text Area in PFS Formats Ps Format Description Lines Above/Below Text Area (Lines Per Inch) 8 6 4 3 Char. Pos. to Left/Right of Text (Characters Per Inch) 10 12 15 6 Normal Page Formats: 0 Portrait text comm. 4/6 3/5 2/3 1/2 5/2 6/2 7/3 3/0 1 Landscape text comm.
Set Lines Per Physical Page (DECSLPP) ASCII Code ESC [ Pn t Hex Code 1B 5B Pn 74 Dec Code 27 91 Pn 116 Purpose Defines form length. Discussion A form’s length equals the maximum distance the paper moves when a form feed command is issued. Maximum form length is 33 inches. DECSLPP sets the top margin to 1 and the bottom margin to the form length. Form length limits the range of possible settings for the Set Top and Bottom Margins (DECSTBM) sequence.
Set Top and Bottom Margins (DECSTBM) ASCII Code ESC [ Pn1 ; Hex Code 1B 5B Pn1 3B Pn2 72 Dec Code 27 91 Pn1 59 Pn2 114 Purpose Sets the top and bottom margins, and the page home line. These settings are relative to the current origin point for page coordinates. (Refer to “Page Format Select” on page 7–64.) Discussion Pn1 sets the top margin and the page home line. Pn2 sets the bottom margin. If the first parameter is greater than the second parameter, the printer will ignore the sequence.
Set Left and Right Margins (DECSLRM) ASCII Code ESC [ Pn1 ; Hex Code 1B 5B Pn1 3B Pn2 73 Dec Code 27 91 Pn1 59 Pn2 115 Purpose Sets the left and right margins. Discussion Pn1 sets the left margin and the line home position. Pn2 sets the right margin. If the first parameter is greater than the second parameter, the printer will ignore the sequence. The unit of measurement can be character cells, decipoints, or pixels.
Set Left and Right Margins (DECSLRM) (continued) • If Autowrap is enabled and the active position is grater than the specified right margin, the next printable character causes a carriage return/line feed before the next character is printed. If Autowrap is disabled (truncated), the characters that follow this command are ignored until the cursor is returned to the printable area.
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. Its location is the intersection of the active column and active line.
Reverse Index (RI) ASCII Code ESC M Hex Code 1B 4D Dec Code 27 77 Purpose Causes the active position to move to the corresponding character position of the preceding line. Discussion Pn specifies the active position. The Reverse Index command causes the active position to stop at the top of the margin. In 8–bit mode, the Reverse Index 8–bit control code can be used for this function (refer to “Control Characters,” page 7–6).
Horizontal Position Absolute (HPA) ASCII Code ESC [ Pn ‘ Hex Code 1B 5B Pn 60 Dec Code 27 91 Pn 96 Purpose Selects the active column on the active line. Discussion Pn value specifies the new active column. Default value: Pn = 1. If you try to move the active column to the right of the last position on the line, the active position stops at the last position on the line.
Horizontal Position Backward (HPB) ASCII Code ESC [ Pn j Hex Code 1B 5B Pn 6A Dec Code 27 91 Pn 106 Purpose Moves the active column backward by subtracting the value Pn from the currently active column. Discussion Pn is the value subtracted from the currently active column. Default value: Pn = 1. If you try to move the active column to the left of the first position on a line, the active position stops at the first position on that line.
Vertical Position Relative (VPR) ASCII Code ESC [ Pn e Hex Code 1B 5B Pn 65 Dec Code 27 91 Pn 101 Purpose Moves the active line to the corresponding horizontal position by adding Pn the value to the currently active line. Discussion Pn is the value added to the currently active line. Default value: Pn = 1. If you try to move the active line below the bottom line, the active position stops at the bottom line.
Cursor Up (CUU) ASCII Code ESC [ Pn A Hex Code 1B 5B Pn 41 Dec Code 27 91 Pn 65 Purpose Causes the active position to move to the corresponding column at the preceding vertical position set by the Pn value. Discussion If you try to move the active position above the top line, the active position stops at the top line. Pn is the number of lines that the active line moves up at the current active column. Default value: Pn = 1.
Partial Line Up (PLU) — Superscripting ASCII Code ESC L Hex Code 1B 4C Dec Code 27 76 Purpose Print superscripted characters. Discussion This sequence moves the active position up a distance equal to 1/2 a vertical line increment, as determined by the currently active font. The Partial Line Down (PLD) sequence returns the active position to the previous baseline.
Partial Line Down (PLD) — Subscripting ASCII Code ESC K Hex Code 1B 4B Dec Code 27 75 Purpose Print subscripted characters. Discussion This sequence moves the active position down a distance equal to 1/2 a vertical line increment, as determined by the currently active font. The Partial Line Up (PLU) sequence returns the active position to the previous baseline.
Tab Stops A tab stop is a predetermined point to which the active position moves when you send the HT and VT tab commands. The active position is where the next character will print. 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.
Set Horizontal Tab Stops (DECSHTS) ASCII Code ESC [ Pn ; Hex Code 1B 5B Pn 3B ... 3B Pn 75 Dec Code 27 91 Pn 59 ... 59 Pn 117 Purpose Pn denotes a horizontal tab stop location. Discussion DECSHTS allows you to select up to 16 horizontal tab stops at one time. Thirty–two possible horizontal tab stops are available, however, any sequence beyond 16 is ignored. The Pn values can be in any order in the escape sequence. ... ; Pn u The unit of measurement can be character cells, decipoints, or pixels.
Set Horizontal Tab Stops (HTS) ASCII Code ESC H Hex Code 1B 48 Dec Code 27 72 Purpose Causes a horizontal tab stop to be set at the current position. Discussion A horizontal tab stop can also be achieved in 8–bit mode by sending the HTS 8–bit control code. Set Vertical Tab Stops (DECSVTS) ASCII Code ESC [ Pn ; Hex Code 1B 5B Pn 3B ... 3B Pn 76 Dec Code 27 91 Pn 59 ... 59 Pn 118 Purpose Sets vertical tabs at the rows indicated. Discussion Pn denotes a vertical tab stop location.
Set Vertical Tab Stops (VTS) ASCII Code ESC J Hex Code 1B 4A Dec Code 27 74 Purpose Causes a vertical tab stop to be set at the current position. Discussion A vertical tab stop can also be achieved in 8–bit mode by sending the HTS 8–bit control code. Tab Clear (TBC) ASCII Code ESC [ Ps g Hex Code 1B 5B Ps 67 Dec Code 27 91 Ps 103 Purpose Clear one or all horizontal or vertical tab stops. Discussion Ps selects which tab stops to clear.
Soft Terminal Reset (DECSTR) ASCII Code ESC [ ! p Hex Code 1B 5B 21 70 Dec Code 27 91 33 112 Purpose Resets the value or state of several operating features. Discussion After receiving a DECSTR, the printer positions itself at the next top of form, then resets the value or state of several operating features. Additionally, this command resets any event not reported in a Device Status Report (see “Device Status Reports,” page 7–89 ).
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. ASCII character set upon receipt of the appropriate control sequences.
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 7–17 give the sequences that select the available language sets. Table 7–17. Selecting Language Sets Using Single and Locking Shifts Character Set G0 G1 G2 G3 U. S.
Product Identification (DA) ASCII Code ESC [ c Hex Code 1B 5B 63 1B 5B 30 63 Dec Code 27 91 99 27 91 48 99 Purpose Shows the product identification. Discussion When the host computer sends a device attributes (DA) sequence, the printer immediately sends an answering sequence that identifies the printer.
Printer Status Requests and Reports The host computer can send Device Status Requests (DSRs) to the printer, which will then respond with status reports about its operational condition. The printer will send brief or extended and solicited or unsolicited reports to the host. Unsolicited status reports are sent only when an error occurs and only when unsolicited status reports are specifically enabled. Unsolicited status reports are sent after the current page prints, and list each error type once.
Device Status Requests (DSRs) (continued) 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. The host can request a brief or extended status report, as follows: NOTE: The question mark (?) character occurs only once per DSR sequence.
Device Status Requests (DSRs) (continued) Request Sequence CSI Pn1 ; Pn2 R Cursor Position Report Pn1 is the active line Pn2 is the active column Values of Pn (up to three digits) are defined in Table 7–18. 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” and “Font Checksum Errors found at Initialization.” 7–90 1.
Device Status Requests (DSRs) (continued) Table 7–18. Printer Status Error Codes Generic Fault Codes Specific Number Codes LCD Display Message 21 134 Req Font Deleted 24 125 Off–Line 25 Paper Jam 26 Cover Open 27 206 Paper Out 31 907 Err in Font S/W* 31 Emul Switch Err* 32 216 Paper Fault 36 220 Platen Open 37 222 Bad Font Data 38 229 Ribbon Stall 40 124 Char.
Assigning and Selecting Font Files Each font file stored in printer ROM 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. You can identify font files by type family ID, font ID, and font file ID. (Refer to Appendix E.) The type family ID consists of seven characters. The type family IDs for the standard type families used with ROM–resident font files are listed below.
Assign Type Family or Font (DECATFF) ASCII Code DCS Ps1 ; Ps2 } ID String ST Hex Code 90 Ps1 3B Ps2 7D ID String 9C Dec Code 144 Ps1 59 Ps2 125 ID String 156 Purpose Assigns a GSR number to a font ID or type family ID. Discussion To select fonts for printing or plotting graphics, you must assign a Select Graphic Rendition (SGR) number to the type family ID (seven characters) or font ID (16 characters). Each font file contains an ID string as part of its font record.
Assign Type Family or Font (DECATFF) (continued) Ps2 Parameter Ps2 selects the SGR number to assign to the type family ID or font ID.
Selecting Fonts for Printing (SGR) ASCII Code CSI Ps m Hex Code 9B Ps 6D Dec Code 155 Ps 109 Purpose Selects fonts for printing or plotting. NOTE: This SGR sequence format is also used to select several character attributes. (Refer to page 7–99.) You can combine several SGR sequences by separating Ps values with semicolons ( ; ). Discussion Ps values from 10 through 19 select the font or type family used for printing. (Initial SGR number assignments are covered on page 7–93.
Deleting Fonts from RAM (DECLFF) ASCII Code DCS 0 ; 1 ; 0 y ST Hex Code 90 30 3B 31 3B 30 79 9C Dec Code 144 48 59 49 59 48 121 156 Purpose Deletes fonts from RAM. Discussion Digital LG printer emulation fonts are in portrait orientation by default. Each time you request a landscape orientation and select a font, the printer creates a rotated font in RAM. The RAM may fill if you create a number of fonts. The following command sequence lets you delete fonts from RAM.
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.
Font Status Report (DECFSR) The printer uses this sequence to report the font status requested by the DECRFS sequence (page 7–97). 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.
Character Attributes (SGR) Character attributes are enhancements that let you highlight your printed text. You can select ten character attributes by using Select Graphic Rendition (SGR) sequences: • Select font (DEC multinational character set, NLQ, OCR–A, OCR–B) • Character Expansion via Graphic Size Modification (GSM) sequences (Double height characters, triple height characters, double width characters), if the font was selected by family.
Character Expansion (GSM) ASCII Code ESC [ Ps1 ; n2 SP B Hex Code 1B 5B Ps1 3B Dec Code 27 91 Ps1 109 n2 32 66 Purpose Ps1 multiplies height; n2 multiplies width. Discussion The Character Expansion control sequence allows characters to be multiplied in both height and width. n2 20 42 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.
Character Expansion (GSM) (continued) 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 following cpi: Current Width Pitch (CPI) 10 12 13.3 15 16.7 Double Width (CPI) 5 6 6.6 7.5 8.3 NOTE: The OCR–A and OCR–B fonts cannot be enlarged.
Bold Printing ASCII Code ESC [ Ps m Hex Code 1B 5B Ps 6D Dec Code 27 91 Ps 109 Purpose Turn bold printing on or off. Discussion This sequence causes the printer to print bold text in the same font currently selected. Ps turns bold printing on or off. If the currently selected type family does not have a bold font on the system diskette, the printer will double–strike with a slight offset (“shadow print”) when you turn on bold printing.
Double Underlined Text ASCII Code ESC [ Ps m Hex Code 1B 5B Ps 6D Dec Code 27 91 Ps 109 Purpose Turns double underlining on or off. Discussion With double underlining on, the printer double underlines all following printable characters, including spaces. Double underlining remains in effect (even across page boundaries) until turned off. Note that if you use a tab with double underline enabled, the space is doubly underlined. Ps turns double underlining on or off.
Italic Printing ASCII Code ESC [ Ps m Hex Code 1B 5B Ps 6D Dec Code 27 91 Ps 109 Purpose Turn italic printing on or off. Discussion Text prints in italics only when the Data Processing or Near Letter Quality (NLQ) fonts are in use and italic printing is selected. The values of Ps turn italic printing on or off. The italic font is available at the following cpi’s: 5, 10, 12, 13.3, 15, and 16.7, and at all horizontal pitch settings except 16.7.
Turn Off All Attributes ASCII Code ESC [ 0 m Hex Code 1B 5B 0 6D Dec Code 27 91 0 109 Purpose Turns off all font attributes. Underlined Text ASCII Code ESC [ Ps m Hex Code 1B 5B Ps 6D Dec Code 27 91 Ps 109 Purpose Turn underlining on or off. Discussion With underlining on, the printer underlines all following printable characters, including spaces. Underlining remains in effect (even across page boundaries) until turned off.
Justification (JFY) ASCII Code ESC [ Ps SP F Hex Code 1B 5B Ps 20 46 Dec Code 27 91 Ps 32 70 Purpose Aligns text at left and right margins. Discussion Justification changes the spacing between words. With a justified line, the first character of the first word is flush with the left margin, or at the line home position if it differs from the margin setting. The last character of the line will be at the right margin. Once enabled, justification remains on until you turn it off.
Justification (JFY) (continued) • Vertical Table (VT) • Next Line (NEL) • Forward Index (IND) • Reverse Index (RI) • Vertical Position Absolute (VPA) The active font determines the distance between characters in a word. The printer will not autowrap text with justification turned on; therefore, text that exceeds the printable area is lost. The printer does not justify leading spaces; instead, it uses the default width of the space character (SP).
Sixel Graphics Processing A sixel is a group of six vertical picture elements (six pixels) that represents a section of a graphic image. It can be sent in one byte (7 or 8 bits). A bit value of 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.
The String Introducer Control code (DCS) identifies the start of the sixel protocol. The DCS code is 90H in 8–bit mode. In 7–bit mode, it is 1BH, 50H. Protocol Selector The protocol selector consists of a string of zero, one, or more numeric parameters, each separated by the parameter separator character, ; (semicolon, 3BH). A valid numeric parameter consists of zero, one, or more digits in the range of 30H – 39H. The protocol selector has the following format: ASCII Code Ps1 ; Ps2 ; Pn3 ...
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”) Horizontal Grid Size 0 or none No change to HGS defined by Ps1 1, 2, 3 1/180in (.0056 in) 4 5 1/180in (.0056 in) 1/180in (.0056 in) 6 default to: 1/180in (.0056 in) 7 default to: 1/180in (.0056 in) 8 1/180in (.0056 in) 9 default to: 1/180in (.0056 in) 10 1/180in (.0056 in) 11 – 19 default to: 1/180in (.
When the 100:100 aspect ratio is selected by Ps1, Pn3 must take on one of the following values: 1/180 in, change to 200:100 A/R and maintain HGS = 1/180 in 1/140 in, maintain 200:100 A/R and change to HGS = 1/140 in 1/90 in, maintain 200:100 A/R and change to HGS = 1/140 in 1/70 in, maintain 200:100 A/R and HGS = 1/70 in 1/35 in, maintain 200:100 A/R and change to HGS = 1/35 in • Pn is reserved for future use. If parameters are received, they will be ignored without terminating this sequence.
Character Processing in Sixel Graphics Mode In Sixel Graphics mode, characters are made up of standard ASCII text processed as sixel printable characters and sixel control characters. Sixel Printable Characters Sixel printable characters are GL characters in the 3FH – 7EH range decoded as printable characters. Each of these 64 values represent an encoding of six vertical pixels to be printed. The actual pixel size is defined by the Horizontal Grid Size parameter and the pixel aspect ratio.
Sixel Control Codes Sixel control codes are GL characters in the 20H – 3EH range. The parameter separator (3BH) and the parameter digits (30H – 39H) are also included in this range. GR characters in the A0H – BEH range are processed as GL characters by setting the eighth bit to 0. Table 7–20 show how the assigned control characters are processed. Table 7–20.
The numeric parameter specifies the number of times to print the character that follows the repeat introducer. The numeric parameter is a string of characters in the 30H – 39H range, which is evaluated as a decimal number. If a numeric parameter is not received or if the parameter is 0, a value of 1 is assumed. If the parameter is a value larger than the maximum value of 65535, the printer defaults to 65535. All decimal digits are processed as part of the count.
• Pn1 sets the pixel aspect ratio numerator. • Pn2 sets the pixel aspect ratio denominator. 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. The pixel aspect ratio defines the shape of the pixel needed to reproduce the picture without distortion.
When determining pixel size, the printer will attempt to preserve the A/R without exceeding the selected 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 – 1/70 in, the printer maintains a 2.5:1 A/R and changes HGS to 1/90 in – 1/35 in, the printer maintains a 2.
printed after entering Sixel Graphics mode. GCR allows sixel data to overprint lines by consecutively starting at the same horizontal position. For example, if the first sixel data prints at column 10, the GCR causes the next line of sixel data to start at column 10 and not at the left margin. Graphic New Line (–) The Graphic New Line (GNL) control code initiates printing, causes the active position to move to the furthest left position, and advances paper by one sixel height.
communication line errors. An ESC character terminates Sixel Graphics mode, but the printer still processes the 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. The printer remains in Sixel Graphics mode and processes SUB as a sixel space (3FH).
Processing Unused Control Strings The printer ignores all unused control strings. Unused control strings include all Operating System commands (OSC), Privacy Messages (PM), and Application Program commands (APC), as well as all Device Control strings (DCS), unless they are within Sixel Graphics mode.
• After OSC receives an ESC, CAN SUB, ST or C1, it will: 1) enter Text mode 2) ignore any other characters • After PM receives an ESC, CAN SUB, ST or C1, it will: 1) enter Text mode 2) ignore any other characters • After APC receives an ESC, CAN SUB, ST or C1, it will: 1) enter Text mode 2) ignore any other characters 7–120 Digital Emulation
Drawing Vectors (DECVEC) ASCII Code ESC [ Pn1 ; Hex Code 1B 5B Pn1 3B Pn2 3B Pn3 3B Pn4 3B Pn5 3B 21 7C Dec Code 27 91 Pn1 59 Pn2 59 Pn3 59 Pn4 59 Pn5 59 33 124 Purpose Draw horizontal or vertical lines with length and width Discussion Margins do not affect line drawing so you can draw lines to the physical limits of the page. The DECVEC command sequence draws vectors without changing the currently active position.
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) ASCII Code ESC [ P1; P2;...P5‘r Hex Code 1B 5B P1 3B P2 3B...P5 27 72 Dec Code 27 91 P1 59 P2 59...P5 39 114 Purpose Defines the parameters for block characters.
Setting Block Character Parameters (DECBCS) (continued) The horizontal intercharacter gap for 0 degrees and for 180 degrees rotation is 1/60 in times the horizontal magnification factor. Characters rotated 90 degrees and 270 degrees have a horizontal intercharacter gap of 3/60 in times the vertical magnification factor. • P2 defines the vertical magnification factor. The maximum value of P2 is limited by page length.
Setting Block Character Parameters (DECBCS) (continued) • P5 specifies the block character’s orientation. P5 0/missing Function Same as current orientation 1 Portrait (0 degree rotation 2 3 Landscape (90 degree rotation) Reverse landscape (270 degree rotation) 4 Portrait upside down (180 degree rotation) NOTE: When the sequence selects character rotation, each character is rotated around its axis by the above specified degree.
Stop Block Character Mode ASCII Code ESC % @ Hex Code 1B 25 40 Dec Code 27 37 64 Purpose Stops the generation of block characters Discussion Once the block character sequence is stopped, the font attributes, the CPI settings, and the LPI settings are returned to their previous values. Printer Reset The sequences below reset the printer to predetermined operating features and conditions. These default operating conditions are listed in the next section.
Selecting IBM Proprinter Emulation via DECIPEM Digital emulation is the default when printer power is turned on, but you can select IBM Proprinter emulation with one control sequence, the Enter IBM Proprinter Emulation sequence (DECIPEM): ASCII: Hex: CSI 9BH ? 3FH 5 35H 8 38H h 68H This sequence performs the same function as the Select Other Coding System (SOCS) sequence.
Selecting IBM Proprinter Emulation via SOCS Digital emulation is the default when printer power is turned on, but you can select Proprinter emulation with one control sequence, the Select Other Coding System (SOCS) sequence: ASCII: Hex: ESC 1BH % 25H = 3DH SOCS resets IBM emulation mode to its initial conditions, which include: • Downloaded buffer • Character and line pitch • Character attributes • Print density • Form length • Tabs • Active Character Set The only valid Digital–compatible
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.
Enter Draft Mode ASCII Code ESC % / 3 Hex Code 1B 25 2F 33 Dec Code 27 37 47 51 Purpose Puts the emulation into high speed draft print mode. Discussion All text following this command will be printed in the high speed draft font. This mode is slightly faster than the normal printing mode because of the simplified font. The high speed draft font can also be selected using the operator’s control panel. (Refer to Chapter 4.
Default Values and States The printer stores a set of typical operating states and conditions in ROM. The first time you power up the printer, the factory settings in Table 7–22 are automatically invoked. Table 7–22.
Upon receipt of a reset, the printer uses the default values in Table 7–23. Table 7–23.
At power–up, the parameter values in Table 7–24 are automatically retained from the previous power–on session. Table 7–24.
8 IBM Proprinter Emulation Chapter Contents IBM Proprinter Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–2 Selecting IBM Proprinter Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–2 Selecting IBM Proprinter Emulation via the Control Panel . . . . . . . . . . . . . 8–2 Selecting IBM Proprinter Emulation via DECIPEM . . . . . . . . . . . . . . . . . . 8–3 Selecting IBM Proprinter Emulation via SOCS . . . . . . . . . . . . . .
IBM Proprinter Emulation Emulation refers to the ability of a printer to execute the commands of other printer control languages. In IBM Proprinter Emulation mode, the printer prints files coded for the Proprinter. You can choose one of three ways to select Proprinter emulation, as explained in “Selecting IBM Proprinter Emulation” below. A printer control language (also called a printer protocol) is the coding system used to convey, manipulate, and print data.
6. Press ENTER. An asterisk ( * ) appears after the display message; that is, “Emulation Proprinter XL * ” displays. This means that the printer has set all configuration values associated with the emulation. The values are those previously saved when the Proprinter emulation was selected. If no values were altered, the factory default values for Proprinter emulation are loaded. 7. Press CLEAR to return to “Off–line Emulation.” 8. Press UP and DOWN simultaneously to lock the ENTER switch.
To exit IBM Proprinter emulation, enter the following escape sequence: ASCII: Hex: ESC 1BH [ 5BH ? 3FH 5 35H 8 38H 1 6CH Note that the CSI sequence (the Enter DECIPEM sequence) cannot be used in place of the Exit IBM Proprinter Emulation mode. In IBM mode, the CSI is processed as an ESC.
ASCII: Hex: ESC c 1B 63 or by sending a Soft Terminal Reset (DECSTR) control sequence: ASCII: Hex: ESC [ ! p 1B 5B 21 70 These sequences accomplish the same reset function. Do not use the CSI command sequence for the DECSTR control string. Graphics Proprinter emulation provides one data protocol for printing graphics information. Bit Image graphics protocol allows an image block to be printed. When using Bit Image protocol, you can mix text and graphics on the same line.
Dot Density Versus Printing Speed When you select ESC K (normal density), the dot columns are printed at 60 dpi horizontally and 75 dpi vertically. This does not decrease the speed of the print engine. If ESC L (double density) is selected, the dot columns are printed at 120 dpi horizontally and 75 dpi vertically. Double density reduces the speed of the print engine by one half.
Character Sets The printer emulates IBM’s Code Page 437 and Code Page 850, which are shown in Appendix C. Code Pages A code page is a set of symbols printed by the Proprinter emulation. These symbols consist of letters, numbers, or graphic elements. The Proprinter emulation supports different language requirements by utilizing different code pages. The Proprinter emulation uses characters from code pages 437 and 850. These pages are set up in a table format, as described in the following subsection.
Example A sample written in BASIC programming language is provided when it is possible to illustrate the effect of a control code or if a specific syntax is required. The programs in this chapter were run on an IBM Personal Computer using Microsoft GW–BASIC version 3.22. Ignored Codes Table 8–1 lists control codes that are ignored by the Proprinter emulation. Table 8–1.
Table 8–1. Ignored Codes (continued) ESC 60 – FF ––– 1 Note 1: Can occur at any place in the datastream and is acted upon immediately. Note 2: If this code is also used in the Serial Interface Protocol (SIP), the SIP function takes precedence over the control code definition. Table 8–2 lists control codes not implemented at this time. The codes are usually followed by large blocks of data. The Proprinter emulation ignores the control code and any data applicable to that control code. Table 8–2.
Control Code Index and Descriptions This index lists each printer command by function, ASCII mnemonic, and the page where the command is explained in detail. N/A means not applicable.
Function Select Character Set 1 (A) Code Page ESC 7 8–48 ESC SI DC2 ESC ESC ESC SO DC4 ESC ESC ESC ESC ESC ESC ESC ESC ESC E F I _ [ S T – B 8–19 8–20 8–21 8–22 8–23 8–24 8–25 8–26 8–27 8–28 8–45 8–46 8–47 8–50 8–49 8–51 8–54 ESC ESC ESC ESC L Y K Z Print Mode Character Pitch 12 cpi Condensed Print Select Condensed Print Cancel and Set to 10 cpi Double Strike Printing (Set) Double Strike Printing (Cancel) Double Wide Print Double Wide Print (One Line Only) Double Wide Print (Cancel) Emphasized Pri
Backspace ASCII Code BS Hex Code 08 Dec Code 08 Purpose Moves the logical print head left one character space toward the first character column. Discussion This code locks the current data in the string buffer, which allows certain control codes to emulate immediate printing of the buffer. CAN clears data in the buffer that should be printed. This code is ignored if the logical print head is positioned at the first character column.
Bit Image Mode, Normal Density ASCII Code ESC K n1 n2 Hex Code 1B 4B Dec Code 27 75 n1 n2 Expression CHR$(27);”K”;CHR$(n1);CHR$(n2);”DATA” Purpose Selects Single (Normal) Density Bit Image graphics. where Discussion n1 + 256 n2 define the number of data bytes to follow. DATA = ASCII characters for the dot pattern bytes. For more information, see “Graphics,” page 8–5. This code can occur at any place in the datastream and is acted upon immediately.
Bit Image Mode, Double Density ASCII Code ESC L n1 n2 Hex Code 1B 4C Dec Code 27 76 n1 n2 Expression CHR$(27);”L”;CHR$(n1);CHR$(n2);”DATA” Purpose Selects Double Density Bit Image graphics. where Discussion n1 + 256 n2 define the number of data bytes to follow. DATA = ASCII characters for the dot pattern bytes. All data following this code are printed in bit image graphics at double the current horizontal dot density. The current vertical dot density is unchanged.
Bit Image Mode, Double Density, Double Speed ASCII Code ESC Y n1 n2 Hex Code 1B 59 Dec Code 27 89 n1 n2 Expression CHR$(27);”Y”;CHR$(n1);CHR$(n2);”DATA” Purpose Prints double density graphics at twice the speed of double density by ignoring adjacent dots. where n1 + 256 n2 define the number of data bytes to follow. DATA = ASCII characters for the dot pattern bytes. Discussion This code can occur at any place in the datastream and is acted upon immediately.
Bit Image Mode, Quadruple Density ASCII Code ESC Z n1 n2 Hex Code 1B 5A n1 n2 Dec Code 27 90 n1 n2 Expression CHR$(27);”Z”;CHR$(n1);CHR$(n2);”DATA” Purpose Selects Quadruple Density Bit Image graphics. where n1 + 256 n2 define the number of data bytes to follow. DATA = ASCII characters for the dot pattern bytes. Discussion This code can occur at any place in the datastream and is acted upon immediately. Print speed is reduced by half. For detailed information, see “Graphics,” page 8–5.
Bottom Margin Set ASCII Code ESC N n Hex Code 1B 4E n Dec Code 27 78 n Purpose Sets the bottom margin. Discussion n defines the number of lines above the bottom of the form to set as the bottom margin. n has a range from 1 through 255. If a line feed command causes the active position to advance below the bottom margin, the paper advances to the top of the next form. If the page length is equal to or greater than the form length, the length is reset to the length of the form.
Cancel ASCII Code CAN Hex Code 18 Dec Code 24 Purpose Clears the print buffer of all printable symbols since the last paper motion command was received. Discussion The CAN command cancels all printable characters sent to the printer from the last paper motion command. If any attribute command is sent before a CAN command, all data before the attribute command are printed unless the attribute command is a Horizontal Tab command. This command will cancel the double wide attribute if set by SO.
Character Pitch 12 cpi ASCII Code ESC : Hex Code 1B 3A Dec Code 27 58 Purpose Sets character pitch to 12 cpi. Discussion Character pitch can also be set via front panel controls. Refer to Chapter 4, “Configuration,” for instructions. An ESC : code overrides any front panel setting. An ESC : code can occur at any place in the datastream and is acted upon immediately. Clear Tabs ASCII Code ESC R Hex Code 1B 52 Dec Code 27 82 Purpose Clears all horizontal and vertical tab stops.
Condensed Print Select ASCII Code SI ESC SI Hex Code 0F 1B 0F Dec Code 15 27 15 Purpose Selects up to 20 characters per inch (cpi) condensed print format. Discussion The condensed print command SI affects all subsequent characters. After receiving code SI, all characters are printed in condensed print until reset by the Condensed Print Cancel command, DC2, printer reset, or a new print mode command. The Proprinter SI code (hex 0F) is equivalent to the ESC SI code.
Condensed Print Cancel and Set to 10 CPI ASCII Code DC2 ESC DC2 Hex Code 12 1B 12 Dec Code 18 27 18 Purpose Cancels condensed character printing and sets pitch to 10 cpi. Discussion The Cancel Condensed Print command resets 6, 8.55, 12, 17.1, or 20 cpi pitch to 10 cpi character pitch. Other print attributes are not affected. Cancel Condensed Print command can occur at any place in the datastream and is acted upon immediately.
Double Strike Printing (Select) ASCII Code ESC G Hex Code 1B 47 Dec Code 27 71 Purpose Selects double strike (bold) character printing. Discussion When this command is received, all characters are printed in double strike until reset by the Double Strike Print reset command or printer reset. Double strike printing is ignored for scripts and double high printing. Double strike printing can occur at any place in the datastream, is acted upon immediately, and reduces the print speed.
Double Strike Printing (Cancel) ASCII Code ESC H Hex Code 1B 48 Dec Code 27 72 Purpose Cancel double strike character printing. Discussion The Double Strike Print Cancel command only cancels the double strike print character attribute. Other print attributes such as double wide printing are not affected. An ESC H code can occur at any place in the datastream and is acted upon immediately.
Double Wide Print ASCII Code ESC W n Hex Code 1B 57 n Dec Code 27 87 n Purpose Selects or cancels double wide print. Discussion An ESC W code sets or cancels double wide print as follows: The value of n is in the 00 to FF hex range. If n = odd, double wide print is selected for all following lines. If n = even, double wide print is cancelled for all following lines. When expanded print using ESC W is received, all characters print double wide until cancelled by an even parameter hex code.
Double Wide Print (One Line Only) ASCII Code SO Hex Code 0E Dec Code 14 Purpose Selects double wide print for one line only. Discussion This expanded print command is a line–by–line print attribute; when the SO or ESC SO command is received, the current line will be printed double wide and automatically reset. This command can be reset by a paper motion command (LF, VT, CR), by the DC4 (double wide cancel) code, CAN or ESC W (double wide print).
Double Wide Print (Cancel) ASCII Code DC4 ESC DC4 Hex Code 14 1B 14 Dec Code 20 27 20 Purpose Cancels double wide print, if it was set by command SO. Discussion The DC4 code cancels Double Wide Print command SO. If Double Wide Print is not enabled, the DC4 code is ignored. A DC4 code can occur at any place in the datastream and is acted upon immediately.
Emphasized Print (Select) ASCII Code ESC E Hex Code 1B 45 Dec Code 27 69 Purpose Selects emphasized character print format. Discussion When the emphasized print command is received, all characters will be printed in emphasized print until reset by the Emphasized Print Reset command or printer reset. The emphasized print attribute can be used in either NLQ or Draft mode. An ESC E code can occur at any place in the datastream and is acted upon immediately.
Emphasized Print (Cancel) ASCII Code ESC F Hex Code 1B 46 Dec Code 27 70 Purpose Cancels emphasized character printing. Discussion The emphasized print reset command only resets the emphasized print character attribute. An ESC F code can occur at any place in the datastream and is acted upon immediately.
Escape Printer capability is greatly increased by combining character codes into escape sequences. Escape sequences always begin with the ASCII escape sequence introducer, ESC (hex 1B). An ESC sequence introducer 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. NOTE: For readability, code sequences appear in this manual with spaces inserted between command elements.
Form Feed ASCII Code FF Hex Code 0C Dec Code 12 Purpose Prints the data in the buffer, advances the paper to the next top–of–form, and moves the printhead to the first character column. Discussion The default forms length is determined by the configuration in nonvolatile memory. Forms length is set by using the control panel form length setting or forms length commands. Code FF cancels double wide (expanded) characters if set by the SO command.
Forms Length Set (Inches) ASCII Code ESC C 0 n Hex Code 1B 43 00H n Dec Code 27 67 0 n Purpose Sets the length of forms (paper) in inches. Discussion When ESC C 0 n sets the forms length, n alone is measured in inches, with a range of 1 through 21. All other values are ignored. If the active print position is set to column 1, line 1 and printing has occurred on the page, perform a form feed to clear the buffer. If no printing has occurred, you need not invoke a form feed command.
Forms Length Set (Lines) ASCII Code ESC C n Hex Code 1B 43 n Dec Code 27 67 n Purpose Sets the length of a form (paper) in lines. Discussion When forms length is set by the ESC C n sequence, it is the product of the parameter n and the current line spacing. The range of n is 1 through the total number of lines that total 21 inches at the current line spacing. When necessary, the form length is rounded to the nearest dot row position.
Horizontal Tab ASCII Code HT Hex Code 09 Dec Code 09 Purpose Moves the logical printhead right to the next horizontal tab stop. Discussion Power–on default horizontal tabs are set at every eighth character in the Proprinter protocol. If there are no horizontal tabs set or the logical printhead is located at the last character column, the code is ignored and no movement occurs. If double wide, double high attributes are enabled, single wide character spacing is used.
Horizontal Tab Set ASCII Code ESC D n1 n2 nk 0 Hex Code 1B 44 n1 n2 nk 30 Dec Code 27 68 n1 n2 nk 48 Purpose Sets up to 28 horizontal tab positions. Discussion n denotes the character column position, at the current character pitch, for each tab stop in relation to character column one. n can range from 1 through 255, inclusive, and all parameters must be in ascending order. Any out–of–order symbols are ignored, though the remainder of the sequence is processed.
Horizontal Tab Set (continued) IBM Proprinter Emulation 8–35
Initialize Parameters ASCII Code ESC [ K 4 0 n1 n2 n3 n4 Hex Code 1B 5B 4B 34 30 n1 n2 n3 n4 Dec Code 27 91 75 52 48 n1 n2 n3 n4 Purpose Sets the printer’s initial condition. Discussion Values n1, n3, and n4 define the bits that set various conditions for the printer. Setting parameter n1 performs two functions: 1) Values 00–01 load and change the bits for parameters n3 and n4 to pre–configured settings. 2) Values FE and FF save the custom settings for parameters n3 and n4.
Initialize Parameters (continued) n3 Bit ON (1) OFF (0) 7 6 Ignore Reserved Process Reserved Process this byte Reserved 5 ––– ––– N/A 4 3 2 LF + CR CR + LF 12” LF CR 11” LF = CR = Set form length 1 0 Enable Disable Slashed zero 2 (B) 1 (A) Character Set n4 Bit 7 ON (1) OFF (0) Function Function 6 Ignore 850 Process 437 Process this byte Code page 5 uni bi Unidirectional printing 4 3 2 12 ––– Ignore 20 ––– Enable Compressed 12 cpi N/A Form feed at TOF 1 0 8 inch 13.
Line Feed ASCII Code LF Hex Code 0A Dec Code 10 Purpose Prints the data in the buffer (if any) and advances the paper one line at the current line space setting. Discussion If configured for LF equals new line (LF = CR + LF), the logical print head is positioned at character column 1 of the new line. Otherwise, the logical print head does not move when configured for LF function only (LF = LF ONLY). The LF function cancels double wide (expanded) characters if set by the SO command.
Line Feed n/216 Inch ASCII Code ESC J n Hex Code 1B 4A n Dec Code 27 74 n Purpose Advances paper n/216 inches for one line only. Discussion The range of n is 1 through 255. The value of n must be an integer multiple of 3 to move paper exactly n/216 inches. Example The following example illustrates n/216–inch line spacing.
Line Spacing 1/8 Inch (8 lpi) ASCII Code ESC 0 Hex Code 1B 30 Dec Code 27 48 Purpose Specifies continuous line spacing at 1/8–inch increments (8 lpi). Discussion When the 1/8–inch line spacing command is received, all lines will be printed at 8 lpi until a new line spacing is selected or power is recycled. All control codes that define vertical distance expressed in inches are stored internally in units of paper drive steps.
Line Spacing 7/72 Inch (10.3 lpi) ASCII Code ESC 1 Hex Code 1B 31 Dec Code 27 49 Purpose Specifies the line spacing at 7/72–inch (10.3 lpi) increments. Discussion When the 7/72–inch line spacing command is received, all lines will be printed at the 7/72–inch line spacing until a new line spacing is selected or power is recycled. The line spacing will be set at 10.3 lines per inch.
Line Spacing n/72 Inch (Executes) ASCII Code ESC 2 Hex Code 1B 32 Dec Code 27 50 Purpose Executes line spacing as set by ESC A. Discussion All NL or LF commands move the paper n/72–inch line spacing until a new line spacing is selected or power is recycled. If a distance has not been selected by ESC A, the default setting, 1/6–inch, is used. All control codes that define vertical distance expressed in inches are stored internally in units of paper drive steps.
Line Spacing n/72 Inch (Storage) ASCII Code ESC A n Hex Code 1B 41 n Dec Code 27 65 n Purpose Stores a line spacing of n/72–inch increments. Discussion Line spacing can be set in any increment from 1 to 255, inclusive. All other n values cause the command sequence to be ignored up to the point of the detected error. Subsequent symbols are then interpreted. To execute this setting, refer to “Line Spacing n/72 Inch (Execution),” page 8–42.
Line Spacing n/216 Inch ASCII Code ESC 3 n Hex Code 1B 33 n Dec Code 27 51 n Purpose Sets graphic line spacing of n/216 for bit–image graphics using 8 bits. Discussion The range of n = 1 – 255. The value of n must be an integer multiple of 3 to move exactly n/216 inch. Example The following example illustrates n/216–inch line spacing.
Near Letter Quality Print ASCII Code ESC I Hex Code 1B 49 n Dec Code 27 73 n Purpose Selects a font. Discussion Select a font using the following choices: n Hex Function X0 Draft X1 Draft X2 NLQ X3 NLQ X4 Draft X5 Draft X6 NLQ X7 NLQ XB NLQ underlined XF NLQ The current pitch is not affected.
Overscoring ASCII Code ESC _ n Hex Code 1B 5F n Dec Code 27 95 n Purpose Enables or disables automatic overscoring of all characters. Discussion When automatic overscore is enabled, all characters (including spaces and spaces resulting from tabs) are overscored until disabled. Full–height graphic characters are not printed with overscores.
Select Attributes ASCII Code ESC [ @ n1 0 0 0 n2 n3 Hex Code 1B 5B 40 n1 0 0 0 n2 n3 Dec Code 27 91 64 n1 0 0 0 n2 n3 Purpose Selects double high and double wide attributes, and single or double high line spacing. Discussion Parameter n1 selects the attributes from n2 and n3, as follows: n1 Hex Value Function 03 Set character height and line feed settings according to the value of n2. 04 Set character height, line feed, and character settings according to the values of n2 and n3.
Select Attributes (continued) An ESC [ @ code can occur at any place in the datastream and is acted upon immediately. All numerical parameters are in the 00 to FF hex range unless stated otherwise. Unspecified parameters are ignored to the point where the error is detected, then subsequent symbols are interpreted. Select Character Set 1 (A) ASCII Code ESC 7 Hex Code 1B 37 Dec Code 27 55 Purpose Selects Character Set 1.
Superscript/Subscript Printing ASCII Code ESC S n Hex Code 1B 53 n Dec Code 27 83 n Purpose Selects superscript or subscript printing. Discussion An ESC S code can be set for superscript or subscript printing, as follows: If n = odd, the subscript attribute is selected. If n = even, the superscript attribute is selected. When the super/subscript command is received, all characters will be superscript or subscript until reset by the super/subscript reset command or printer reset.
Superscript/Subscript Printing (Cancel) ASCII Code ESC T Hex Code 1B 54 Dec Code 27 84 Purpose Cancels superscript and subscript printing. This code can occur at any place in the datastream and is acted upon immediately. Set Top–of–Form ASCII Code ESC 4 Hex Code 1B 34 Dec Code 27 52 Purpose Sets the current paper position as the top–of–form. Discussion A top–of–form command can occur at any place in the datastream and is acted upon immediately.
Underline ASCII Code ESC – n Hex Code 1B 2D n Dec Code 27 45 n Purpose Enables or disables automatic underlining of all characters. Discussion When automatic underline is enabled, all characters, including spaces are underlined until disabled. Enable/disable underline as follows: n = odd enables automatic underlining (hex 00 or hex FF). n = even disables automatic underlining (hex 01 or hex FF). An underline command can occur at any place in the datastream and is acted upon immediately.
Unidirectional Printing ASCII Code ESC U n Hex Code 1B 55 n Dec Code 27 85 n Purpose Sets or cancels unidirectional printing for text. Discussion An ESC U code sets or cancels unidirectional printing for text, as follows: n = odd selects unidirectional text printing. n = even cancels unidirectional text printing. An ESC U code can occur at any place in the datastream and is acted upon immediately. All numerical parameters are in the 00 to FF hex range unless stated otherwise.
Vertical Tab ASCII Code VT Hex Code 0B Dec Code 11 Purpose Prints the data in the buffer and advances the paper to the next vertical tab position. Discussion If a vertical tab format is not defined, the paper is advanced to the next line at the current line spacing. If a vertical tab format is defined but no vertical tab positions are set between the current print position and the end of the form, the paper is advanced to the next line at the current line spacing.
Vertical Tab Set/Clear ASCII Code ESC B n1 n2 nk 0 Hex Code 1B 42 n1 n2 nk 30 Dec Code 27 66 n1 n2 nk 48 Purpose Sets or clears vertical tab positions. Discussion The physical position on the paper is defined by n and the current line spacing. n is the number of column settings. k equals the number of tab position settings possible. The value of n can both be defined in the range of 1 to 255, inclusive, while k is defined in the range of 1 to 64. Any value for k over 64 is ignored.
Vertical Tab Set/Clear (continued) IBM Proprinter Emulation 8–55
8–56 IBM Proprinter Emulation
9 Epson FX Emulation Chapter Contents Epson Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–2 Emulation Exceptions and Differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–2 IBM Proprinter Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–2 Selecting Epson Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Epson Emulation Emulation refers to the ability of a printer to execute the commands of other printer control languages. In Epson emulation mode, the printer prints files coded for Epson FX series printers and emulates certain features of Epson 850/1050 printers. You can configure the printer from the control panel to respond to Epson FX series control codes. (See “Selecting Epson FX Emulation” on page 9–3.
Selecting Epson Emulation You select the Epson emulation from the control panel: 1. If the printer is on–line, press the ON LINE switch to place it in the off–line state. “Off–Line Emulation” appears on the message display. 2. Open the printer cover. 3. On the control panel, press UP and DOWN simultaneously to unlock the ENTER switch. “Unlocked” appears briefly on the message display. (If “Locked” appears, simply press UP and DOWN again.) 4. Press DOWN to enter the emulation menu.
Default Values and States, Epson Emulation The printer stores a set of typical operating states and conditions in ROM. The first time you power up the printer, the factory settings in Table 9–1 are automatically invoked. Table 9–1. Factory Settings, Epson Emulation Characteristic Default Setting Font Draft 10 Condensed No Character Set Epson International Set USA Slashed Zero No CR = CR Default Page Length 11 inches Default Skip Over Perf No Default Page Width 9–4 13.
Epson Character Sets Epson printers use two character sets. One is the IBM Graphics Code Page 437. The other set is unique to Epson. The Epson character set is basically the ASCII character set with the upper, non–ASCII set defined as italics, and the usually unprintable codes reassigned as international characters. In the LG06 and LG12 printer, the Epson italic character set prints underlined. (See Figure 9–1.) Figure 9–1.
Escape Sequences An Epson control code consisting of more than one character is called an escape sequence because the first charcter in the sequence is always the ASCII ESCape character. ESC alerts the printer that a special function command—not printable characters—follows. The general format for an escape sequence is: (ESC)(parameter 1)(parameter 2)...
How Control Codes are Described in this Chapter The following information is listed for each code (where applicable and possible): ASCII Mnemonic – The ASCII name for the control code. Hex Code – The hexadecimal equivalent of the code. (For decimal and octal equivalents, refer to Appendix A.) Purpose – The function(s) of the control code. Comment – A description of exceptions or limitations to normal use.
Control Code Index and Descriptions The following index lists the control codes by function, ASCII mnemonic, and page number. Some control code functions can also be selected at the control panel. † = Produces non–Epson behavior in the printer.
† = Produces non–Epson behavior in the printer. † † † Set Intercharacter Spacing in 1/120”.
† = Produces non–Epson behavior in the printer.
Line Feed ASCII Code LF HEX Code 0A Purpose Prints the data in the buffer (if any) and advances the vertical character postion a distance of one line at the current line spacing. Comment The simulated print head keeps the same distance from the margin. The current line is printed and the simulated printhead moves down a distance equal to the current line spacing. If there are no dots, paper moves and no printing occurs. When possible, successive line feeds are accumulated and moved at once.
Line Feed n/216 Inch ASCII Code ESC J n HEX Code 1B 4A n Purpose Immediately advances the paper n/216 inch. where Comment n = 0 to 255 inclusive n = 0 is ignored. Paper movement occurs in multiples of 3/216 inch. This command produces an immediate line feed but does not affect line spacing or produce a carriage return. Any one–line–only print attributes in effect are canceled. Small values of n may result in overlapping lines.
Backward Line Feed n/216 Inch (One Line) ASCII Code ESC j n HEX Code 1B 6A n Purpose Immediately moves the paper backward n/216 inch. where † Comment n = 0 to 255 inclusive This command is ignored by the printer. Form Feed ASCII Code FF HEX Code 0C Purpose Prints the data in the buffer, if any, then moves the paper to the top of the next form Comment The simulated print head moves to the left margin.
Set Page Length by Lines ASCII Code ESC C n HEX Code 1B 43 n Purpose Sets the page length by lines. where Comment n = hex 1 to hex 7F, to specify the number of lines per page at the current line spacing. The current line becomes the first line of the form. The forms length units are always defined in inches; therefore, subsequent line spacing changes do not affect the result of this command. Changing lpi does not change the forms length.
Set Page Length in Inches ASCII Code ESC C 0 n HEX Code 1B 43 30 n Purpose Sets page length to n inches. where Comment n = whole numbers (hex values) from 1 to 24 to specify the number of inches on a page. Upon receipt of this code, the current line becomes the first line of the form, and the form length set becomes the current forms length. Vertical tab positions set below the bottom of the form are ignored.
Skip Over Perforation ASCII Code ESC N n HEX Code 1B 4E n Purpose Selects the number of lines (at the current line spacing) for the paper to skip at the bottom of the perforated page. where Comment n = 1 to 127. n is the number of lines skipped between the last line printed on one page and the first line on the next page. The actual distance set is the product of n and the current line spacing.
Vertical Tab, Execute ASCII Code VT HEX Code 0B Purpose Advances the simulated print head to the next vertical tab position selected by ESC /. Comment If no vertical channel was selected, channel 0 is used. If no vertical tabs were set, the paper advances one line. The simulated print head moves to left margin. If a tab position is on the current line, the paper is moved to the next tab position.
Vertical Tab, Set/Clear ASCII Code ESC B n1 n2 n3...nk NUL HEX Code 1B 42 n1 n2 n3...nk 00 Purpose Sets up to 16 vertical tab positions. where n = 0 to 255 and k = 1 to 16 n1 through nk specify the line number for the vertical tab(s), up to a maximum of 16 tab positions. NUL must end the sequence. To clear the tab settings, send ESC B NUL (1B 42 00). Expression CHR$(27);”B”;CHR$(n1);...CHR$(nk);CHR$(0); Comment The values of n range from 1 to 255 and must be in ascending order.
Select Vertical Tab Channel ASCII Code ESC / c HEX Code 1B 2F c Purpose Selects a vertical tab channel set by ESC b. where Comment Epson FX Emulation c = 0 through 7. Subsequent VT (Hex 0B) commands use tab table specified by c. If no tab table is selected, table 0 is used.
Set Vertical Tabs in Channels ASCII Code ESC b c n1 n2 n3 ... nk 0 HEX Code 1B 62 c n1 n2 n3 ... nk 00 Purpose Assigns vertical tabs to channels established by ESC /. where Comment c = 0 through 7 nx = 0 through 255 Channels are selected by ESC /. The most significant bit of all the n values is cleared when read, so that hex 81 becomes hex 1, and hex 80 becomes hex 0 which ends the load. The distance of each tab stop from TOF is the current line spacing times the number of lines given in n.
Line Spacing 1/6 Inch (6lpi) ASCII Code ESC 2 HEX Code 1B 32 Purpose Sets the line spacing to 1/6 inch for subsequent line feeds. Comment The 2 is ASCII character 2, not hex 2. This control code overrides line spacing set at the control panel. Example Epson FX Emulation The following example illustrates 1/6–inch line spacing.
Line Spacing 1/8 Inch (8 lpi) 9–22 ASCII Code ESC 0 HEX Code 1B 30 Purpose Sets the line spacing to 1/8 inch (8 lpi) for subsequent line feeds. Comment When ESC 0 is received, all lines are printed at 8 lpi until a new line spacing is selected or power is reset. This control code overrides line spacing set at the control panel. Example The following example illustrates 1/8–inch line spacing.
Line Spacing 7/72 Inch ASCII Code ESC 1 HEX Code 1B 31 Purpose Sets the line spacing to 7/72 inch (10.3 lpi) for subsequent line feeds. Comment All lines are printed at the 7/72–inch line spacing until a new line spacing is selected or power is reset. This control code overrides line spacing set at the control panel. Printing speed is reduced if printed lines overlap. Example Epson FX Emulation The following example illustrates 7/72–inch line spacing.
Line Spacing n/216 Inch ASCII Code ESC 3 n HEX Code 1B 33 n Purpose Specifies the line spacing at n/216–inch increments. where Comment n = 1 to 255 All line feeds following receipt of this code are at n/216 inch line spacing until a new line spacing is selected or power is reset. Line spacing set by this control code overrides line spacing setting set at the control panel.
Line Spacing n/72 Inch ASCII Code ESC A n HEX Code 1B 41 n Purpose Sets a line spacing of n/72 inch for subsequent line feeds. where Comment n = 0 to 85 (all other values are ignored) When this control sequence is received, all subsequent line feeds are n/72–inch until a new line spacing is selected or power is reset. This setting overrides line spacing set at the control panel. Small values of n may result in overlapping lines.
Disable Paper Out Detection ASCII Code ESC 8 HEX Code 1B 38 Purpose Enable printing to the end of the paper supply when a paper out condition is sensed. † Comment The printer decodes and ignores this command. This command is defined for the Epson FX–850 and FX, but not for the DFX–8000. Enable Paper Out Detection 9–26 ASCII Code ESC 9 HEX Code 1B 39 Purpose Asserts a paper out condition immediately when the end of the paper supply is sensed.
Backspace ASCII Code BS HEX Code 08 Purpose Moves the simulated print head to the left one character space toward the first character column. Comment Assures that the previous printable characters will be printed, then moves the simulated print head one character space to the left at the current pitch setting (which includes double wide and ESC SP). If the simulated print head bumps into the left margin, it stops.
Horizontal Tab Execute ASCII Code HT HEX Code 09 Purpose Moves the simulated print head to the next horizontal tab stop. Comment Power–on default horizontal tabs are set at every eighth character at the current character spacing. Tab positions are not affected by a change of font or character width. Blank spaces between HT stops are not underlined in underline mode. This command is ignored if a justification mode ESC a n is set with n 0, emulating the FX.
Horizontal Tab Set/Release ASCII Code ESC D n1 ... nk HEX Code 1B 44 n1 ... nk Purpose Sets up to 32 horizontal tab positions. Expression CHR$(27);”D”;CHR$(n1);...CHR$(n32);CHR$(0); where Comment n1 through n32 specify the character column of the tab positions. CHR$(0) is the sequence terminator. n = 0 clears all tabs. The values of n must be listed in ascending order or they are ignored. Tabs greater than 32 or those positioned beyond the right margin are ignored.
Set Absolute Horizontal Print Position in 1/60 Inch ASCII Code ESC $ n1 n2 HEX Code 1B 24 n1 n2 Purpose Moves the simulated print head to an absolute horizontal print position, using 1/60 inch increments. where (n1 + (n2 x 256)) = the unsigned distance in inches from the left 60 margin. Comment If the distance goes beyond right margin, the sequence is ignored.
Character Pitch 12 CPI ASCII Code ESC M HEX Code 1B 4D Purpose Sets character pitch to 12 characters per inch (cpi). Comment This command is available in both DP and NLQ print modes. Character Pitch 10 CPI ASCII Code ESC P HEX Code 1B 50 Purpose Sets character pitch to 10 characters per inch (cpi). Comment This command is available in both DP and NLQ print modes. This command is normally used to cancel 12 cpi.
Set Right Margin ASCII Code ESC Q n HEX Code 1B 51 n where n = number of columns from the right edge of the physical page to the end of the print line. Purpose Sets the right margin to n columns at the current character width. Comment The number of inches of margin does not vary if the font, character width, or horizontal dot density changes. This command automatically clears and resets horizontal tabs to every eight characters, then performs a CAN operation.
Select Proportional Spacing ASCII Code ESC p n HEX Code 1B 70 n Where n is an integer Purpose Turns proportional mode on and off. † Comment This command is ignored by the printer.
Double Wide Print (One Line) ASCII Code SO ESC SO HEX Code 0E 1B 0E Purpose Selects double wide print for one line only. Comment This control code is a line–by–line print attribute; when SO or ESC SO is received, the current line prints twice as wide then automatically resets. This control code is cancelled by the DC4 code, by a paper motion control code (LF, VT, etc.), or by CR. Example 9–34 The following program illustrates double wide print for one line only.
Double Wide Print ASCII Code ESC W n HEX Code 1B 57 n Purpose Turns double wide print on and off. where n = hex 1 or hex 31 turns double wide print on n = hex 0 or hex 30 turns double wide print off Comment When ESC W is received, all characters are printed twice as wide until reset. This command overrides SO, ESC SO, and DC4. Example The following program illustrates double wide character printing.
Double High Print, Set/Reset ASCII Code ESC w n HEX Code 1B 77 n Purpose Turns double high character printing on and off. Double high characters are standard width but twice as high. where † Comment n = hex 1 or hex 31 turns double high printing on n = hex 0 or hex 30 turns double high printing off Superscript, subscript, and condensed modes are not available in double high mode, but resume when this mode is turned off.
Condensed Print ASCII Code SI ESC SI HEX Code 0F 1B 0F Purpose Condenses print pitch as close to 60% of the former character width as possible. Comment Draft 10 cpi condenses to Draft 17 cpi. Draft 12 and 15 cpi condense to Draft 20. NLQ 10, 12, or 15 cpi condense to NLQ 16.4 cpi. Control code SI affects all subsequent characters. After receiving code SI, all characters are printed condensed until the printer is reset by ESC M, ESC P, DC2, a printer reset, or a new print mode control code.
Condensed Print Reset ASCII Code DC2 HEX Code 12 Purpose Cancels the condensed print mode set by SI, ESC SI, or the control panel. Comment This returns the printer to font that was active before condensed print occurred. Other print attributes are not affected. Example See the Condensed Print control code (page 9–37) for an example of Condensed Print Reset. Underline ASCII Code ESC – n HEX Code 1B 2D n Purpose Turns automatic underlining on and off.
Select Italic Printing ASCII Code ESC 4 HEX Code 1B 34 Purpose Turns on italic character printing. † Comment The printer substitutes underlining for italic character printing. White spaces skipped by HT are not underlined. Character graphics (IBM graphic set hex B0 to DF and F0 to FE) cannot be italicized. Cancel Italic Printing ASCII Code ESC 5 HEX Code 1B 35 Purpose Turns off italic character printing.
Emphasized Print ASCII Code ESC E HEX Code 1B 45 Purpose Selects emphasized character print format. Comment Emphasized print makes text bolder by printing each dot twice, the second dot offset to the right of the first by a distance equal to 1/2 the width of a dot. This command is available in both draft and NLQ modes. Example The following program illustrates emphasized character printing.
Select Double Strike ASCII Code ESC G HEX Code 1B 47 Purpose Makes text bolder by double printing each dot twice. † Comment This command makes text bolder by printing each dot twice, the second dot offset to the right of the first by a distance equal to 1/2 the width of a dot, the same as with ESC E. Double strike is disabled in NLQ mode (emulating all Epson printers). Example The following program illustrates double strike character printing.
Superscript and Subscript Printing ASCII Code ESC S n HEX Code 1B 53 n Purpose Selects superscript or subscript printing. where Comment n = NUL (hex 00) or 0 (hex 30) to enable superscript printing n = SOH (hex 01) or 1 (hex 31) to enable subscript printing Superscript prints full–sized characters 3/72 inch higher than the normal characters. Subscript prints full–sized characters 3/72 inch lower than the normal characters.
Cancel Superscript and Subscript Printing ASCII Code ESC T HEX Code 1B 54 Purpose Cancels superscript and/or subscript printing as set by ESC S n. Master Font and Emphasis Select ASCII Code ESC ! n HEX Code 1B 21 n Purpose Selects or changes print attributes in a single command. where n = an 8–bit number with the bits set to specify fonts and attributes, as shown in Table 9–2 below. Table 9–2. Epson Master Select Options † Comment Epson FX Emulation Bit No.
Select User–Defined Font ASCII Code ESC % n HEX Code 1B 25 n Purpose Selects a user–defined font. † Comment The printer ignores this command and removes all sent font data from the data stream. Define a Download Character ASCII Code ESC & HEX Code 1B 26 Purpose Defines a download character. † Comment The printer ignores this command and removes all sent font data from the data stream.
Character Pitch 15 CPI ASCII Code ESC g HEX Code 1B 70 Purpose Sets character pitch to 15 characters per inch (cpi). † Comment This command is not defined in Epson printers. It is included in this emulation for compatibility with the Okidata KX–P1180 printer. Select Serif or Sans Serif Font ASCII Code ESC k n HEX Code 1B 78 n Purpose To select an NLQ font.
Make 80–9F Hex Printable ASCII Code ESC 6 HEX Code 1B 36 Purpose Makes codes 80–9F hex of IBM Code Page 437 printable characters. Comment This is the default when the IBM PC graphics character set (Code Page 437) is selected as the default set at the control panel. The characters printable are shown in Figure 9–2. Make 80–9F Hex Control Codes 9–46 ASCII Code ESC 7 HEX Code 1B 37 Purpose Makes codes 80–9F hex of IBM Code Page 437 control codes.
B7 B6 BITS 0 0 B5 1 KEY B4 B3 B2 B1 1 0 1 1 ESC OCTAL DECIMAL HEX 33 27 1B CHARACTER B8 B7 1 B6 1 0 B5 BITS 0 0 0 0 1 COLUMN B4 B3 B2 B1 ROW 8 9 0 0 0 0 0 à 200 128 80 § 220 144 90 0 0 0 1 1 è 201 129 81 ß 221 145 91 0 0 1 0 2 ù 202 130 82 Æ 222 146 92 0 0 1 1 3 ò 203 131 83 223 147 93 0 1 0 0 4 ì 204 132 84 Ø 224 148 94 0 1 0 1 5 205 133 85 ø 225 149 95 0 1 1 0 6 £ 206 134 86 ¨ 226 150 96 0 1 1 1 7 ¡ 207 135 87 Ä 227 151 97 1
Enable Printing of Hex Codes 00–1F and 80–9F ASCII Code ESC I n HEX Code 1B 49 n Purpose Permits you to print hex codes 00–1F and 80–9F. where n = 1 allows hex codes 00–1F and 80–9F to be printable and to be used for user–defined characters. n = 0 returns hex 00–1F and 80–9F to control codes. Comment The printable characters that are included in hex codes 00 through1F and 80 through 9F are usually not printable in the default state on Epson printers.
B7 B6 BITS 0 0 B5 1 KEY B4 B3 B2 B1 1 0 1 1 ESC OCTAL DECIMAL HEX 33 27 1B CHARACTER B8 B7 0 B6 0 0 0 B5 BITS 0 0 0 1 COLUMN 0 B4 B3 B2 B1 ROW 1 0 0 0 0 0 à 0 0 0 0 0 0 1 1 è 1 1 1 0 0 1 0 2 ù 2 2 2 DC2 22 18 12 0 0 1 1 3 ò 3 3 3 DC3 23 19 13 0 1 0 0 4 ì 4 4 4 DC4 24 20 14 0 1 0 1 5 5 5 5 ø 25 21 15 0 1 1 0 6 £ 6 6 6 ¨ 26 22 16 0 1 1 1 7 BEL 7 7 7 Ä 27 23 17 1 0 0 0 8 BS 10 8 8 CAN 30 24 18 1 0 0 1 9 HT 11 9 9 Ü 31 25 19
Character Set Select: International Languages ASCII Code ESC R n HEX Code 1B 52 n Purpose Specifies a language overlay that prints the characters shown in Figure 9–4 when the specified code is invoked. where n n = hex 0 to E to determine the language overlay shown in Figure 9–4 below. Epson only defines character sets through hex C. Hex Codes Figure 9–4. Epson International Character Sets 9–50 Comment This control code setting overrides a character set selection made at the control panel.
Character Set Select: International Languages (continued) Cancel Line ASCII Code CAN HEX Code 18 Purpose Clears all unprinted data from a line, but does not affect control codes. Comment You can use this control code to delete a line, but do so with caution to avoid possible misprinting. This control code cancels the double wide attribute set by SO. No other print attributes are affected. The simulated print head goes to the print position it had after the last CR or paper motion command.
Delete Character ASCII Code DEL HEX Code 7F Purpose Deletes the previous character on a line. Comment This command is ignored if it occurs immediately after a CR, a paper motion command, or if a justification mode of ESC a 3 is set (emulates a DFX–8000.) Characters truncated due to line length restrictions are not affected by this code.
Set Bit 7 of Incoming Data Bytes to 1 ASCII Code ESC > HEX Code 1B 3E Purpose Sets the most significant bit (MSB) of all incoming data to 1. Comment The MSB is bit number 7. This command only affects text and control code data. Graphics data pass through unchanged. Select Graphics Mode ASCII Code ESC * m n1 n2 HEX Code 1B 2A m n1 n2 Purpose Turns on 8–pin bit image graphics mode m. Table 9–3 charts the graphics modes available. Comment The total number of columns = n1 + (n2 x 256).
Reassign Graphics Mode ASCII Code ESC ? s m HEX Code 1B 3F s m Purpose Changes one graphics mode to another. Comment s is character K, L, Y, or Z, which is changed to mode m (0–7) from Table 9–3 (page 9–53). Thereafter, sending data to the bit image command makes the data print according to the graphics mode you select with m. Select 9–Pin Graphics Mode ASCII Code ESC ^ m n1 n2 d1 ... dk HEX Code 1B 5E m n1 n2 d1 ... dk Purpose Turns on 9–pin bit image graphics mode.
Graphics, Standard Density ASCII Code ESC K n1 n2 HEX Code 1B 4B n1 n2 Purpose Selects normal density bit image graphics of 60 dots per inch horizontally and 72 dots per inch vertically. Expression CHR$(27);”K”;CHR$(n1);CHR$(n2);”DATA” where n1 + 256 n2 define the number of data bytes to follow. DATA = ASCII characters for the dot pattern bytes. NOTE: “DATA” consist of 8–bit dot columns, with the MSB at the top, and “1” bits producing dots.
Graphics, Double Density ASCII Code ESC L n1 n2 HEX Code 1B 4C n1 n2 Purpose Selects double density bit image graphics of 120 dots per inch. Expression CHR$(27);”L”;CHR$(n1);CHR$(n2);”DATA” where n1 + 256 n2 define the number of data bytes to follow. DATA = ASCII characters for the dot pattern bytes. NOTE: “DATA” consist of 8–bit dot columns, with the MSB at the top, and “1” bits producing dots. For more information, refer to the bit image section in the Graphics chapter.
Graphics, Double Density Double Speed ASCII Code ESC Y n1 n2 HEX Code 1B 59 n1 n2 Purpose Selects double density, double speed bit image graphics of 120 dpi horizontally and 72 dpi vertically. Expression CHR$(27);”Y”;CHR$(n1);CHR$(n2);”DATA” where n1 + 256 n2 define the number of data bytes to follow. DATA = ASCII characters for the dot pattern bytes. NOTE: “DATA” consist of 8–bit dot columns, with the MSB at the top, and “1” bits producing dots.
Graphics, Quadruple Density ASCII Code ESC Z n1 n2 HEX Code 1B 5A n1 n2 Purpose Selects Quadruple Density Bit Image graphics of 240 dpi horizontally and 72 dpi vertically. Expression CHR$(27);”Z”;CHR$(n1);CHR$(n2);”DATA” where n1 + 256 n2 define the number of data bytes to follow. DATA = ASCII characters for the dot pattern bytes. NOTE: “DATA” consist of 8–bit dot columns, with the MSB at the top, and “1” bits producing dots.
Initialize Printer ASCII Code ESC @ HEX Code 1B 40 Purpose Resets all print–related parameters to values previously saved. Comment Resets the previously saved values and the print buffer is cleared of printable data on the line preceding the command. Current position is set as top–of–form. Font, international language selection, form length, skip–over perforation, and character pitch are reset to previously saved values. Other values are returned to default values.
Unidirectional Printing, 1 line ASCII Code ESC < HEX Code 1B 3C Purpose Causes printing to occur from left to right for one line only. Comment Printing normally occurs in both directions of shuttle movement. This command causes the printer to print from right to left for one line. The command is cancelled by a CR. Unidirectional Printing, Set/Reset ASCII Code ESC U n HEX Code 1B 55 n Purpose Causes printing to occur in only one direction of shuttle movement (left to right).
Half Speed Mode, On/Off ASCII Code ESC s n HEX Code 1B 73 n Purpose Reduces printer speed 50% where n = hex 00 or 30 turns half speed mode off n = hex 01 or 31 turns half speed mode on † Comment This is simulated in the printer by unidirectional printing. ASCII Code BEL HEX Code 07 Purpose Sounds the printer’s buzzer/beeper. Comment The BEL function will sound the buzzer/beeper for 0.2 seconds upon receipt of this command.
9–62 Epson FX Emulation
10 Graphics Chapter Contents Printing Graphic Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–2 Proprinter Compatible Bit Image Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–2 Making a Bit Image Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–3 How to Produce Bit Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–3 Bit Image Density . . . . . . . . . . . . . . . . . . .
Printing Graphic Images The printer can produce bit image graphics when it is in Proprinter emulation mode. In either emulation, however, text printing is the default mode. Consequently, every line of graphics data must include the necessary plot mode command to enable the printer to perform graphics functions. You can combine text and graphics on the same line when using the bit image protocol in the Proprinter Emulation mode.
Making a Bit Image Pattern A Bit Image pattern is produced in four steps: 1. On a quadrille pad or graph paper, lay out the graphic pattern you want to print and divide the pattern into vertical data bytes. 2. Determine the decimal equivalent of each bit image data byte required to produce your pattern. (See Figure 10–1.) 3. Write a program to generate the complete pattern. 4. Enter and run the program on the host computer.
ASCII CHARACTER A = DECIMAL VALUE BINARY CODE EQUIVALENT 65 128 64 32 16 8 4 2 1 = TO VERTICALLY ROTATED DATA BYTE PRINTED BIT IMAGE PATTERN MSB = Figure 10–3. Bit Image Pattern from an ASCII Character Bit Image Density You can print bit image graphics in different dot densities. Select dot densities by sending a control code in the datastream: • ESC K selects the Single Density mode. Single Density bit image graphics are printed at 60 dots per inch (dpi) horizontally and 75 dpi vertically.
When printing Quadruple Density graphics, the printer pairs adjacent quadruple density bit image bytes. The compounded data are then printed in the Double Density mode. Printing at quadruple density reduces the printing speed by half.
Bit Image Sample Program The following sample program written in BASIC produces the Single Density bit image pattern shown in Figure 10–4. The 7–bit pattern is repeated 40 times. 10 LPRINT ”Single Density Bit Image Graphics” 20 LPRINT CHR$(27);”K”;CHR$(24);CHR$(1); 30 FOR N=1 TO 40 40 RESTORE 50 FOR I=1 TO 7 60 READ R 70 LPRINT CHR$(R); 80 NEXT I 90 NEXT N 100 DATA 73, 146, 36, 255, 36, 146, 73 110 LPRINT Figure 10–4.
11 Character Sets Chapter Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–2 Selecting the Character Set and Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–2 OCR–A and OCR–B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–2 Numeric Character Location Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction The Digital, Proprinter, and Epson emulations offer different character sets and language overlays. The character sets shown in this chapter are accessable only in Digital emulation mode. Digital and Proprinter character set matrices and language substitution tables are provided in Appendix C. Epson FX printers can access two character sets: the Epson character set illustrated in Chapter 9 and the Proprinter Code (Page 437) shown in Appendix C.
Numeric Character Location Listing 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 11–1.
Table 11–1.
Table 11–1.
Table 11–1.
User Preference Supplemental (UPS) Character Sets A symbol set is the alphabet of a font; it is a character set that can be printed regardless of the font characteristics designated for the print job. 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. The default UPS character set is comprised of the DEC Supplemental character set and the ISO Latin 1 Supplemental character set.
Table 11–2. DEC English Character Set Hexadecimal Value Decimal Code Symbol Name 023 035 Pound Sign Table 11–3. DEC Dutch Character Set Hexadecimal Value Decimal Code 023 035 Pound Sign 040 064 Superscript Three 05B 091 Lowercase y with Umlaut 05C 092 Fraction One–Half 05D 093 Solid Vertical Bar 07B 123 Umlaut 07C 124 Lowercase f (with Fallback for Florin) 07D 125 Fraction One–Quarter 07E 126 Acute Accent Symbol Name Table 11–4.
Table 11–5. French Character Set Hexadecimal Value Decimal Code 023 035 Pound Sign 040 064 Lowercase a with Grave Accent 05B 091 Degree Sign 05C 092 Lowercase c with Cedilla 05D 093 Section Sign 07B 123 Lowercase e with Acute Accent 07C 124 Lowercase u with Grave Accent 07D 125 Lowercase e with Grave Accent 07E 126 Diaeresis (Trema, Umlaut) Symbol Name Table 11–6.
Table 11–7. German Character Set Hexadecimal Value Decimal Code 040 064 Section Sign 05B 091 Uppercase A with Umlaut 05C 092 Uppercase O with Umlaut 05D 093 Uppercase U with Umlaut 07B 123 Lowercase a with Umlaut 07C 124 Lowercase o with Umlaut 07D 125 Lowercase u with Umlaut 07E 126 Sharp S Symbol Name Table 11–8.
Table 11–10. DEC Norwegian/Danish Character Set Hexadecimal Value Decimal Code 023 035 Uppercase A with Umlaut 05B 091 Uppercase AE Diphthong 05C 092 Uppercase O with Slash 05D 093 Uppercase A with Ring 05E 094 Uppercase U with Umlaut 060 096 Lowercase a with Umlaut 07B 123 Lowercase ae Diphthong 07C 124 Lowercase o with Slash 07D 125 Lowercase a with Ring 07E 126 Lowercase u with Umlaut Symbol Name Table 11–11.
Table 11–12. DEC Swedish Character Set Hexadecimal Value Decimal Code 040 064 Uppercase E with Acute Accent 05B 091 Uppercase A with Umlaut 05C 092 Uppercase O with Umlaut 05D 093 Uppercase A with Ring 05E 094 Uppercase U with Umlaut 060 096 Lowercase e with Acute Accent 07B 123 Lowercase a with Umlaut 07C 124 Lowercase o with Umlaut 07D 125 Lowercase a with Ring 07E 126 Lowercase u with Umlaut Symbol Name Table 11–13.
Table 11–14. DEC Portuguese Character Set Hexadecimal Value Decimal Code 040 064 Uppercase E with Acute Accent 05B 091 Uppercase A with Umlaut 05C 092 Uppercase O with Umlaut 05D 093 Uppercase A with Ring 05E 094 Uppercase U with Umlaut 060 096 Lowercase e with Acute Accent 07B 123 Lowercase a with Umlaut 07C 124 Lowercase o with Umlaut 07D 125 Lowercase a with Ring 07E 126 Lowercase u with Umlaut Symbol Name Table 11–15.
Character Sets Without National Character Sets The printer prints nine character sets in addition to the DEC multinational character sets. These are: • DEC Supplemental Character Set • VT100 Line Drawing (DEC Special Graphics) Character Set • DEC Technical Character Set • ISO 8859 Cyrillic • ISO 8859 Greek • ISO 8859 Hebrew • ISO 8859 Latin 1 • ISO 8859 Latin 2 • ISO 8859 Latin 5 The Numeric Character listings for each character set follow.
Table 11–16.
Table 11–16.
Table 11–16.
Table 11–17.
Table 11–17.
Table 11–17.
Table 11–18.
Table 11–18.
Table 11–19.
Table 11–19.
Table 11–19.
Table 11–20.
Table 11–20.
Table 11–20.
DEC Supplemental Graphic 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). The following table gives the 7–bit code for each character. The equivalent 8–bit code is obtained by adding octal 200 or hex 80 to the 7–bit code. Table 11–21.
Table 11–21.
Table 11–21.
VT100 Special Graphic Character Set The VT100 Special Graphic Character Set contains ASCII graphic symbols as well as special graphic symbols. The line drawing characters are available in all fonts and pitches, and are identified by an asterisk after the hexadecimal value in Table 11–22. Table 11–22.
Table 11–22.
Table 11–22.
Table 11–22. VT100 Special Graphic Character Set (Continued) Hexadecimal Value Octal Code Symbol Name Sign2 07D* 125 Pound 07E* 126 Big Dot2 07F 127 Delete *Denotes those characters used for line drawing. 1Denotes characters also found in the DEC Technical Character Set. 2Denotes characters also found in the DEC Supplemental Character Set.
DEC Technical Character Set The DEC Technical Character Set contains Greek letters, mathematical symbols, and logical symbols. Additionally, it contains characters that may be used to construct larger mathematical symbols on character cell devices, such as large integral and summation signs. Select this character set via the control sequence, DECAUPSS, as described in Chapter 7.
Table 11–23.
Table 11–23.
Building Large Mathematical Symbols Table 11–24 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. To use Table 11–24, find the character you want to build (along the top of the table). On the left side of the table are various pieces of the characters needed to create the whole.
Table 11–24.
A Bar Codes Contents Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–3 Select Bar Codes Attributes Sequence (DECSBCA) . . . . . . . . . . . . . . . . . . . . . A–3 Start Bar Coding (DECBARC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–6 Stop Bar Coding (Return From Other Coding System: ROCS) . . . . . . . . . . . . A–6 Bar Code Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Code 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–12 Codabar a/t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–12 Codabar b/n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–13 Codabar c/* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–13 Codabar d/e . . . . . . . . . . . . . . . . . . . . . .
Bar Codes A bar code is a graphic representation of alphanumeric characters that can be read by a scanning device. In Digital 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. Select Bar Codes Attributes Sequence (DECSBCA) ASCII Code: ESC [ P1; P2;...P9‘q Hex Code: 1B 5B P1 3B P2 3B...P9 27 71 Dec Code: 27 91 P1 59 P2 59...
Default value = 10 pixels = 12 decipoints Minimum value = 9 pixels = 11 decipoints 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. This does not apply to all UPC, EAN, and Postnet bar codes. • P4 sets the width of the wide bars and wide spaces in units specified by the SSU code. Default value = 2.
• P8 sets the orientation for the bar codes. Bar codes can be rotated to four different positions, though any characters beneath them are printed only in portrait or landscape orientations. The default is P8 = 0. P8 0/missing 1 2 3 4 • Function Same as current page orientation Horizontal (portrait) Vertical, rotation of –90o (landscape) Horizontal, upside down, rotation of 180o Vertical, rotation of +90o (landscape) P9 sets the human–readable character option.
Start Bar Coding (DECBARC) ASCII Code: ESC % SP 0 Hex Code: 1B 25 20 30 Dec Code: 27 37 32 48 Purpose: Generates bar codes using data that follow the sequence. Discussion: Bar code parameters are defined by the last DECSBCA sequence. 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.
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 • Codebar a/t • Codebar b/n • Codebar c/* • Codebar d/e • UPC–A • UPC–E • Postnet • Code 128 – USS (regular) • Code 128 – UCC (serial shipping container code) All bar code styles differ, though the differences can be subtle or obvious.
Bar Code Character Set Different bar code styles allow certain parts of the ASCII character set to be used. Some styles allow only the numerals 0 – 9, while others allow the full ASCII character set, and still others allow variations in between. START, STOP, and CENTER Code Characters The START/STOP characters identify the beginning and end of the bar code symbol to the bar code reader. The START code is at the left end of the symbol, next to the most significant character.
Checksums Checksums can be included within the bar code symbol. If a checksum digit is required for a particular style, it is computed by the user and sent along with the rest of the characters that make up the bar code symbol. 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. Parity You can use odd or even parity to send an individual character in styles EAN–8, EAN–13, UPC–A, and UPC–E.
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. Three bars are wide and the other six are narrow. 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.
Table A–1. Extended Code 39 ASCII Character Set ASCII Code 39 ASCII Code 39 ASCII Code 39 NUL %U SP Space @ %V ‘ %W SOH $A ’ /A A A a +A STX $B “ /B B B b +B ETX $C # /C C C c +C EOT $D $ /D D D d +D ENQ $E % /E E E e +E ACK $F & /F F F f +F BEL $G ’ /G G G g +G BS $H ( /H H H h +H HT $I ) /I I I i I LF $J * /J J J | +J VT $K + /K K K k +K FF $L , /L L L l +L CR $M –– –– M M m +M SO $N .
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.
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: • Character set includes ten digits (0 – 9) plus six characters (: / .
Codabar d/e Codabar d/e 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 d/e has the following characteristics: • Character set includes ten digits (0 – 9) plus six characters (: / .
• 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.
• If more or less than twelve characters are used, or if any of the characters used are illegal, an error message is printed. Interleaved 2 of 5 The bar code symbol uses a series of wide and narrow bars and spaces to represent numeric characters. The structure is 2 wide elements (bars or spaces) and 3 narrow elements. In the bar code, two characters are interleaved (paired); bars are used to represent the first character in the pair and spaces are used to represent the second character in the pair.
The above is always true except with the START/STOP and CENTER character codes. The START/STOP character bar pattern consists of two dark bars and one light bar for a total of three bars. The CENTER character bar pattern has two dark bars and three light bar for a total of five bars. Parameters P2 through P5 and P7 are not applicable and are ignored.
• START and STOP codes • No CENTER code • Intercharacter gap not definable • Fixed length of eleven digits per complete symbol. The first character of the data field is interpreted as the number system code and must always equal 0. The next five digits represent the vendor number and the last five represent the product number. • If more or less than eleven characters are used or if any of the characters are illegal, an error message is printed.
• The printer computes a modulus 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. Table A–2. UPC–E Number Pattern Sequences If the Vendor Number is: Then the Encoded UPC–E Bar Code Symbol is: And the Product Number is: XX000 XX100 XX200 0 0 0 .0 0. . .. .. .. 00 999 X X 0. 0. 0. 0 X X .. .. .. 1 X X 9 9 9 2 XX300 . . .
Postnet has the following characteristics: • Ten digit character set (0 – 9) • Illegal characters are not processed and are ignored. • START and STOP codes • No CENTER code • Variable length characters per complete symbol • A checksum is calculated automatically then embedded at the end of the bar code. • The human–readable data field is not printed. Code 128 – USS Code 128 includes three character subsets: A, B, and C. (Code 128–UCC uses subset C only.
Data Field Code 128 bar codes support a full ASCII character set: Subset A provides standard alphanumeric keyboard characters, control and special characters; subset B includes all standard alphanumeric keyboard characters, lowercase alphabetical characters, and special characters; subset C provides 100 digit pairs, from 00 to 99 inclusive, plus special characters. Table A–3 lists the full Code 128 character set.
Automatic Mode The printer creates the shortest possible bar code by automatically sending the subset switch character to switch from subset B into subset C whenever strings of four or more consecutive numeric characters are detected in the input data. As long as the data includes ordinary keyboard characters and no subset switch, the printer switches in and out of subsets B and C automatically before and after numeric character strings.
Subset Switch Characters: Subset C: Subset B: >7>,>–>.>/ >576777879 >6lmno Non–ASCII characters are specified by using the subset switch characters (from >1 through >8 in the Alternate column on Table A–3) which corresponds to your application. The Value column is used when manually translating subset B and C bar codes into their briefest form. NOTE: The subset switch start codes, >5, >6, and >7 have two functions. At the beginning of a line, they start manual mode data in subset C, B, or A, respectively.
Subset A – Subset A operates in the manual mode only. Subset A data characters include mostly normal printable ASCII characters which require no subset switching and can be entered directly. For example, the data ABC123 in subset A is input in the bar code command as: ESC%0>7ABC123ESC%@. Switching to another subset will not generate a shorter bar code.
Table A–3. Code 128 Character Set Value Subset A Subset B Subset C Value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 SP ! ” # $ % & ’ ( ) * + ’ – . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C SP ! ” # $ % & ’ ( ) * + ’ – .
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). ESC[14;;;;;;;;2’q ESC%SP0ABC123456ESC%@ The following command generated the Code 128 bar code below in the automatic mode using data of 22446688ABC123456. The bar code data begins in subset B and automatically switches to subset C for the numeric data.
The command below generates the same vertical Code 128 bar code in the automatic mode, subset B. Because less than 4 consecutive numeric digits were provided in the data, no subset switching occurred, and the bar code remained in subset B. In the Start Bar Code sequence (DECBARC), SP represents the ASCII space character (hex 20).
Code 128 – UCC The 128–UCC Serial Shipping Container Code is a restricted subset of the Code 128–USS standard. It is used as a standard for labeling shipping containers. The 128–UCC Serial Shipping Container Code has the following parts: • Start Code – The 128–UCC Serial Shipping Container Code consists of numeric data only, so the start code is always Start–C. This is followed by the function code 1 character, which is part of the 128–UCC standard. These are automatically generated by the printer.
ESC[15;;;;;;;;2‘q ESC%SP011223344556677889ESC%@ Start Code (StartC/Func1) Qualifier Bar Codes Stop Code Data Mod 10 Check Digit A–29
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. The bar code height is specified as a parameter where the default is 0.75 inches.
Vertical Spacing Between Horizontal Bar Codes The vertical limit is equal to the maximum allowable height for a bar code symbol: 10 inches. If the human–readable line is printed, then a 0.1 inch gap plus character size is added to compute a total vertical distance. If the human–readable line is printed, a space the size of the intercharacter gap exists between the human–readable line and the top of the bar code symbol on the next line, plus any linefeeds you have specified.
paper. Therefore, if a line of input is rotated with the comma as the delimiter, the bar code symbols are printed one against another. You must use either the space character (20H) or the horizontal tab character (09H) to keep this from occurring. If a human–readable line is printed, its 0.1 inch gap is computed into the total horizontal distance. Vertical Spacing Between Vertical Bar Codes Vertical spacing is achieved via user–supplied linefeeds.
B Printer Specifications Contents Cleaning Interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–2 Ribbon Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–2 Paper Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–2 Paper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–2 Labels .
Cleaning Interval Clean the printer every 6 months or 1000 hours of operation, whichever occurs first. Refer to Chapter 6 for cleaning procedures. NOTE: Using the control panel, you can determine hours of operation from the printer Statistics menu. (Refer to Chapter 4, Printer Configuration.) Ribbon Specifications NOTE: For best print quality, only use ribbons that meet the specifications listed below. Use of ribbons that do meet Digital specifications may void your printer warranty.
Labels On Backing: One–part continuous perforated fanfold back form. Labels must be placed at least 1/6 inch from the fanfold perforation. Backing adhesive must not be squeezed out during printing. Sheet Size: 3– to 16–inches wide, including the two standard perforated tractor feed strips. A maximum sheet size of 12 inches between top and bottom perforations. Thickness: Not to exceed 0.025–inch (including backing sheet) Printer Dimensions LG06 Height: 108 cm (42.5 inches) Width: 68.
Interfaces Type: Resident parallel (two) and serial (one) Logic Levels: TTL/EIA–232D Data Format: ASCII Compatibility: Centronics, Dataproducts, EIA–232D Buffer Size: 2 lines parallel, 1 KB serial Environmental Characteristics Temperature Operating 10° C to 35° C (50° F to 95° F) Storage – 40° C to 70° C (–40° F to 158° F) Relative Humidity Operating 10% to 90% (noncondensing) Storage 5% to 95% (noncondensing) Acoustic Noise Level LG06 52 dBA (tested per ISO 7779) LG12 Less than 55 dBA (te
Frequency 50 Hz or 60 Hz (47 Hz to 62 Hz) Power Rating LG06 Standby 165 VA 60 Hz (120 Watts) Operating 480 VA 60 Hz (360 Watts) LG12 Standby 330 VA 60 Hz (200 Watts) Operating 830 VA 60 Hz (520 Watts) Data Input Rate (maximum) LG06 Dataproducts Up to 30,000 characters per second Centronics Up to 30,000 characters per second RS–232 Up to 19.2K baud LG12 Dataproducts Up to 500,000 characters per second Centronics Up to 200,000 characters per second RS–232 Up to 19.
Print Rates The printing speed of text is a function of the selected font and dot density, and is measured in lines per minute (LPM). Print speed is independent of the number of characters configured in the character set. Text containing attributes such as bold or emphasized printing, superscripts, subscripts, or elongated attributes cause print rates to decrease to not less than half the rates of the font without such attributes. Table B–1 provides typical printing rates.
Table B–1. Printing Rates Print Application Emulation, Font, and Characters /inch (cpi) Dot Density1 Performance Dot Matrix2 Uppercase Only (lines/minute) Descenders & Underline (lines/minute) LG06 LG12 LG06 LG12 LG06 DP 5 60 (120) x 66.6 10 (18) x 7 + 2 600 900 480 720 LG06 DP 6 60 (120) x 66.6 8 (14) x 7 + 2 600 900 480 720 LG06 DP 10 60 (120) x 66.6 5 (9) x 7 + 2 600 900 480 720 Pro3 60 (120) x 75 5 (9) x 7 + 2 600 900 480 720 LG06 DP 12 60 (120) x 66.
Duty Cycle The LG06 can print 75,000 pages per month and the LG12 can print 150,000 pages per month under the following conditions: B–8 1. Uppercase only 2. 6 lines per inch (lpi) 3. 10 characters per inch (cpi) 4. 50% character density, or 66 characters per line 5. 50% line density, or 33 lines per 11–inch page 6. Single part (18 lb) paper 7. Printer is maintained in accordance with the maintenance manual 8.
C Character Set Charts Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–1 Proprinter Character Set Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–2 Digital Emulation Character Set Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–6 Digital Emulation Languages Substitution Table . . . . . . . . . . . . . . . . . . . . . . .
C–2 Character Set Charts 0 0 1 0 DC3 DC4 3 3 3 4 4 4 BEL BS HT LF VT FF CR SO SI 2 3 4 5 6 7 8 9 10 11 12 13 14 15 00 1 0 00 1 1 01 0 0 01 0 1 01 1 0 01 1 1 10 0 0 10 0 1 10 1 0 10 1 1 11 0 0 11 0 1 11 1 0 11 1 1 32 26 1A 33 27 1B 34 28 1C 35 29 1D 36 30 1E 37 31 1F 12 10 0A 13 11 0B 14 12 0C 15 13 0D 16 14 0E 17 15 0F ESC 25 21 15 26 22 16 27 23 17 30 24 18 31 25 19 24 20 14 23 19 13 20 16 10 21 17 11 22 18 12 1 5 5 5 6 6 6 7 7 7 10 8 8 11 9 9 DC2 1
Character Set Charts C–3 0 0 ♥ ♦ ♣ ♠ BEL BS HT LF VT FF CR SO SI 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 00 0 1 00 1 0 00 1 1 01 0 0 01 0 1 01 1 0 01 1 1 10 0 0 10 0 1 10 1 0 10 1 1 11 0 0 11 0 1 11 1 0 11 1 1 NUL 0 00 0 0 12 10 0A 13 11 0B 14 12 0C 15 13 0D 16 14 0E 17 15 0F 5 5 5 6 6 6 7 7 7 10 8 8 11 9 9 4 4 4 3 3 3 0 0 0 1 1 1 2 2 2 0 B5 0 B4 B3 B2 B1 ROW B6 0 COLUMN B7 BITS B8* 0 1 0 ESC § DC4 DC3 DC2 DC1 0 32 26 1A 33 27 1B 34 28 1C
C–4 Character Set Charts 0 DC3 DC4 3 3 3 4 4 4 BEL BS HT LF VT FF CR SO SI 2 3 4 5 6 7 8 9 10 11 12 13 14 15 00 1 0 00 1 1 01 0 0 01 0 1 01 1 0 01 1 1 10 0 0 10 0 1 10 1 0 10 1 1 11 0 0 11 0 1 11 1 0 11 1 1 32 26 1A 33 27 1B 34 28 1C 35 29 1D 36 30 1E 37 31 1F 12 10 0A 13 11 0B 14 12 0C 15 13 0D 16 14 0E 17 15 0F ESC 25 21 15 26 22 16 27 23 17 30 24 18 31 25 19 24 20 14 23 19 13 20 16 10 21 17 11 22 18 12 1 5 5 5 6 6 6 7 7 7 10 8 8 11 9 9 DC2 1 00 0 1
Character Set Charts C–5 0 ♥ ♦ ♣ ♠ BEL BS HT LF VT FF CR SO SI 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 00 0 1 00 1 0 00 1 1 01 0 0 01 0 1 01 1 0 01 1 1 10 0 0 10 0 1 10 1 0 10 1 1 11 0 0 11 0 1 11 1 0 11 1 1 NUL 0 00 0 0 12 10 0A 13 11 0B 14 12 0C 15 13 0D 16 14 0E 17 15 0F 5 5 5 6 6 6 7 7 7 10 8 8 11 9 9 4 4 4 3 3 3 0 0 0 1 1 1 2 2 2 0 B5 0 B4 B3 B2 B1 ROW B6 0 0 COLUMN B7 BITS B8* 1 0 ESC § DC4 DC3 DC2 DC1 0 0 32 26 1A 33 27 1B 34 28 1
LG06 Emulation Character Set Charts The following languages comprise the multinational character sets. These languages are only available in the Digital emulation. Included are: • U.S.
U.S.
C–8 Character Set Charts B7 B6 B5 0 0 0 ( ) * + 23 19 13 24 20 14 25 21 15 26 22 16 27 23 17 30 24 18 31 25 19 32 26 1A 33 27 1B SUB ESC 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 10 8 8 11 9 9 12 10 0A 13 11 0B 4 EOT BS HT 3 5 6 7 8 9 10 LF 11 VT 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 / 37 31 1F 17 15 0F 15 SI ASCII Control Codes 1 1 1 1 .
Digital Emulation Languages Substitution Table Hex Address LANGUAGE 0023 0040 005B 005C 005D 005E 005F 0060 007B 007C 007D 007E { } ~ { } ~ ù è ¨ ä ö ü β à ò è ì } ~ ~ n ç ~ ¨ ƒ 1/ 4 ‘ ASCII # @ [ \ ] ^ English £ @ [ \ ] ^ French £ à ° ç § ^ – é German # § Ä Ö Ü ^ – Italian £ § ° ç é ^ – JIS Roman # @ [ ¥ ] ^ – { Spanish £ § ¡ N ¿ ^ – ° Digital Dutch £ 3 ÿ 1/ 2 Digital Finnish # @ Ä Ö Digital French Canadian # à
Digital Special Character Sets and ISO Charts The following character charts comprise the multinational font sets. Included are: • Digital Supplemental Character Set . . . . . . . . . . . . . . . . . . . . C–11 • Digital Technical Character Set . . . . . . . . . . . . . . . . . . . . . . . C–12 • Digital Special Graphics Character Set . . . . . . . . . . . . . . . . . C–13 • ISO 8859–7 Greek . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–14 • ISO 8859–7 Cyrillic . . . . . . . .
Digital Supplemental Character Set 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 fonts.
Digital Technical Character Set 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.
Digital Special Graphics (VT100 Line Drawing) Character Set 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 fonts.
ISO 8859–7 Cyrillic Character Set 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.
ISO 8859–7 Greek Character Set 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.
ISO 8859–7 Hebrew Character Set Note: The characters in this chart are for reference only; they are not examples of how the printer generates the characters. Not all characters are available in all print modes.
ISO Latin 1 Character Set 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 fonts.
ISO Latin 2 Character Set B7 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 fonts.
ISO Latin 5 Character Set 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 fonts.
C–20 Character Set Charts
D Interface Configuration with the VMS Operating System 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.
Serial Interface When using the serial interface with the VMS operating system, configure the terminal characteristics with the SET TERM command, as shown below: Terminal: _TXA3: Device_Type: Unknown Owner: SYMBIONT_0001 Username: SYSTEM Input: 9600* LFfill: 0 Width: 132 Parity: None Output: 9600* CRfill: 0 Page: 66 Terminal Characteristics: Interactive Echo Type_ahead No Escape No Hostsync TTsync Lowercase Tab No Wrap Scope No Remote No Eightbit No Broadcast No Readsync Form Fulldup No Mo
E Type Family IDs, Font IDs, and Font File IDs Contents “Built–in” Font File IDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E–2 Font File ID Field Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E–3 Type Family IDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E–4 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 printer ROM. It also lists all the font file IDs available in Digital emulation mode. The Font File ID Field Definitions table on page E–3 lists and defines all the values in a font file ID. The values are based on 36 possible values (0–9, A–Z). The table shows the relationship between type family IDs, font IDs, and font file IDs.
Font File ID Field Definitions Field Bytes Field Name 1 1 to 7 Type family ID 2 8 3 9 to 11 4 12 5 13 to 14 6 15 7 16 8 Spacing Font ID Type Size Scale Factor Style Value R D E I G W J 2 L 4 1 O 5 02S 03C 050 K Meaning Registered internationally or in the public domain DIGITAL reserved 5 pitch 6 pitch 7 pitch 8.33 pitch 10 pitch 10.3 pitch 12 pitch 13.3 pitch 13.6 pitch 15 pitch 16.
Type Family IDs The type families available in Digital emulation mode have the following names and identification strings: Type Family Name Identification String (ID) Compressed Print Correspondence Plot Correspondence Print Data Processing Draft Plot High Speed Draft Print DCMPRSS DCRRSPL DCRRSPN DBULTN1 DDRAFT0 DDRAFT1 LG Near Letter Quality DLGNRLQ Low Density Plot OCR A DLODENS ROCRA00 OCR B ROCRB00 The D in the ID string for DCRRSPN means the name Correspondence Print is registered with DIGIT
Type Pitch Size Character Set Font File ID (entire string) Font ID (First 16 characters) 1. Type Family Name: DEC Built–in 1 (Data Processing) Type Family ID: DBULTN1 5 5 5 5 5 5 5 5 12 12 12 12 12 12 12 12 ASCII DEC supp. DEC tech.
Type Pitch Size Character Set Font File ID (entire string) Font ID (First 16 characters) 2. Type Family Name: Correspondence Print Type Family ID: DCRRSPN 5 5 5 5 5 5 5 5 10 10 10 10 10 10 10 10 ASCII DEC supp. DEC tech.
Type Pitch Size Character Set Font File ID (entire string) Font ID (First 16 characters) Type Family ID: ROCRA00 3. Type Family Name: OCR A 10 10 ASCII ROCRA00 J 02S K 00 G G 00 01U ZZZZ 02 Z 0 0 0 Type Family ID: ROCRB00 4. Type Family Name: OCR B 10 10 ASCII ROCRB00 J 02S K 00 G G 00 01U ZZZZ 02 Z 0 0 0 5. Type Family Name: Compressed Print Type Family ID: DCMPRSS 6.67 6.67 6.67 6.67 6.67 6.67 6.67 6.67 10 10 10 10 10 10 10 10 ASCII DEC supp. DEC tech.
Type Pitch Size Character Set Font File ID (entire string) Font ID (First 16 characters) 7. Type Family Name: LG Near Letter Quality Type Family ID: DLGNRLQ 7 7 7 7 18 18 18 18 ASCII DEC supp. VT100 ISO Latin 1 DLGNRLQ G 050 K 00 G G 00 01U ZZZZ 02 D 0 0 0 DLGNRLQ G 050 K 00 G G 00 01O ZZZZ 02 D 0 0 0 DLGNRLQ G 050 K 00 G G 00 01C ZZZZ 02 D 0 0 0 DLGNRLQ G 050 K 00 G G 00 6DD ZZZZ 02 D 0 0 0 10 10 10 10 10 10 10 10 10 12 12 12 12 12 12 12 12 12 ASCII DEC supp. DEC tech.
F Print Samples Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F–2 Creating Block Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F–2 Bar Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F–4 Logos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction This appendix contains sample programs that illustrate how to use Digital control sequences and bar code control sequences in applications. Digital control sequences are described in Chapter 7, “Digital Emulation.” Bar code control sequences are described in Appendix A. NOTE: The print samples in this appendix were printed on an LG06 printer.
Figure F–1.
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 Appendix A. The bar code examples in this section use the following escape sequences: CSIP1;P2; ... P9’q Select Bar Code Attributes (DECSBCA) ESC%SP0 Start Bar Coding (DECBARC) ESC%@ Stop Bar Coding Interleaved 2 of 5 The following command sequences create the bar code shown in Figure F–2.
Figure F–3.
Logos The following command sequences create the logo graphic shown in Figure F–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\ ST CSI1&} Figure F–4.
Sixel Graphics The command sequences listed below create the sixel graphics output shown in Figure F–5: Figure F–5.
Forms The memo form shown in Figure F–6 was created with the program illustrated below.
Figure F–6.
The payroll deduction form shown in Figure F–7 (see page F–12) was created with the program illustrated below.
Print Samples F–11
Figure F–7.
Glossary active column The horizontal location on the paper where the next character will print. After printing a character, the printer advances the active column. active line The vertical location on the paper where the next character will print. After printing a line, the printer advances the active line. active position The position on the paper where the next character will print. The active position is defined by the horizontal position (active column) and the vertical position (active line).
character weight The degree of lightness and thickness of printed text. For example: Bold refers to a heavy or thick character weight. Medium, normal, or book weight refer to the character weight used in this sentence. control sequence 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.
IA–232D Electronic Industry Association Specification: RS–232D interface that conforms to EIA standards. Elite A name indicating a monospaced font with 12 cpi pitch (and usually 10 points in height). Em A font width term equal to the maximum character width obtainable in a given font. (Derived from the width of an uppercase 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.
6) Character weight 7) Character proportion (normal, condensed, expanded). font name See typeface. font pattern A font pattern is the matrix of pels which represents a character, symbol, or image. font, landscape A font printed parallel to the long edge of a page, or a font capable of being produced on a landscape page orientation. font, monospaced Also called fixed–pitch fonts. Every character, regardless of actual horizontal size, occupies the same amount of font pattern space.
host computer The host computer stores, processes, and sends data to be printed, and which communicates directly with the printer. The term host indicates the controlling computer, since modern printers are themselves microprocessor–controlled computer systems. ipm inches per minute: The speed at which graphics are plotted. interface The hardware components used to link two devices by common physical interconnection, signal, and functional characteristics. See also Printer Interface.
OCR Optical Character Recognition is the process by which a machine reads characters printed in a special standardized font. Data are read by a photoelectric optical scanner and recorded on magnetic tape or disk. OCR–A and OCR–B are two widely used fonts. off–line The non–printing operational state of the printer. When the printer is off–line, communication between the printer and the host computer is temporarily stopped and the message “Off–line/Emulation” appears on the display.
Pica A name indicating a monospaced font with a pitch of 10 cpi and usually a 12 point height. Pica is also used in typography as a unit of measurement: 1 pica = 1/6 inch. pin configuration Establishes the physical attachment and protocol conversion connections for the host interface. pitch The number of text characters printed per horizontal inch. Specified in characters per inch or cpi. pixel Acronym of picture element or picture cell. Also called a pel.
said to be volatile because all data are lost when power is turned off or interrupted. Compare ROM read To retrieve data from memory or mass storage (hard disk, floppy diskette, RAM, etc.). reset To turn off, deactivate, disable, or return to a previous state. resolution A measure expressing the number of component units in a given range used to create an image; in printing, expressed as the number of dots per inch (dpi) horizontally and vertically.
serif A short line stemming from and at an angle to the upper or lower end of the stroke of a letter or number character. serif A set To turn on, activate, invoke, or enable. shadow printing A typeface with a heavy line thickness produced by doublestriking. The printer forms a character, then prints it again, but fractionally offset from the first position. See also bold, character weight. sixel A vertical column consisting of six pixels and treated as a unit in graphics applications.
weight See character weight. write A process in which data is placed (written) into memory or mass storage (RAM, hard disk, floppy diskette). X–off A character transmitted by the printer announcing that the printer is off–line or the buffer is almost full. X–on A character transmitted by the printer announcing that the printer is on–line or the buffer is almost empty.
Index Numbers 7–Bit and 8–Bit Transmissions and Interpretations, 7–128 A Active Column and Active Line (Cursor Motion), 7–72 Application Program Commands, 7–119 ASCII Control Characters, 7–117 Control Codes, 7–6 Asterisk (*) In configuration diagrams, 4–8 In displayed messages, 3–9 In fault messages, 6–9 Attributes Character (Digital), 7–99 Select (Proprinter), 8–47 Turn Off All (Digital), 7–105 Autowrap Mode (DECAWM), 7–25 B Backspace, Serial Matrix, 9–27 Backspace code, 8–12 Backward Compatibility, 7–67
Making, 10–3 Programming format, 10–5 Sample program, 10–6 Bit Image Mode Double Density, Serial Matrix, 9–56 Double Density Double Speed, Serial Matrix, 9–57 Quadruple Density, Serial Matrix, 9–58 Bit Image mode Double Density code, 8–14 Double Density, Double Speed code, 8–15 Quadruple Density code, 8–16 Single Density code, 8–13 Bit Image Mode, Single Density, Epson FX, 9–55 Block Character Mode Start, 7–124 Stop, 7–125 Block Characters, 7–122 Print samples, F–2 Bold Print, Reset code, 8–23 Bold Printing
Digital Special Character Sets and ISO Charts, C–10 Epson FX, 9–5 International, Epson FX, 9–50 Control Code Conversion, 7–11 Control, defined, 7–4 Control, How Described in This Manual, 7–17 Enable printing of hex codes 00–1F and 80–9F (Epson), 9–48 Error, Printer Status (LN03 PLUS), 7–91 Index, Digital emulation, 7–18 Index, Proprinter emulation, 8–10 Characters Building Mathematical, 11–39 Control, 7–6 Parameter, 7–13 Printable, 7–3 Printing, DEC emulation, explanation, 7–3 Combining graphics and text
Additional, 7–9 ASCII, 7–7 Digital emulation, 7–1 Equivalent 7– and 8–bit, 7–10 Index, Digital emulation, 7–18 Index, Proprinter emulation, 8–10 Override, 4–2 Proprinter emulation, 8–1 Control Codes, How Described, Epson FX protocol, 9–7 Cyrillic Character Set, ISO, 11–15 D DA, 7–87 Dataproducts parallel interface, 5–3 DEC Supplemental Graphic Character Set, 11–29 DEC Technical Character Set, 11–36 DEC, Special Character Sets, 11–14 Control Panel CLEAR Switch, 3–8 Configuration Diagram, 4–8 DOWN Switch,
DECSHORP, 7–42 DECSHTS, 7–81 Double Strike Cancel, Epson FX, 9–41 Select, Epson FX, 9–41 DECSLPP, 7–68 Double Strike Printing, Select, 8–22 DECSLRM, 7–70 DECSPO, 7–27 DECSTBM, 7–69 Double Underlined Text, 7–103 Double Wide Print, Epson FX, 9–35 DECSTR, 7–84, 7–125 Double Wide Print code, 8–24 One line only, 8–25 DECSVTS, 7–82 Double Wide Print, 1 Line, Epson FX, 9–34 DECTFM, 7–54 DECVEC, 7–121 Double Wide Print, 1 Line, Cancel, Epson FX, 9–36 DECVERP, 7–40 Double Wide Print, Cancel, 8–26 Default
Changing, 4–7 Digital, 7–2 Epson FX, 9–3 Proprinter, 8–2 Digital, 7–1 IBM Proprinter, 8–1 End Load Vertical Format Unit, 7–45 ENTER Switch, locking and unlocking, 3–9 Environmental Characteristics, B–4 Error Codes, Printer Status (LN03 PLUS), 7–91 Error messages Explanation, 6–9 List, 6–10 Escape Control Sequences, 7–13 Sequences Digital emulation, 7–12 Epson emulation, 9–6 Sequences, defined, 7–12 Escape Sequence, IBM Proprinter, 8–29 Expanded Print, Epson FX, 9–35 Expanded Print code, 8–24 One line only,
Graphic Carriage Return (GCR), 7–116 Horizontal Tab, Epson FX, 9–28 Graphic New Line, 7–117 Horizontal Tab Set, Serial Matrix, 9–29, 9–30 Graphic Size Modification (GSM), 7–33 Horizontal Tab Stops, Set, 7–83 Graphic Size Selection (GSS), 7–32 HPA, 7–74 Graphic Substitute, 7–118 HPB, 7–75 Graphic Symbols for ASCII Character Set, 11–3 HPR, 7–74 Graphics, 10–1 Bit image, 10–2 Combining with text, 10–2 Epson FX, 9–54 IBM Proprinter emulation, 8–5 Printing images, 10–2 Producing bit images, 10–3 Hum
Centronics parallel, 5–5 Dataproducts parallel, 5–3 Definition, 5–2 RS–232 serial, 5–9 VMS configuration, D–1 Interleaved 2 of 5, A–16 International Character Set Select, Epson FX, 9–50 ISO Character Sets, 11–14 ISO Cyrillic, 11–15 ISO Greek, 11–18 ISO Hebrew, 11–21 ISO Latin 2, 11–23 ISO Latin 5, 11–26 Italic, Character Set Select (Epson), 9–39 Italic Printing, 7–3, 7–104 Italic, cancel, Epson FX, 9–39 Italic, select, Epson FX, 9–39 J JFY, 7–106 LF (Line Feed) Switch, 3–8 Line Feed Backward, n/216 Inch (
Deleting Sequence (DECDLG), 7–60 Loading Sequence (DECLLG), 7–57 Select Sequence (DECILG), 7–59 Status Report (DECLGSR), 7–61 Status Request (DECRLGS), 7–60 Notes, 1–2 NRC, 11–7 Numeric Character Location Listing, 11–3 Numeric Parameters, 7–117 O M Maintenance, 6–2 Make 80–9F Hex Control Codes (Epson FX), 9–46 Make 80–9F Hex Printable (Epson FX), 9–46 Manual Mode, A–22 Margin Left, Epson FX, 9–31 Right, Epson FX, 9–32 Margins Page Print Area and Margins, 7–62 Set Top and Bottom, 7–69 OCR–A and OCR–B, 11
Parallel Interfaces Centronics, 5–5 Dataproducts, 5–3 Parameter Separator, 7–117 Parameters, Numeric and Selective (Pn, Ps), 7–13 Parsing Requirements, 7–15 Emphasized code, 8–27 Emphasized Reset code, 8–28 Expanded code, 8–24 Font, selecting from control panel, 3–18 Superscript/Subscript Reset code, 8–50 Set code, 8–49 Partial Line Down (PLD) – Subscripting, 7–79 Print Area Changing the, 7–63 Page, 7–62 Partial Line Up (PLU) – Superscripting, 7–78 Print Rates, B–6 Perforation Skip Over, Epson FX, 9–1
Interfaces, 5–1 Maintenance, 6–2 Operation, 3–1 Reset, 7–125 Self–Tests, 6–6 Self–tests, 6–6 Specifications, B–1 Speed, B–6 Status Requests and Reports, 7–88 Test after installation, 2–14 Turning the printer off, 3–3 Turning the printer on, 3–3 Q Quiet Zone Setting (Bar Codes), A–4 R R/S (Run/Stop) Switch, 3–8 Raster Attributes, Set, 7–114 Rates, printing and plotting, 1–6 Remove Downloaded Characters (Epson FX), 9–44 Repeat Introducer (!) and Sequence, 7–113 Printer Deselect, Serial Matrix, 9–59 Report,
S Set Vertical Tab Stops (DECSVTS), 7–82 Samples, Print Digital emulation, F–1 Proprinter emulation.
Interfaces, B–4 Paper, B–2 Printing rates, B–6 Ribbon, B–2 Speed, printing, B–6 SPI, 7–38 Power, 3–3 PREV, 3–9 R/S (Run/Stop), 3–8 SET TOF, 3–9 UP, 3–9 VIEW, 3–8 Switches and Indicators, defined, 3–7 SSU, 7–31 Start Forms Sequence (DECIFM), 7–53 States of operation, 3–4 States, Default Values and Digital emulation, 7–130 Epson emulation, 9–4 Status, Printer, Requests and Reports, 7–88 Stop Bar Coding, A–6 String Introducer, 7–108 Subscripting, 7–79 Superscript/Subscript Printing Epson FX, 9–42 Reset code,
Underline code, 8–51 Underlined Text, 7–105 Vertical Tabs, Set in Channels, Epson FX, 9–20 Underlining, 7–103 VFU, End, 7–45 Unidirectional Printing, 8–52 Epson FX, 9–60 VFU, Load, 7–44 Unidirectional Printing, 1 line, Epson FX, 9–60 VMS interface configuration, D–1 Unloading Paper, 3–14 VPA, 7–75 Unpacking a new printer, 2–4 VPB, 7–76 Unused Control Strings, 7–119 VPR, 7–76 UP Switch, 3–9 VIEW Switch, 3–8 VT100 Special Graphic Character Set, DEC, 11–32 UPC–A, A–16 UPC–E, A–17 UPS, 11–7 Use