Digital ANSI-Compliant Printing Protocol Level 2 Programming Supplement Order Number: EK–PPLV2–PS. C01 This document contains device-specific information about level 2 of the Digital ANSI-Compliant Printing Protocol (DEC PPL2). This protocol is used by Digital’s advanced character cell printers. For general information on DEC PPL2, refer to the Digital ANSI-Compliant Printing Protocol Level 2 Programming Reference Manual. Revision/Update Information: This is a revised manual.
First Printing, October 1991 Revised, November 1992 Revised, July 1994 Digital Equipment Corporation makes no representations that the use of its products in the manner described in this publication will not infringe on existing or future patent rights, nor do the descriptions contained in this publication imply the granting of licenses to make, use, or sell equipment or software in accordance with the description.
Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Part I LA75 Plus Companion Printer 1 General Information About the LA75 Plus Companion Printer 1.1 1.2 1.3 1.4 1.5 Description of the LA75 Plus Companion Printer . . . . . . . . . DEC PPL2 Extensions and Exceptions . . . . . . . . . . . . . . . . . Alternate Protocols Supported by the LA75 Plus Companion Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status and Error Reporting for the LA75 Plus Companion Printer 4.1 4.2 4.3 4.3.1 4.3.2 4.3.3 4.3.4 Device Attributes Report (DAR) . . . . . . . . . . Secondary Device Attributes Report (DA2R) Device Status Report (DSR) . . . . . . . . . . . . . Character Set Not Available . . . . . . . . . . Downline Load Error . . . . . . . . . . . . . . Alternate Protocol Error . . . . . . . . . . . . Initialization Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8 General Information About the LA310 MultiPrinter 8.1 8.2 8.3 8.4 Description of the LA310 MultiPrinter . . . . . . . . . . . . . . . DEC PPL2 Extensions and Exceptions . . . . . . . . . . . . . . . Alternate Protocols Supported by the LA310 MultiPrinter Cartridges Supported by the LA310 MultiPrinter . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–1 8–2 8–3 8–4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–1 9–2 9–3 9–3 9–4 9–4 Initial States . . . . . . . . . . . . .
13 Sixel Graphics Considerations on the LA310 MultiPrinter 13.1 Graphics Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13–1 14 Control Characters for the LA310 MultiPrinter 14.1 14.2 14.3 Bell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ENQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17 Initial State Values for the LA600 MultiPrinter 17.1 Initial States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17–1 18 Status and Error Reporting for the LA600 MultiPrinter 18.1 Device Attributes Report (DAR) . . . . . . . . . . 18.2 Secondary Device Attributes Report (DA2R) 18.3 Device Status Report (DSR) . . . . . . . . . . . . . 18.3.1 Character beyond the Right Margin . . . . 18.3.2 Initialization Messages . . . . . . . . . . . . . . . . . . . . . . . . . .
20.7.4 20.7.5 20.7.6 20.7.7 20.7.8 20.7.9 20.7.10 20.7.11 20.7.12 Codabar . . . . . . . . EAN 8 . . . . . . . . . EAN 13 . . . . . . . . Industrial 2 of 5 . . Interleaved 2 of 5 . MSI mod 10/10 . . . POSTNET . . . . . . UPC A . . . . . . . . . UPC E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Index Figures 19–1 20–1 20–2 20–3 20–4 20–5 20–6 20–7 20–8 20–9 CRM Output Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . Extended Code 39 ASCII Character Set . . . . . . . . . . . . . . . Extended Code 93 ASCII Character Set . . . . . . . . . . . . . . . Reference Table for Code 93 Check Character Calculation . Example: Code 93 Characters for ‘‘Code 93’’ . . . . . . . . . . . Extended Code 128 ASCII Character Set . . . . . . . . . . . . . .
6–2 8–1 8–2 8–3 9–1 9–2 10–1 11–1 11–2 11–3 11–4 11–5 12–1 12–2 12–3 12–4 12–5 12–6 12–7 13–1 13–2 15–1 15–2 15–3 16–1 16–2 16–3 16–4 16–5 17–1 18–1 18–2 18–3 18–4 18–5 19–1 19–2 x Graphics Grid Size Fallbacks . . . . . . . . . . . . . . . . . DEC PPL2 Extensions . . . . . . . . . . . . . . . . . . . . . . DEC PPL2 Exceptions . . . . . . . . . . . . . . . . . . . . . . SOCS/ROCS Commands for Each Emulation Mode Horizontal Text Resolution and Error . . . . . . . . . . Text Vertical Pitch Fallbacks . . . .
19–3 19–4 19–5 19–6 20–1 20–2 20–3 21–1 21–2 A–1 B–1 B–2 B–3 B–4 DECDEN Parameters for LA600 . . . . . . . . . . . . . . . . . Typestyles and Print Densities . . . . . . . . . . . . . . . . . . . Graphic Size Modification Parameters . . . . . . . . . . . . . Data Block Proportional Character Width . . . . . . . . . . Bar Code Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . Supported Values for the Widths of Wide and Narrow Bars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preface The Level 2 Programming Supplement contains supplemental information about Digital’s ANSI-Compliant Printing Protocol level 2 (DEC PPL2). This manual contains information that is specific to the Digital printers that implement this protocol. It is assumed that the reader has the Digital ANSICompliant Printing Protocol Level 2 Programming Reference Manual, which provides general information about DEC PPL2.
• Part 4 contains appendixes of reference information. Conventions Used In This Manual The term DEC PPL2 is used throughout the manual to indicate the Digital ANSI-Compliant Printing Protocol level 2. The following conventions are used throughout this manual: Convention Meaning UPPERCASE Symbols for Digital ANSI-Compliant Printing Protocol level 2 commands are printed in text in uppercase. Italics Indicates variables in Digital ANSI-Compliant Printing Protocol level 2 commands.
Part I LA75 Plus Companion Printer Part I of the Digital ANSI-Compliant Printing Protocol Level 2 Programming Supplement describes the DEC PPL2 protocol as implemented by the LA75 Plus Companion Printer. • Chapter 1 describes the basic features and characteristics of the LA75 Plus Companion Printer. • Chapter 2 describes the printing of the physical page on the LA75 Plus Companion Printer. • Chapter 3 describes the initial state of the printer.
1 General Information About the LA75 Plus Companion Printer This chapter contains the following information about the LA75 Plus Companion Printer: • Description of the LA75 Plus Companion Printer, Section 1.1 • Protocol extensions and exceptions, Section 1.2 • Alternate protocols for this printer, Section 1.3 • Color printing, Section 1.4 • Cartridges, Section 1.5 1.1 Description of the LA75 Plus Companion Printer The LA75 Plus Companion Printer is a narrow-carriage, impact dot-matrix printer.
General Information About the LA75 Plus Companion Printer 1.1 Description of the LA75 Plus Companion Printer • Can be connected simultaneously to serial and parallel ports, and switches automatically between them when data is received. • Is compatible with the IBM Proprinter X24E, which is the default protocol at power-up when the parallel port is used. Refer to the LA75 Plus Companion Printer Installation and User Guide for information about installing and using the LA75 Plus Companion Printer. 1.
General Information About the LA75 Plus Companion Printer 1.2 DEC PPL2 Extensions and Exceptions Table 1–2 DEC PPL2 Exceptions Exceptions Bell LA210, LA120, LA50 alias Device Attributes Report (DAR) parameters Control Representation Mode (CRM) Protocol switching Horizontal Page Width Alignment (DECHPWA) Bar code printing (DECSBA, DECBAR) 1.
General Information About the LA75 Plus Companion Printer 1.5 Cartridges Supported by the LA75 Plus Companion Printer 1.5 Cartridges Supported by the LA75 Plus Companion Printer The LA75 Plus Companion Printer supports optional font cartridges. To insert the cartridge, turn the printer power off, insert the cartridge, and turn the power back on. If you insert the cartridge while the printer is powered on, the printer may not be able to select and use the cartridge.
2 Physical Page Characteristics of the LA75 Plus Companion Printer This chapter explains how the LA75 Plus Companion Printer handles the transfer of the logical page in memory to the physical paper. Topics include: • Paper handling, Section 2.1 • Response to a Form Feed request, Section 2.2 • Horizontal text resolution, Section 2.3 • Vertical text resolution, Section 2.4 • Limits on partial line motion, Section 2.5 • Tab support, Section 2.6 • Automatic sheet feeder control, Section 2.
Physical Page Characteristics of the LA75 Plus Companion Printer 2.1 Paper Handling The LA75 Plus Companion Printer uses the form length, as determined by the setup feature or by the Set Lines Per Page (DECSLPP) command, to compute the tops of forms other than the first. Fanfold Paper — Bottom Feed/Rear Output (Pull Tractor Mode) In this mode there is no autoload function, so the printer cannot detect the top of form. The power-up paper position is assumed to be the top of form.
Physical Page Characteristics of the LA75 Plus Companion Printer 2.2 Response to Form Feed (FF) Fanfold Paper — Bottom Feed The LA75 Plus Companion Printer assumes that the paper position prior to any paper motion is the reference for the first top of form. Form Feed (FF) advances the paper to the next top of form. Cut Sheet Paper — Manual Feed If paper is not currently loaded, Form Feed (FF) is stored and does not load paper.
Physical Page Characteristics of the LA75 Plus Companion Printer 2.4 Vertical Text Resolution 2.4 Vertical Text Resolution The LA75 Plus Companion Printer supports the metric line spacing parameters under Set Vertical Pitch (DECVERP) in the Command Dictionary. The LA75 Plus Companion Printer uses approximations for the metric line spacing parameters. These approximations are given in Table 2–2. Table 2–2 Text Vertical Pitch Fallbacks Target Pitch Actual 1/720 inch Fallback Pitch 1 line/cm (2.
Physical Page Characteristics of the LA75 Plus Companion Printer 2.7 Automatic Sheet Feeder Control (DECASFC) The sheet feeder is selected automatically if it is installed at the time of power-up. The actions taken by the LA75 Plus Companion Printer in response to the DECASFC sequence are given in Table 2–3. Table 2–3 DECASFC Response Ps Action 0 to 98 Performs a conditional Sheet Feed and selects the sheet feeder if not already selected.
3 Initial State Values for the LA75 Plus Companion Printer This chapter lists the values used by the LA75 Plus Companion Printer for: • A power-up reset or a recall of factory default values • The Select Conformance Level (DECSCL) command • The Soft Terminal Reset (DECSTR) or Reset to Initial State (RIS) commands 3.1 Initial States Table 3–1 lists the initial state values used by the LA75 Plus Companion Printer. The printer always powers up in Ready mode if no error is detected.
Initial State Values for the LA75 Plus Companion Printer 3.1 Initial States Table 3–1 (Cont.
Initial State Values for the LA75 Plus Companion Printer 3.1 Initial States Table 3–1 (Cont.) Initial State Values Variable or Control Function DECSCL Power-Up DECSTR RIS Recall Factory Defaults (Setup) Typestyle (SGR #) 10 NVM NVM 10 Auto Advance Unchanged NVM Unchanged Disabled Bell Unchanged NVM Unchanged 1 beep CRM Unchanged Read button Unchanged Reset C1 Receive 8-bit 8-bit Unchanged 8-bit Device ID (DA) Unchanged NVM Unchanged Conformance level 2 Form Length 11 in.
4 Status and Error Reporting for the LA75 Plus Companion Printer This chapter explains how the LA75 Plus Companion Printer provides status information and handles error conditions. The topics include: • Device Attributes Report, Section 4.1 • Secondary Device Attributes Report, Section 4.2 • Device Status Report, Section 4.3 Note Device attribute and status reports are applicable only to the serial interface. Reports are not sent across the parallel interface. 4.
Status and Error Reporting for the LA75 Plus Companion Printer 4.
Status and Error Reporting for the LA75 Plus Companion Printer 4.3 Device Status Report (DSR) 4.3 Device Status Report (DSR) The codes generated by the LA75 Plus Companion Printer for the extended Device Status Report (DSR) are given in Table 4–3. When the LA75 Plus Companion Printer sends more than one code, only the first is preceded by a question mark ( ? ).
Status and Error Reporting for the LA75 Plus Companion Printer 4.3 Device Status Report (DSR) 4.3.1 Character Set Not Available The character set not available code is sent if the device attempts to print from a character set that has been addressed by Select Character Set (SCS), but is not available in any print density, from any source. Sources include built-in, cartridge, and downloaded fonts. 4.3.
Status and Error Reporting for the LA75 Plus Companion Printer 4.3 Device Status Report (DSR) If an error condition other than paper out exists when the printer is powered up (hardware failure; cover open; carriage error; ASF installed, paper path cannot be cleared), the initialization message is not sent until the error condition is cleared. The extended report is sent after the initial XON character is sent, following a power-up.
5 Fonts and Character Attributes on the LA75 Plus Companion Printer This chapter gives information on: • The built-in font repertory, Section 5.1 • Additional character sets, Section 5.2 • Cartridge font repertory, Section 5.3 • Select Graphic Rendition (SGR) command for cartridge font selection, Section 5.4 • Font status reporting, Section 5.5 • Density selection, Section 5.6 • Download font, Section 5.7 • Slant, Section 5.8 • Bar code printing, Section 5.9 5.
Fonts and Character Attributes on the LA75 Plus Companion Printer 5.
Fonts and Character Attributes on the LA75 Plus Companion Printer 5.1 Built-In Font Repertory Table 5–1 (Cont.) Supported Character Sets I2 F Designator Characters Code A 4/1 B 4/2 ISO Latin-Greek Supplemental F 4/6 ISO Latin-Hebrew Supplemental1 H 4/8 L 4/12 M 4/13 Character Set 96-Character Sets ISO Latin-1 Supplemental1 1 ISO Latin-2 Supplemental 1 ISO Latin-Cyrillic Supplemental 1 1 ISO Latin-5 Supplemental 1 Character sets that can be designated by DECAUPSS 5.
Fonts and Character Attributes on the LA75 Plus Companion Printer 5.
Fonts and Character Attributes on the LA75 Plus Companion Printer 5.3 Cartridge Font Repertory Table 5–2 (Cont.) Available Cartridge Fonts Part Number Cartridge Name LA75Y-CG ISO Latin-2 Cyrillic HebrewDavid Character Sets in the Cartridge DEC PPL2 mode: ISO Latin-2 Supplemental, ISO Latin-Cyrillic Supplemental Proprinter mode, IBM code pages: ISO Latin-2 (852), Russian (866), Hebrew (862) A comprehensive listing of the contents of the installed cartridge is performed by the printer in setup mode.
Fonts and Character Attributes on the LA75 Plus Companion Printer 5.5 Font Status Report (DECFSR) 5.5 Font Status Report (DECFSR) The SGR parameter, described under DECFSR in the Command Dictionary, is always 17 if a font cartridge is installed. DECFSR does not report built-in fonts or downloaded fonts. 5.6 Density Selection (DECDEN) Supported Ps values for DECDEN are given in Table 5–4. Table 5–4 DECDEN Ps Selection Ps Selection 0 Selects the default (draft) print density (highest speed).
Fonts and Character Attributes on the LA75 Plus Companion Printer 5.7 Download Font (DECDLD) Any sequence with other values or any other combination of values is ignored or changed to a valid configuration as given in Table 5–6.
Fonts and Character Attributes on the LA75 Plus Companion Printer 5.7 Download Font (DECDLD) • If the input buffer size is configured to extended size by the setup facility, the LA75 Plus has no download capability. As a result, any DECDLD sequence is ignored. 5.8 Slant The LA75 Plus supports the Select Graphic Rendition (SGR) attribute for slant by algorithmically slanting the characters. See SGR in the Command Dictionary. 5.
Fonts and Character Attributes on the LA75 Plus Companion Printer 5.9 Bar Code Printing • Parameter Ps7. The LA75 Plus Companion Printer does not support control characters in bar codes. • Parameter Ps8. The LA75 Plus Companion Printer always uses portrait orientation. The values assigned to Pn2, Pn4, and Pn5 must be consistent with the pitch. Table 5–8 shows the allowed combinations of Pn parameters and pitch. Table 5–8 Allowed Combinations of Pn Values and Pitch Pn2 Pn4 Pn5 Pitch 9 27 18 4.
6 Sixel Graphics Considerations on the LA75 Plus Companion Printer This chapter explains the graphics resolution capability of the LA75 Plus Companion Printer. 6.1 Graphics Resolution Table 6–1 shows the values that the printer uses for macro value Ps1 of the Sixel Graphics mode protocol selector. Table 6–1 Graphics Pitch Fallbacks Macro Value Horizontal Grid Size (Inches) Aspect Ratio (Vertical:Horizontal) 0 or none 1/144 in (0.0069) 200:100 1 1/144 in (0.
Sixel Graphics Considerations on the LA75 Plus Companion Printer 6.1 Graphics Resolution Table 6–2 shows the horizontal grid size (HGS) and vertical grid size (VGS) fallbacks relative to the requested horizontal grid size and the aspect ratio. The printer attempts to preserve the requested aspect ratio without exceeding the requested horizontal grid size (as defined by Pn3 of the protocol selector). The aspect ratio is provided by Ps1 or Set Raster Attributes (DECGRA).
Sixel Graphics Considerations on the LA75 Plus Companion Printer 6.
7 Control Characters for the LA75 Plus Companion Printer This chapter describes the control characters for the LA75 Plus Companion Printer and their functions. The control characters are: • Bell, described in Section 7.1 • EOT, described in Section 7.2 7.1 Bell The LA75 Plus Companion Printer has an audio indicator, or bell. The bell can be configured using setup to sound one beep, sound three beeps, sound continuously, or not to sound at all when an error occurs.
Part II LA310 MultiPrinter Part II of the Digital ANSI-Compliant Printing Protocol Level 2 Programming Supplement describes the DEC PPL2 protocol as implemented by the LA310 MultiPrinter. • Chapter 8 describes the basic features and characteristics of the LA310 MultiPrinter. • Chapter 9 describes the the printing of the physical page on the LA310 MultiPrinter. • Chapter 10 describes the initial state of the printer. • Chapter 11 describes how status and error messages are handled.
8 General Information About the LA310 MultiPrinter This chapter contains the following information about the LA310 MultiPrinter: • Description of the LA310 MultiPrinter, Section 8.1 • Protocol extensions and exceptions, Section 8.2 • Alternate protocols, Section 8.3 • Cartridges, Section 8.4 8.1 Description of the LA310 MultiPrinter The LA310 MultiPrinter is a wide-carriage impact dot-matrix printer, designed for general business applications.
General Information About the LA310 MultiPrinter 8.1 Description of the LA310 MultiPrinter • Has a slot for optional cartridges for one of the following: Additional protocol emulations Fonts Additional character sets Refer to Section 8.4. For information about installing and using the LA310 MultiPrinter, see the LA310 MultiPrinter Installation/User’s Guide. 8.
General Information About the LA310 MultiPrinter 8.2 DEC PPL2 Extensions and Exceptions Table 8–2 DEC PPL2 Exceptions Exceptions Bell LA210, LA120, LA50 alias Device Attributes Report (DA) parameters Control Representation Mode (CRM) Protocol switching Horizontal Page Width Alignment (DECHPWA) Loading Factory NVR (DECFNVR) Answerback (DECLANS, ENQ) Automatic Test Mode (DECSATM, DECCKSR) 8.
General Information About the LA310 MultiPrinter 8.4 Cartridges Supported by the LA310 MultiPrinter 8.4 Cartridges Supported by the LA310 MultiPrinter The LA310 MultiPrinter has a slot for an optional cartridge. Cartridges are available to supply the following additional capabilities: • Fonts • Protocol emulations • Additional character sets To insert the cartridge, turn the printer power off, insert the cartridge, and turn the power back on.
9 Physical Page Characteristics of the LA310 MultiPrinter This chapter explains how the LA310 MultiPrinter printer handles the transfer of the logical page in memory to the physical paper. Topics include: • Paper handling, Section 9.1 • Response to a Form Feed request, Section 9.2 • Horizontal text resolution, Section 9.3 • Vertical text resolution, Section 9.4 • Limits on partial line motion, Section 9.5 • Tab support, Section 9.
Physical Page Characteristics of the LA310 MultiPrinter 9.1 Paper Handling Fanfold Paper — Rear Feed/Top or Rear Output (Push Tractor Mode and Pull Tractor Option) Paper is considered autoloaded when the printer loads it automatically at power-up or when the user presses the Form Feed (FF) button. Paper is considered manually loaded when the user inserts it using the platen knob. The LA310 MultiPrinter can detect the top of the first form only.
Physical Page Characteristics of the LA310 MultiPrinter 9.3 Horizontal Text Resolution 9.3 Horizontal Text Resolution The LA310 supports a horizontal resolution of 1/7920" internally, allowing it to maintain accurate positioning for all horizontal pitches. When translating to the physical resolution of 1/720", positioning accuracy will be lost for the pitches indicated in Table 9–1, but in all cases it will be no more than 1/1440".
Physical Page Characteristics of the LA310 MultiPrinter 9.4 Vertical Text Resolution Table 9–2 Text Vertical Pitch Fallbacks Target Pitch Actual in 1/2160" 1 lpcm (2.54 lpi) Fallback pitch Error per A4 page 850 1.0046318 lpcm 2.54117647 lpi 0.14 mm 2 lpcm (5.08 lpi) 425 2.00092635 lpcm 5.08235294 lpi 0.13 mm 4 lpcm (10.16 lpi) 213 3.99245869 lpcm 10.14084507 lpi 0.57 mm 9.
10 Initial State Values for the LA310 MultiPrinter This chapter lists the values used by the LA310 MultiPrinter printer for: • A power-up reset or a recall of factory default values • The Select Conformance Level (DECSCL) command • The Soft Terminal Reset (DECSTR) or Reset to Initial State (RIS) commands 10.1 Initial States Table 10–1 lists the initial state values used by the LA310 MultiPrinter. The printer always powers up in Ready mode if no error is detected.
Initial State Values for the LA310 MultiPrinter 10.1 Initial States Table 10–1 (Cont.
Initial State Values for the LA310 MultiPrinter 10.1 Initial States Table 10–1 (Cont.
11 Status and Error Reporting for the LA310 MultiPrinter This chapter explains how the LA310 MultiPrinter printer provides status information and handles error conditions. The topics include: • Device Attributes Report, Section 11.1 • Secondary Device Attributes Report, Section 11.2 • Device Status Report, Section 11.3 Note Device attribute and status reports are applicable only to the serial interface. Reports are not sent across the parallel interface. 11.
Status and Error Reporting for the LA310 MultiPrinter 11.1 Device Attributes Report (DAR) Table 11–1 Generic DAR Replies Ps Description 4 Sixels 5 Katakana character set 7 Dynamically Redefinable Character Sets (DRCS), also known as ‘‘download font extension’’ 12 Hebrew character set 23 Metric line spacing extension 24 Greek extension 26 Turkish extension When the Printer ID setup feature is set to LA50, LA120, or LA210, an alias DAR response is returned.
Status and Error Reporting for the LA310 MultiPrinter 11.2 Secondary Device Attributes Report (DA2R) The optional pull tractor cannot be detected by the LA310 firmware because of a hardware limitation; therefore, it cannot be reported by the DA2R. Table 11–3 DA2R Response Parameters for LA310 Character Form Code Description Ps1 59 3/5 3/9 LA310 Ps2 xx 3/x 3/x Firmware version x.x 10 3/1 3/0 Version 1.
Status and Error Reporting for the LA310 MultiPrinter 11.3 Device Status Report (DSR) Table 11–4 DSR Codes Ps Description Reference ?20 No malfunction ?22 Communication failure (Event) ?23 Input buffer overflow (Event) ?24 Printer deselected (State) ?26 Cover open (State) ?27 Paper out (State) ?40 Character set not available (Event) Section 11.3.1 ?42 Downline load error (Event) Section 11.3.2 ?45 Character beyond right margin (Event) ?55 Alternate protocol error (Event) Section 11.
Status and Error Reporting for the LA310 MultiPrinter 11.3 Device Status Report (DSR) Note When the ‘‘Input Buffer’’ feature is set to 32K, no fonts can be downloaded into the LA310 MultiPrinter and the DECDLD sequence is ignored. 11.3.3 Alternate Protocol Error This error occurs when an alternate protocol that is not available in the printer (built-in or in a cartridge) is selected with the Select Other Coding System (SOCS) command. 11.3.
Status and Error Reporting for the LA310 MultiPrinter 11.3 Device Status Report (DSR) This feature can be enabled or disabled during setup. Refer to Section A.4 for information on the interaction of this feature with automatic port selection.
12 Fonts and Character Attributes on the LA310 MultiPrinter This chapter gives information on: • The built-in font repertory, Section 12.1 • Additional character sets, Section 12.2 • The optional cartridge, Section 12.3 • Select Graphic Rendition (SGR) command for cartridge font selection, Section 12.4 • Density selection, Section 12.5 • Download font, Section 12.6 • Slant, Section 12.7 12.
Fonts and Character Attributes on the LA310 MultiPrinter 12.
Fonts and Character Attributes on the LA310 MultiPrinter 12.1 Built-In Font Repertory Table 12–1 (Cont.) Supported Character Sets I2 F Designator Characters Code A 4/1 B 4/2 ISO Latin-Greek Supplemental F 4/6 ISO Latin-Hebrew Supplemental1 H 4/8 L 4/12 M 4/13 Character Set 96-Character Sets ISO Latin-1 Supplemental1 1 ISO Latin-2 Supplemental 1 ISO Latin-Cyrillic Supplemental 1 ISO Latin-5 Supplemental 1 Character 1 sets that can be designated by DECAUPSS 12.
Fonts and Character Attributes on the LA310 MultiPrinter 12.3 Optional Cartridge Table 12–2 Available Optional Cartridge Part Number Cartridge Name Character Sets in the Cartridge LA31X-CA ISO Latin-2 Cyrillic DEC PPL2 mode: ISO Latin-2 Supplemental,ISO Latin-Cyrillic Supplemental Proprinter and EPSON modes, IBM code pages: ISO Latin-2 (852), Russian (866) A comprehensive listing of the contents of the installed cartridge is performed by the printer in setup mode.
Fonts and Character Attributes on the LA310 MultiPrinter 12.5 Density Selection (DECDEN) Table 12–3 DECDEN Parameters for LA310 Ps Selection 0 Selects High Speed Draft print density. 1 Selects High Speed Draft print density. 2 Selects Near Letter Quality 2 (NLQ2) print density. 3 Selects Draft print density. 4 Selects Near Letter Quality 1 (NLQ1) print density. Note There is an interaction between DECDEN and the PRINT QUALITY feature in the GENERAL set-up menu.
Fonts and Character Attributes on the LA310 MultiPrinter 12.6 Download Font—DECDLD Table 12–4 (Cont.) DECDLD Font Set Sizes (Pss) Pss Print Density 1 Draft 3 Near Letter Quality 2 4 High Speed Draft The Near Letter Quality (NLQ1) density for a downloaded font file is generated algorithmically by the LA310 from the downloaded Draft font file. The supported DECDLD matrix widths for the LA310 are given in Table 12–5.
Fonts and Character Attributes on the LA310 MultiPrinter 12.6 Download Font—DECDLD Table 12–7 DECDLD Erase Control (Pe) Pe Erase Control 0 Erase all characters in all set sizes in the specified font buffer. 1 Erase only the characters that are loaded. 2 Erase all characters in all set sizes in all font buffers. 3 Erase all characters in the specified set size and font buffer. The LA310 Multiprinter allows you to load fonts for three different densities into a font buffer.
13 Sixel Graphics Considerations on the LA310 MultiPrinter This chapter explains the graphics resolution capability of the LA310 MultiPrinter. 13.1 Graphics Resolution Since the LA310 does not support a physical horizontal resolution of 1/660", it needs to ‘‘fall back’’ to a different grid size when some grid sizes are requested. Table 13–1 shows the values that the LA310 uses for the macro parameter (Ps1) of the Sixel Graphics mode protocol selector.
Sixel Graphics Considerations on the LA310 MultiPrinter 13.1 Graphics Resolution The printer attempts to preserve the requested aspect ratio without exceeding the requested horizontal grid size (as defined by Pn3 of the protocol selector). The aspect ratio is provided by Ps1 or Set Raster Attributes (DECGRA). First the printer ensures that the aspect ratio is one of the supported values (1:1, 2:1, 2.5:1): • If aspect ratio is less than 1.
14 Control Characters for the LA310 MultiPrinter This chapter describes the control characters for the LA310 MultiPrinter and their functions. The control characters are: • Bell, described in Section 14.1 • EOT, described in Section 14.2 • ENQ, described in Section 14.3 14.1 Bell The LA310 MultiPrinter has an audio indicator, or bell. The bell can be configured using setup to sound one beep, to sound three beeps, to sound continuously, or not to sound at all when an error occurs.
Part III LA600 MultiPrinter Part III of the Digital ANSI-Compliant Printing Protocol Level 2 Programming Supplement describes the DEC PPL2 protocol as implemented by the LA600 MultiPrinter. • Chapter 15 describes the basic features and characteristics of the LA600 MultiPrinter. • Chapter 16 describes the the printing of the physical page on the LA600 MultiPrinter. • Chapter 10 describes the initial state of the printer. • Chapter 18 describes how status and error messages are handled.
15 General Information About the LA600 MultiPrinter This chapter contains the following information about the LA600 MultiPrinter: • Description of the LA600 MultiPrinter, Section 15.1 • Protocol extensions and exceptions, Section 15.2 • Alternate protocols, Section 15.3 • Additional interfaces with additional protocols, Section 15.4 • Color printing, Section 15.5 • Cartridges, Section 15.6 15.
General Information About the LA600 MultiPrinter 15.1 Description of the LA600 MultiPrinter • Can be connected at the same time to serial and parallel ports, and switches automatically between them when data is received. • Has a slot for optional cartridges for additional fonts or character sets. 15.
General Information About the LA600 MultiPrinter 15.2 DEC PPL2 Extensions and Exceptions Table 15–2 (Cont.) DEC PPL2 Exceptions Exceptions Protocol switching Horizontal Page Width Alignment (DECHPWA) Answerback (DECLANS, ENQ) Proportional Spacing (DECPSP) Graphic Size Modification (GSM) Select Input Tray Failover (DECSITF) Paper Exit Control (DECPEC) Printhead Gap Setting (DECPHGC) Bar Code Printing (DECSBCA, DECBAR) 15.
General Information About the LA600 MultiPrinter 15.4 Additional Interfaces with Additional Protocols 15.4 Additional Interfaces with Additional Protocols Optional boards, called Personality Modules, are available for the LA600 MultiPrinter, as follows: LA60X-SI Serial/Parallel with IBM, EPSON, and Philips protocols LA60X-CX IBM COAX LA60X-TX IBM TWINAX LA60X-ET Ethernet 15.
16 Physical Page Characteristics of the LA600 MultiPrinter This chapter explains how the LA600 MultiPrinter printer handles the transfer of the logical page in memory to the physical paper. Topics include: • Paper handling, Section 16.1 • Automatic Sheet Feeder control, Section 16.3 • Response to a Form Feed request, Section 16.2 • Paper tray selection, Section 16.4 • Paper exit selection, Section 16.5 • Printhead gap control, Section 16.6 • Horizontal text resolution, Section 16.
Physical Page Characteristics of the LA600 MultiPrinter 16.1 Paper Handling Fanfold Paper — Front Feed/Rear Output (Tractor Mode) Paper in parked position loads automatically when data is received. At power-up, when the LA600 MultiPrinter is not at line 1, column 1, or in parked position, the printer performs a conditional Form Feed to reset Top of Form (TOF). The LA600 MultiPrinter can detect the top of the first form only.
Physical Page Characteristics of the LA600 MultiPrinter 16.2 Response to Form Feed (FF) Note If the paper source is modified via the command DECASFC or the Operator Panel, the current cut sheet is ejected and the fanfold paper is parked automatically. 16.3 Automatic Sheet Feeder Control To control its optional Automatic Sheet Feeder (ASF), the LA600 MultiPrinter uses the Automatic Sheet Feeder Control (DECASFC) command.
Physical Page Characteristics of the LA600 MultiPrinter 16.4 Paper Tray Selection (DECSITF) 16.4 Paper Tray Selection (DECSITF) The LA600 supports the command Select Input Tray Failover (DECSITF). When all of the paper trays in the composite tray definition are empty, a ‘‘paper out’’ condition occurs. Printing resumes when any of these trays is reloaded. The LA600 supports the Ps2–Psn values from 1 to 3, with a maximum of 3 parameters. The printer does not support the combination Ps2, Ps3=1,3.
Physical Page Characteristics of the LA600 MultiPrinter 16.6 Printhead Gap Control (DECPHGC) • The paper source has changed. • Paper is inserted manually. • Fanfold paper has moved from the parked position. • Power-up has occurred. • Printing resumes after an offline condition, which the resulted from either user action on the Start/Stop key or a fault. • A DECPHGC command is received with Ps=0 on the previous page or prior to loading the paper.
Physical Page Characteristics of the LA600 MultiPrinter 16.7 Horizontal Text Resolution Table 16–4 (Cont.) Horizontal Text Resolution and Error Target Pitch Selected HAI in Centipoints Actual in 1/720" Error 6 1200 120 None 6.6 1090 108.667 ±1/2160" (6.625) 8.25 872 86.667 ±1/2160" (8.308) 8.55 (28/240") 840 84 None 8.57 9 800 80 None 10 720 72 None 12 600 60 None 13.2 545 54.333 ±1/2160" (13.252) 15 480 48 None 16.5 436 43.333 ±1/2160" (16.615) 17.
Physical Page Characteristics of the LA600 MultiPrinter 16.8 Vertical Text Resolution Table 16–5 Text Vertical Pitch Fallbacks Target Pitch Actual in 1/2160" 1 lpcm (2.54 lpi) Fallback pitch Error per A4 page 850 1.0046318 lpcm 2.54117647 lpi 0.14 mm 2 lpcm (5.08 lpi) 425 2.00092635 lpcm 5.08235294 lpi 0.13 mm 4 lpcm (10.16 lpi) 213 3.99245869 lpcm 10.14084507 lpi 0.57 mm 16.
Physical Page Characteristics of the LA600 MultiPrinter 16.10 Printable Area If Pn=0, the device enters no forms mode. This mode is accessible via command sequence only. In this mode the Form Feed button on the Operator Panel is not processed as a Line Feed. The function of the button is unchanged. 16.11 Logical Page to Physical Sheet Mapping To control page length for cut-sheet paper, the LA600 MultiPrinter uses the paper-in sensor.
17 Initial State Values for the LA600 MultiPrinter This chapter lists the values used by the LA600 MultiPrinter printer for: • A power-up reset or a recall of factory default values • The Select Conformance Level (DECSCL) command • The Soft Terminal Reset (DECSTR) or Reset to Initial State (RIS) commands 17.1 Initial States Table 17–1 lists the initial state values used by the LA600 MultiPrinter. The printer always powers up in Ready mode if no error is detected.
Initial State Values for the LA600 MultiPrinter 17.1 Initial States Table 17–1 (Cont.
Initial State Values for the LA600 MultiPrinter 17.1 Initial States Table 17–1 (Cont.) Initial State Values for LA600 Variable or Control Function DECSCL Power-Up DECSTR RIS Recall Factory Defaults (Setup) GR character set G2 G2 G2 G2 User Preference Set DEC Supp. NVM NVM DEC Supp.
Initial State Values for the LA600 MultiPrinter 17.1 Initial States Table 17–1 (Cont.
18 Status and Error Reporting for the LA600 MultiPrinter This chapter explains how the LA600 MultiPrinter printer provides status information and handles error conditions. The topics include: • Device Attributes Report, Section 18.1 • Secondary Device Attributes Report, Section 18.2 • Device Status Report, Section 18.3 Note Device attribute and status reports are applicable only to the serial interface. Reports are not sent across the parallel interface. 18.
Status and Error Reporting for the LA600 MultiPrinter 18.1 Device Attributes Report (DAR) Table 18–1 Generic DAR Replies Ps Description 1 Color 4 Sixels 5 Katakana character set 6 Sheet feeder (if installed) 12 Hebrew character set 23 Metric line spacing extension 24 Greek extension 25 Cyrillic 26 Turkish extension 29 Cutting device (if installed) When the Printer ID setup feature is set to LA120, or LA210, an alias DAR response is returned.
Status and Error Reporting for the LA600 MultiPrinter 18.2 Secondary Device Attributes Report (DA2R) Table 18–3 DA2R Response Parameters for LA600 Character Form Code Description Ps1 63 3/6 3/3 LA600 Ps2 xx 3/x 3/x Firmware version x.x 10 3/1 3/0 Version 1.
Status and Error Reporting for the LA600 MultiPrinter 18.3 Device Status Report (DSR) Table 18–4 DSR Codes Ps Description Reference ?20 No malfunction ?21 Hardware failure (State) ?22 Communication failure (Event) ?23 Input buffer overflow (Event) ?24 Printer offline (State) ?26 Cover open (State) ?27 Paper out (State) ?30 ASF installed (State) ?32 Paper jam or ASF error (Event) ?45 Character beyond right margin (Event) Section 18.3.
Status and Error Reporting for the LA600 MultiPrinter 18.3 Device Status Report (DSR) 18.3.1 Character beyond the Right Margin This error occurs when a character is to be printed beyond the right margin and is truncated as a result. It does not occur when Autowrap Mode (DECAWM) is set. 18.3.2 Initialization Messages If the serial port becomes active when the automatic port selection is enabled, and this feature is enabled with the INIT.
19 Fonts and Character Attributes on the LA600 MultiPrinter This chapter gives information on: • The built-in font repertory, Section 19.1 • Additional fonts and character sets, Section 19.2 • Font selection, Section 19.3 • Density selection, Section 19.4 • Attribute selection, Section 19.5 • Character size selection, Section 19.6 • Proportional spacing selection, Section 19.7 • Printing control characters, Section 19.8 Note The LA600 MultiPrinter does not support downloaded fonts. 19.
Fonts and Character Attributes on the LA600 MultiPrinter 19.1 Built-In Font Repertory OCR-A OCR-B Data Block The built-in font repertory of the LA600 MultiPrinter includes all character sets, selectable by the command Select Character Set (SCS), listed in Table 19–1 (at all pitches and densities), with the following exceptions: • OCR-A and OCR-B: For characters not addressed by these fonts, the fallback is to Courier.
Fonts and Character Attributes on the LA600 MultiPrinter 19.1 Built-In Font Repertory Table 19–1 (Cont.
Fonts and Character Attributes on the LA600 MultiPrinter 19.2 Additional Cartridge-based Fonts and Character Sets 19.2 Additional Cartridge-based Fonts and Character Sets The LA600 can accept cartridges that supply additional fonts or character sets. Cartridge-based fonts are addressable by the Select Graphic Rendition (SGR) command, using parameter Ps17. For details, see Section 19.3. Additional cartridge-based character sets cannot be selected by the command SCS.
Fonts and Character Attributes on the LA600 MultiPrinter 19.3 Font Selection (SGR) Table 19–2 (Cont.) SGR Parameters for Font Selection This Ps... selects this typestyle... 15 Orator-C 16 Orator 17 Optional cartridge font 18 OCR-A 19 OCR-B ?12 Data Block 1 1 When a font cartridge contains more than one font file, the SGR sequence addresses the first font found on the cartridge. All of the cartridge fonts are listed at the end of the print Font menu.
Fonts and Character Attributes on the LA600 MultiPrinter 19.4 Density Selection (DECDEN) Table 19–4 Typestyles and Print Densities Typestyle Draft NLQ LQ Courier Y Y Y Roman See a. Y Y Sans Serif See a. Y Y Prestige See a. Y Y Script See a. Y Y OCR-A See a. See b. Y OCR-B See a. See b. Y Orator See a. Y Y Orator-C See a. Y Y Y See c. See c. Data Block 1 Data 1 Block forces proportional spacing, and accepts combinations of attributes (bold, slant, etc.).
Fonts and Character Attributes on the LA600 MultiPrinter 19.5 Attribute Selection 19.5 Attribute Selection The LA600 MultiPrinter supports the SGR attributes underline, overline, double underline, strikethrough, superscript and subscript, bold, and slant by algorithmically transforming the characters. The bold attribute, the various line attributes, and the superscript and subscript attributes, are each applied with one pass of the printhead. The combination of these attributes results in multiple passes.
Fonts and Character Attributes on the LA600 MultiPrinter 19.
Fonts and Character Attributes on the LA600 MultiPrinter 19.6 Character Size Selection Table 19–6 (Cont.) Data Block Proportional Character Width Character Character Description Width in n/360" * Asterisk 252 + Plus Sign 216 , Comma 72 - Minus Sign/Hyphen 216 .
Fonts and Character Attributes on the LA600 MultiPrinter 19.6 Character Size Selection Table 19–6 (Cont.
Fonts and Character Attributes on the LA600 MultiPrinter 19.6 Character Size Selection Table 19–6 (Cont.
Fonts and Character Attributes on the LA600 MultiPrinter 19.6 Character Size Selection Table 19–6 (Cont.
Fonts and Character Attributes on the LA600 MultiPrinter 19.6 Character Size Selection Table 19–6 (Cont.
Fonts and Character Attributes on the LA600 MultiPrinter 19.6 Character Size Selection Table 19–6 (Cont.
Fonts and Character Attributes on the LA600 MultiPrinter 19.6 Character Size Selection Table 19–6 (Cont.
Fonts and Character Attributes on the LA600 MultiPrinter 19.8 Printing Control Characters 19.8 Printing Control Characters The LA600 MultiPrinter supports Control Representation Mode (CRM), which can be set by the CRM command or by the ‘‘HEX DUMP’’ selection from the Operator’s Panel. If CRM is set by command, it can be disabled by command only; likewise, if CRM is set from the Operator’s Panel, the mode must be disabled the same way.
20 Bar Code Printing on the LA600 MultiPrinter This chapter gives information on: • Bar code styles supported and escape sequences that enable bar code printing, Section 20.1 • Start or Stop Bar Codes (DECBAR) command, Section 20.2 • Select Bar Code Attributes (DECSBCA) command, Section 20.3 • The Active Position (AP) in different printer emulation modes and implications for printing consecutive bar codes, Section 20.4 and Section 20.
Bar Code Printing on the LA600 MultiPrinter 20.1 Bar Codes Supported Interleaved 2 of 5 MSI mod 10/10 POSTNET UPC-A UPC-E Three escape sequences enable the LA600 MultiPrinter to print bar codes: 1. DECSBCA Select Bar Code Attributes CSI Ps1 ; Pn2 ; . . . ; Ps9 ’ q 2. DECBAR Start Bar Coding ESC % SP 0 3. DECBAR Stop Bar Coding ESC % @ 20.2 Start or Stop Bar Codes (DECBAR) This command generates bar codes using the data between the Start sequence and the Stop sequence. 20.
Bar Code Printing on the LA600 MultiPrinter 20.3 Select Bar Code Attributes (DECSBCA) Table 20–1 Bar Code Attributes Parameter Description Supported Values Ps1 Bar code endcoding 0, 2, or none: Code 39 1: Interleaved 2 of 5 4: EAN 8 5: EAN 13 7: Codabar a/t 8: Codabar b/n 9: Codabar c/* 10: Codabar d/e 11: UPC-A 12: UPC-E 13: POSTNET 14: Industrial 2 of 5 15: Code 93 16: MSI mod 10/10 17: Code 128 (EAN 128) Pn2 Width of narrow bars and spaces See Table 20–2.
Bar Code Printing on the LA600 MultiPrinter 20.
Bar Code Printing on the LA600 MultiPrinter 20.3 Select Bar Code Attributes (DECSBCA) SC9: Pn4=30 For Code 39 only, the following settings are also supported: Ps8=0, Pn2=9, Pn4=27 The device defaults to Pn2=10, Pn4=25, Pn6=120. Ps8=0, Pn2=18, Pn4=54 The device defaults to Pn2=20, Pn4=50, Pn6=120. 20.4 Active Print Position The active position (AP) is the position where the next data will be printed (if no control code or escape sequence is sent).
Bar Code Printing on the LA600 MultiPrinter 20.5 Bar Code Examples 20.5 Bar Code Examples This section provides a comparison of bar code sequences for the two different emulation modes described above in Section 20.4. 20.5.1 Line Printer Emulation 1.
Bar Code Printing on the LA600 MultiPrinter 20.5 Bar Code Examples 2.
Bar Code Printing on the LA600 MultiPrinter 20.5 Bar Code Examples 3.
Bar Code Printing on the LA600 MultiPrinter 20.5 Bar Code Examples 4.
Bar Code Printing on the LA600 MultiPrinter 20.5 Bar Code Examples 20.5.2 DEC PPL2 Emulation 1.
Bar Code Printing on the LA600 MultiPrinter 20.5 Bar Code Examples 2. The following sequence DECSBCA (CSI 12;;;;;;;;’q) DECBAR (start) data DECBAR (stop) VPA (or VPR) Pn DECBAR (start) data DECBAR (stop) produces two horizontal bar codes (with portrait bars) in UPC-E one above the other: 3.
Bar Code Printing on the LA600 MultiPrinter 20.5 Bar Code Examples 4.
Bar Code Printing on the LA600 MultiPrinter 20.6 Bar Code Characteristics 20.6 Bar Code Characteristics This section describes how the LA600 MultiPrinter supports the various bar code characteristics. 20.6.
Bar Code Printing on the LA600 MultiPrinter 20.6 Bar Code Characteristics 20.6.4 Intercharacter Gap The intercharacter gap separates the last bar in one character from the first bar of the next. The intercharacter gap is required in styles where each character begins and ends with a dark bar. 20.6.5 Number of Characters in a Bar Code The number of characters that form the bar code varies among the bar code styles.
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles Table 20–3 (Cont.) Bar Code Styles: Characteristics Summary Style Code Range Data Length Code 93 10 digits: 0–9 Upper case letters: A–Z 7 characters: - .
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles 20.7.1 Code 39 As shown in Figure 20–1, the Code 39 bar code style provides the means to encode the entire ASCII character set. This system supports all 128 ASCII characters by using four prefixes for the 26 letters of the alphabet. These four prefixes are the Extended Code 39 symbols: $ / % + Extended Code 39 prints like Code 39.
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles Figure 20–1 Extended Code 39 ASCII Character Set ASCII Code 39 ASCII Code 39 ASCII Code 39 ASCII NUL %U SP Space @ %V ` SOH $A ! /A A A a STX $B " /B B B b ETX $C # /C C C c EOT $D $ /D D D d ENQ $E % /E E E e ACK $F & /F F F f BEL $G ' /G G G g BS $H ( /H H H h HT $I ) /I I I i LF $J * /J J J j VT $K + /K K K k FF $L , /L L L l CR $M M M m SO $N . .
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles 20.7.2 Code 93 As shown in Figure 20–2, the Code 93 bar code style provides the means to encode the entire ASCII character set. This system supports all 128 ASCII characters by using prefixes for the 26 letters of the alphabet. These prefixes include seven characters: . $ / + % SP and four Extended Code 93 symbols: ($) (/) (%) (+) Extended Code 93 prints like Code 93.
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles Figure 20–2 Extended Code 93 ASCII Character Set ASCII Code 93 ASCII Code 93 ASCII Code 93 ASCII NUL (%)U SP Space @ (%)V ` SOH ($)A ! (/)A A A a STX ($)B " (/)B B B b ETX ($)C # (/)C C C c EOT ($)D $ $ D D d ENQ ($)E % % E E e ACK ($)F & (/)F F F f BEL ($)G ' (/)G G G g BS ($)H ( (/)H H H h HT ($)I ) (/)I I I i LF ($)J * (/)J J J j VT ($)K + + K K k FF ($)L , (/)L L L l CR ($)M M M m SO ($)N . .
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles Figure 20–3 Reference Table for Code 93 Check Character Calculation 0 1 2 3 4 5 6 7 8 9 A B 0 1 2 3 4 5 6 7 8 9 10 11 C 12 D E F 13 14 15 G H I J K L M N O P Q R 16 17 18 19 20 21 22 23 24 25 26 27 S 28 T 29 U V 30 31 W X Y Z -- .
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles 20.7.3 Code 128 As shown by Figure 20–5, Code 128 encodes a character repertoire of 128 ASCII characters, 4 control characters (FNC1, FNC2, FNC3, FNC4), and 4 special characters (CODE A, CODE B, CODE C, SHIFT). Code 128 includes three character subsets: • Subset A provides standard alphanumeric keyboard characters, control, and special characters.
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles Figure 20–5 Extended Code 128 ASCII Character Set Value Subset A Subset B Subset C 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 SP ! " # $ % & ' ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B SP ! " # $ % & ' ( ) * + , .
Bar Code Printing on the LA600 MultiPrinter 20.
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles 20.7.4 Codabar The bar code styles Codabar a/t, Codabar b/n, Codabar c/*, and Codabar d/e all share the following characteristics: • A check digit, though not required, can be calculated if needed by the application based on modulo 10 weighted by 3. • The recommended ratio of wide to narrow elements is 2.5, though the ratio can range from 2.0 to 3.0.
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles Figure 20–7 Example: EAN 13 Characters for ‘‘401234598765’’ Original number 4 0 1 2 3 Weight factor 1 3 1 3 1 (Product digit) x (Weight factor) 4 0 1 6 3 Sum 108 Modulo 10 108 Modulo 10 Check character 10 - 8 = 2 Final number 4 0 1 2 3 4 5 9 8 7 6 5 3 1 3 1 3 1 3 12 5 27 8 21 6 15 = 10 remainder 8 4 5 9 8 7 6 5 2 20.7.
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles 20.7.7 Industrial 2 of 5 The bar code style Industrial 2 of 5 allows for large tolerances, ranging from plus or minus 15% to 20%. Specifically, the style has the following characteristics: • Start and Stop characters are: : / ; • A check digit, thought not required, can be calculated by the application if needed based on modulo 10 weighted by 3. • The recommended ratio of wide to narrow elements is 2.
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles Figure 20–8 Example: MSI mod 10/10 Characters for ‘‘987654’’ Original number New number formed from odd position digits Multiply by 2 (x2) Sum of digits Sum of previous summation and unused digits from the original number Modulo 10 Check character Final number • 9 8 7 6 5 4 8 6 4 1728 1 + 7 + 2 + 8 = 18 18 39 10 9 + 9 + 7 + 5 = 39 Modulo 10 = 3 remainder 9 - 9 = 1 8 7 6 5 4 1 Pitch is fixed to 21.
Bar Code Printing on the LA600 MultiPrinter 20.7 Characteristics of the Supported Bar Code Styles Symbol Size Minimum Quiet Zone SC3 0.1287" SC6 0.1755" SC9 0.234" Figure 20–9 Example: UPC A Characters for ‘‘01234567890’’ Original number 0 1 2 3 4 Weight factor 3 1 3 1 3 (Product digit) x (Weight factor) 0 1 6 3 12 Sum 85 Modulo 10 85 Modulo 10 = Check digit 10 - 5 = 5 Final number 0 1 2 3 4 5 6 7 8 9 0 1 3 1 3 1 3 5 18 7 24 9 0 8 remainder 5 5 6 7 8 9 0 5 20.7.
21 Sixel Graphics Considerations on the LA600 MultiPrinter This chapter explains the graphics resolution capability of the LA600 MultiPrinter. 21.1 Graphics Resolution Since the LA600 MultiPrinter does not support a physical horizontal resolution of 1/720", it needs to ‘‘fall back’’ to a different grid size when some grid sizes are requested. Table 21–1 shows the values that the LA600 uses for the macro parameter (Ps1) of the Sixel Graphics mode protocol selector.
Sixel Graphics Considerations on the LA600 MultiPrinter 21.1 Graphics Resolution The printer attempts to preserve the requested aspect ratio without exceeding the requested horizontal grid size (as defined by Pn3 of the protocol selector). The aspect ratio is provided by Ps1 or Set Raster Attributes (DECGRA). First the printer ensures that the aspect ratio is one of the supported values (1:1, 2:1, 2.5:1): • If aspect ratio is less than 1.
22 Control Characters for the LA600 MultiPrinter This chapter describes the control characters for the LA600 MultiPrinter and their functions. The control characters are: • EOT, described in Section 22.1 • ENQ, described in Section 22.2 Note Although the LA600 MultiPrinter has an audio indicator, the device ignores the bell (0/7) command received from the host. 22.
Part IV Appendixes Part IV of the Digital ANSI-Compliant Printing Protocol Level 2 Programming Supplement contains reference information about the DEC PPL2 protocol as implemented on Digital’s printers. • Appendix A describes the printer communication interfaces. • Appendix B contains a list of DEC PPL2 commands and compares the implementation of each command on each of the Digital printers.
A Printer Communication Interfaces This appendix provides information on the serial and parallel interfaces of the printer and describes the mechanism for the automatic port selection. Sections include: • Data communication interfaces, Section A.1 • The serial port, Section A.2 Serial data character format, Section A.2.1 Serial data synchronization, Section A.2.2 • The parallel port, Section A.3 • Automatic port selection, Section A.4 A.
Printer Communication Interfaces A.2 The Serial Port A.2.1 Serial Data Character Format The serial data character format used by the printer is the format used for normal asynchronous transmission, that is: • A start bit (space) • 7 or 8 data bits (1 = mark, 0 = space) • A parity bit (selectable) • One or more stop bits During setup, the use of the parity bit (on or off) and the number of data bits (7 or 8) that you assign must agree with the computer to which the printer is connected.
Printer Communication Interfaces A.2 The Serial Port • Emergency Upper Level = 64 • Lower Level = 256 Input buffer sizes are listed in Table A–1. Table A–1 Input Buffer Values Small LA75 Companion Printer LA310 MultiPrinter LA600 MultiPrinter 8K 16K 1K1 8K1 16K1 32K1 Large1 1 Select 2 This 32K 32K 47K2 this feature through setup. value is the default. XON/XOFF Control While XON/XOFF is enabled, DTR remains high.
Printer Communication Interfaces A.2 The Serial Port DTR Handshaking Control When DTR handshaking protocol is selected, the DTR (Data Terminal Ready) signal of the serial interface is raised and lowered to control data flow, as follows: • When just powered up and ready, the printer forces DTR high, signaling to the data source that transmission may begin.
Printer Communication Interfaces A.4 Automatic Port Selection A.4 Automatic Port Selection When the Communication Port Selection feature is set to ‘‘automatic’’ (for the LA75 Plus and the LA310 MultiPrinter) or to ‘‘shared’’ (for the LA600 MultiPrinter) during setup, either the serial or parallel port automatically becomes active when valid data is received on it. In the case of the serial port, valid data means data without a parity error.
Printer Communication Interfaces A.4 Automatic Port Selection • As long as there is data in the printer’s input buffer, the currently active port remains active. • If the input buffer of the active port remains empty for 2 seconds, the port is disabled by placing it in the standby state. At this time the other port is enabled.
B Comparison of DEC PPL2 Commands by Printer Appendix B compares the DEC PPL2 commands supported by the Digital Level 2 printers. The LA50, a Level 1 printer, is included for reference. Each command is described as belonging to a level of the protocol or an extension to the protocol. Each level of the protocol includes the commands of the lower-numbered levels of the protocol. Therefore, level 2 of the protocol (DEC PPL2) includes the commands of level 1 (DEC PPL1).
Comparison of DEC PPL2 Commands by Printer Table B–1 Comparison of DEC PPL2 Commands LA50 LA70 LA75 /LA75 Plus BEL — Bell o o o o o o – BS — Backspace o o o o o o o Command LA210 LA310 LA324 /LA424 LA600 DEC PPL1 Commands C0 Control Characters CAN — Cancel o o o o o o o CR — Carriage Return o o o o o o o FF — Form Feed o o o o o o o HT — Horizontal Tab o o o o o o o LF — Line Feed o o o o o o o LS0 (SI) — Locking Shift 0 (Shift In) o o o
Comparison of DEC PPL2 Commands by Printer Table B–1 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–1 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–1 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–1 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–1 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–1 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–1 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–1 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–2 Comparing Extensions to the DEC PPL2 Protocol Command LA50 LA70 LA75 /LA75 Plus – – o1 – – o o – – o1 – – o o n2 o o n2 o o o – o o – o o o LA210 LA310 LA324 /LA424 LA600 Color Extension (1) SGR — Color printing — Ps = 30—37,39 Interrogation DA — Report extension parameter — ;1 Sixel Extension (4) Command Dictionary DCS—Sixel Graphics Mode –q(7/01) Interrogation DA — Report extension parameter — ;4 Katakana Extension
Comparison of DEC PPL2 Commands by Printer Table B–2 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–2 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–2 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–2 (Cont.
Comparison of DEC PPL2 Commands by Printer Table B–3 Comparing Exceptions to the Protocol Command LA50 LA70 LA75 /LA75 Plus LA210 LA310 LA324 /LA424 LA600 DAR — Compatibility Reports CSI ? 17 c — LA50 o o o – o o o CSI ? 2 c — LA120 – o o – o o o CSI ? 10;3 c — LA100 – o o o o o o DECID — Request ID – – – o – – – – – – o1 – – – – – – Character Sets DEC APL – – – o1 – o o – o o o Request Font Configuration – – – o1 – – – DECLANS—Load Answ
Comparison of DEC PPL2 Commands by Printer Table B–4 Alternative Protocols Command LA50 LA70 LA75 /LA75 Plus DECIPEM — IBM Proprinter Emulation Mode – o o –1 o o o SOCS — Select Other Coding System (IBM Proprinter) – o o2 – o o o SOCS — Select Other Coding System (EPSON) – – – – o – o ROCS — Return from Other Coding System – o o2 – o o o DECPSP — Proportional Spacing Mode – – – – – – o GSM — Graphic Size Modification – – – – – – o DECSITF — Select Input
C DEC PPL2 Command Dictionary Supplement This appendix provides the definition of new DEC PPL2 commands not listed in the Digital ANSI-Compliant Printing Protocol Level 2 Programming Reference Manual. These commands are implemented on some DEC PPL2 printers only (see Appendix B).
DECLANS — Load Answerback DECLANS — Load Answerback Loads a coded string as the Answerback message and optionally stores it into nonvolatile RAM (NVRAM). Source: Symbiont Destination: Levels 1, 2, 3 Exception Format Without password: DCS Ps1 v D ... D ST 9/0 *** 7/6 encoded_message_string 9/12 With password: DCS Ps1 ; Pn2 ; Pn3 v D ...
DECLANS — Load Answerback The printer supports a method to lock the answerback message via the DEC PPL2 protocol. A decimal password can be given along with the answerback message being loaded. When a password is loaded into the printer, it must be specified in a subsequent DECLANS command in order to change the answerback message in the future. The password as well as the answerback are stored in non-volatile memory. This feature is selected with a Ps1 value of 3.
DECPSP — Proportional Spacing Mode DECPSP — Proportional Spacing Mode When set, enables proportional spacing of characters. When reset, selects monospaced printing. Source: Application Destination: Level 2 Extension, Level 3 Format CSI 9/11 CSI 9/11 ? 3/15 ? 3/15 2 3/2 2 3/2 7 3/7 7 3/7 h 6/8 l 6/12 Sets Proportional Spacing Mode. Resets Proportional Spacing Mode. Description When a proportional font is in use and DECPSP is reset, the device prints characters on a monospaced grid.
DECPEC — Paper Exit Control DECPEC — Paper Exit Control Selects the paper exit path for cut sheets. Source: Symbiont Destination: Level 2 Exception Format CSI Ps t 9/11 *** 2/13 7/4 Description The selective parameters are as follows: Ps Meaning 0 1 2 3 Paper Paper Paper Paper exits exits exits exits stacker stacker front side (confirmed by user) front side (not confirmed by user) This command applies to cut sheets only. Paper source is selected by the DECASFC command.
DECPHGC — Printhead Gap Control DECPHGC — Printhead Gap Control Controls the distance between the printhead and the platen. Source: Symbiont Destination: Level 2 Exception Format CSI Ps s 9/11 *** 2/13 7/3 Description The selective parameters are as follows: Ps Meaning 0 n Automatic Gap Control mode (AGC) Programmable Copy Control mode (PCC)—n= distance measured in number of copies In AGC mode, the gap between the printhead and the platen is controlled by the device automatically.
DECSITF — Select Input Tray Failover DECSITF — Select Input Tray Failover Designates the input trays used for failover. Source: Symbiont Destination: Level 2 Exception, Level 3 Extension Format CSI Ps1 ; Ps2 ; 9/11 *** 3/11 *** 3/11 . . . Psn SP w *** *** 2/0 7/7 Description This command defines the paper tray failover rules for the printer. A composite tray may be defined by the DECSITF command, across which paper tray failover may occur.
DECSITF — Select Input Tray Failover This command only affects sheets printed subsequent to the receipt of this command. DECSITF cannot be used to clear a ‘‘paper out’’ condition. A member of the composite tray need not be present when the command is received, but must be present at the time of failover, or the device considers the next tray in the composite tray definition. When all of the paper trays in the composite tray definition are empty, a ‘‘paper out’’ condition occurs.
GSM — Graphic Size Modification GSM — Graphic Size Modification Expands the character height and width to a defined multiplication factor.
Index A Addressing additional character sets, 5–3 Alias response from DAR LA310, 11–2 LA600, 18–2 LA75 Plus, 4–2 Alternate protocols LA310, 8–3 LA600, 15–3 LA75 Plus, 1–3 Answerback loading, C–2 requesting, C–2 Aspect ratio, 6–3 LA310, 13–2 LA600, 21–2 Automatic port selection, A–5 Automatic sheet feeder LA75 Plus, 2–4 Automatic Sheet Feeder Control (DECASFC) command, 2–4 B Bar code printing human-readable characters, 5–9 LA600, 20–1 LA75 Plus, 5–8 Bell LA310, 14–1 LA600, 22–1 LA75 Plus, 7–1 Bold attribut
Commands (cont’d) DA2R (Secondary Device Attributes Report), 4–2, 11–2, 18–2 DAR (Device Attributes Report), 4–1, 11–1, 18–1 DECASFC (Automatic Sheet Feeder Control), 2–4 DECAUPSS (Assign User Preference Supplemental Set), 5–1 DECBAR (Start or Stop Bar Codes), 20–2 DECDEN (Density Selection), 5–6, 12–4, 19–5 DECDLD (Download Font), 5–6, 12–5 DECFSR (Font Status Report), 5–6 DECGRA (Set Raster Attributes), 6–2, 13–2, 21–2 DECSBCA (Select Bar Code Attributes), 5–8, 20–2 DECSCL (Select Conformance Level), 3–1,
DTR handshaking control, A–4 DTR—Data Terminal Ready, A–2 E ENQ LA310, 14–1 LA600, 22–1 EOT LA310, 14–1 LA600, 22–1 LA75 Plus, 7–1 Error codes LA310, 11–4 LA600, 18–4 LA75 Plus, 4–3 Event, DSR LA310, 11–4 LA600, 18–4 LA75 Plus, 4–3 Extensions comparison by printer, B–1 Extensions and exceptions LA310, 8–2 LA600, 15–2 LA75 Plus, 1–2 F Fallbacks density LA310, 12–4 LA600, 19–5 LA75 Plus, 5–6 graphics grid size LA310, 13–2 LA600, 21–2 LA75 Plus, 6–3 graphics pitch LA75 Plus, 6–1 horizontal pitch LA310, 9–3 L
Horizontal text resolution (cont’d) LA75 Plus, 2–3 Human-readable characters in bar codes, 5–9 I Initial state values LA75 Plus, 3–1 Initialization messages LA310, 11–5 LA600, 18–5 LA75 Plus, 4–4 Input trays LA75 Plus, 2–4 L LA310 printer description, 8–1 LA310 protocols, 8–3 LA600 printer description, 15–1 LA600 protocols, 15–3 LA75 Plus printer description, 1–1 protocols, 1–3 Line attributes LA600, 19–7 Load Answerback (DECLANS) command, C–2 M Metric line spacing LA310, 9–3 LA600, 16–6 LA75 Plus, 2–4 M
Printer commands compared by, B–1 Printer communication and controls, A–1 Printhead Gap Control (DECPHGC) command, C–6 Proportional Spacing Mode (DECPSP) command, C–4 Protocols supported by the LA310, 8–3 Protocols supported by the LA600, 15–3 Protocols supported by the LA75, 1–3 R Reports, font status LA75 Plus, 5–6 RIS (Reset to Initial State) command LA310, 10–1 LA600, 17–1 LA75 Plus, 3–1 S Secondary Device Attributes Report (DA2R) LA75 Plus, 4–2 Secondary Device Attributes Report (DA2R) command LA310,
Text resolution horizontal pitch LA310, 9–3 LA600, 16–5 LA75 Plus, 2–3 vertical pitch LA600, 16–6 LA75 Plus, 2–4 Text resultion vertical pitch LA310, 9–3 Top of form setting, 2–1, 9–1, 16–1 Tray selection, C–7 Index–6 V Vertical text resolution LA310, 9–3 LA600, 16–6 LA75 Plus, 2–4 X XON/XOFF + DTR handshaking control, A–4 XON/XOFF control, A–3