IBM 6400 Programmer's Reference Manual

IBM 6400 Programmer's Reference Manual

Line matrix printers, intelligent printer data stream
Table of Contents

Advertisement

S246-0148-00
IBM 6400
Line Matrix Printers
Intelligent Printer Data Stream
Programmer's Reference

Advertisement

Table of Contents
loading

Summary of Contents for IBM 6400

  • Page 1 S246-0148-00 IBM 6400 Line Matrix Printers Intelligent Printer Data Stream Programmer's Reference...
  • Page 3 S246-0148-00 IBM 6400 IBML Line Matrix Printers Intelligent Printer Data Stream Programmer's Reference...
  • Page 4 P.O. Box 1900 Boulder, CO 80301-9817 U.S.A. IBM may use or distribute any of the information you supply in any way it believes suitable without incurring any obligation whatever. You may, of course, continue to use the information you supply. Ó...
  • Page 5: Table Of Contents

    ..... . . Logical Unit Types and Typical IBM Products ....
  • Page 6 ......Set Intercharacter Adjustment (SIA) ..... . 6400 IPDS...
  • Page 7 Set Text Color (STC) ....... Set Text Orientation (STO) ......Set Variable Space Increment (SVI) .
  • Page 8 ........IPDS Application in LU-1 Mode ......6400 IPDS...
  • Page 9 Determining IPDS Capability ......Inbound Structured Fields ......Selecting and Terminating IPDS Mode of Operation .
  • Page 10 6400 IPDS...
  • Page 11 ... Asynchronous NACK in DSC (BSC-Attached) Mode ... Synchronous ACK/NACK in DSC (BSC-Attached) Mode ..Ó Copyright IBM Corp. 1995...
  • Page 12 6400 IPDS...
  • Page 13: Notices

    Any reference to an IBM product, program, or service is not intended to state or imply that only IBM's product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any of the intellectual property rights of IBM may be used instead of the IBM product, program, or service.
  • Page 14: Trademarks

    This equipment is approved under approval number NS/G/1234/J/100003 for indirect connections to the public telecommunications systems in the United Kingdom. Japanese VCCI Trademarks The following terms are trademarks of the IBM Corporation in the United States or other countries or both: Application System/400 AS/400 System/370...
  • Page 15 IBM Data Stream and Object Architectures, Graphics Object Content • Architecture (GOCA) Reference, SC31-6804. IBM Data Stream and Object Architectures, Mixed Object Document Content • Architecture (MO:DCA) Reference, SC31-6802. IBM Data Stream and Object Architectures, Presentation Text Object • Architecture (PTOCA) Reference, SC31-6803.
  • Page 16 6400 IPDS...
  • Page 17: Chapter 1. Introduction

    IPDS lets you print pages containing an unlimited mix of different types of data: high-quality text, images, vector graphics, and bar codes. You can send IPDS data to printers attached to the IBM Application System/400 (AS/400) intelligent work stations, local area networks, IBM 3270-family controllers, and spooled systems.
  • Page 18: Printing A Letter

    You can also include graphics, such as a line chart or bar chart, in your letter, creating a composite document. 6400 IPDS...
  • Page 19: Ipds Letter Preparation

    Capabilities of IPDS Figure 2. IPDS Letter Preparation An IPDS-driven printer offers flexibility. For example, you can highlight a list of items by printing the list in a different type style from the rest of the text; or you can print your letterhead in one font and your text in another font. You can electronically store your letterhead so it is always printed in the same type style.
  • Page 20: Using Overlays

    An overlay always prints in the type style used when it was stored and can be positioned anywhere on the page. Overlays are useful for letterheads and for forms, as shown below in Figure 3. Figure 3. Using Overlays 6400 IPDS...
  • Page 21: Using Page Segments

    Using Page Segments Using Page Segments Page segments are similar to overlays, except that the construct is stored without specific instructions for type styles and position on the page. Page segments are printed in the type style in use at print time. You can place a page segment anywhere on the page.
  • Page 22: Using Images And Graphics

    For details about these commands, see Intelligent Printer Data Stream Reference, S544-3417. For details on graphics commands, see IBM Data Stream and Object Architectures Graphics Object Content Architecture (GOCA) Reference, SC31-6804.
  • Page 23: Using Bar Codes

    Using Bar Codes Using Bar Codes Bar code data is encoded information that is recognized by optical scanning devices. The printer can print the bar code types shown in Figure 6 on page 8 in many sizes and with other variations, such as with or without the human-readable characters.
  • Page 24: Bar Codes From The Printer

    Using Bar Codes Figure 6. Bar Codes From The Printer 6400 IPDS...
  • Page 25: Chapter 2. System Configuration

    If you are not familiar with physical and logical unit types, review “Summary of Physical and Logical Unit Types” on page 16 for descriptions of commonly used physical and logical units. Note: Throughout the following examples, this printer is referred to as the 6400. Ó Copyright IBM Corp. 1995...
  • Page 26: Attaching Printer With Ipds To S/370-S/390 Host Systems

    1. Define to VTAM and add to or selecting from a logmode entry in the VTAM Logmode Table 2. Define to JES2 3. Define to PSF/MVS 4. Select the printer options that are appropriate for the environment. 6400 IPDS...
  • Page 27: Step 2 - Jes2 Definition (Sys1.Parmlib)

    LOC3174 VBUILD TYPE=LOCAL LOCPU74 PU CUADDR=nnn,MAXBFRU=2 LOC6400 LU LOCADDR=8,MODETAB=MYMODETB,DLOGMODE=6400PSFL,ISTATUS=ACTIVE The following entry should be placed in the VTAM MODE TABLE specified above or another of your choice. Alternatively, you may utilize the IBM provided entry "IBM3812C". 6400PSFL MODEENT LOGMODE=6400PSFL, FMPROF=X'03',TSPROF=X'03',PRIPROT=X'B1', SECPROT=X'B0',COMPROT=X'7080',RUSIZES=X'85C7' PSERVIC=X'014000010000000001000000' PSNDPAC=X'02',SRCVPAC=X'02',SSNDPAC=X'00' Step 2 - JES2 Definition (SYS1.PARMLIB)
  • Page 28: Step 4 - Printer Settings

    MODETAB=MYTABLE (Table name containing MODEENT) Step 2 - VTAM Definition The following entry should be placed in the VTAM MODE TABLE specified above or another of your choice. Alternately, you may utilize the IBM provided entry "IBM3812" 6400PSFR MODEENT LOGMODE=6400PSFR,...
  • Page 29: Step 4 - Psf/Mvs Definition

    • Quality, and Graphics Quality settings for desired quality. Review “Configuring IPDS from the Printer Operator Panel” on page 17 and the 6400 Setup Guide, S246-0116 for information on setting printer configuration values. Attaching to LU1-IPDS-Local SNA 3174 Control Unit...
  • Page 30: Step 1 - Vtam Definition

    Refer to the vendor documentation for defining an IPDS printer to that program. If specific reference is not made to the 6400 you may use an IBM 4234 definition. Step 4 - Printer Settings It is recommended that the following fastest default printer settings be used: Printer Control =>...
  • Page 31: Attaching To Lu1-Ipds-Remote Sna 3174 Control Unit

    Refer to the vendor documentation for defining an IPDS printer to that program. If specific reference is not made to the 6400 you may use an IBM 4234 definition. Step 5 - Printer Settings It is recommended that the following fastest default printer settings be used: Printer Control =>...
  • Page 32: Summary Of Physical And Logical Unit Types

    DSC (Data Stream Compatibility) mode printing. An example of an LU 0 printer connection is an IBM 3816 attached to a non-SNA 3274 or 3174 control unit. Not all printers support this type connection. This connection type is used when VTAM is controlling the non-SNA control unit and device.
  • Page 33: Configuring Ipds From The Printer Operator Panel

    The settings, or configuration parameters, such as selecting the host interface, are adjusted according the configuration instructions in your 6400 Setup Guide, S246-0116. Configure IPDS in the same way you would configure the printer for other features.
  • Page 34: Printer Configuration Main Menu

    Printer Configuration Main Menu The following shows an overview of the printer configuration menus and also shows where to access IPDS configuration values. For information about other configuration values, refer to the 6400 Setup Guide, S246-0116. Figure 7. Configuration Main Menu 6400 IPDS...
  • Page 35: Ipds Configuration Menu

    Installation and Configuration IPDS Configuration Menu Figure 8. IPDS Menu IPDS Configuration Values This sections describes the following operator panel configuration values for IPDS. Table 3. IPDS Operator Panel Configuration Values Functions Default Value Other Value(s) Override Host Disable Enable Graphics Quality Medium High or Low...
  • Page 36: Override Host

    Accepts images with 120 by 144 and prints images 120 by 144. With this setting, the image is printed as is and requires no conversion. Because no conversion is required, there is more fidelity between the original image and the printed image. 6400 IPDS...
  • Page 37: Ipds Emulation Mode

    Note: There is one bit of image data per pel. If your print job contains an image created to print 144 by 144, which is very common for IBM 4234 printers, some bits of data will be dropped out to support the best fit resolution, which is 120 by 144.
  • Page 38: Other Ipds Menu Selections

    The spool file can be deleted before printing is completed. This can cause the printer to print at rated speed but some data, particularly the last few lines, of the last print job may be lost. 6400 IPDS...
  • Page 39: Chapter 3. Ipds Commands Reference

    Determined by Operator's Panel MPP setting Y-Extent of Medium Presentation Space Determined by Op Panel MPL setting X Coordinate (logical page origin) 0000 Y Coordinate (logical page origin) 0000 Xp-Extent of Logical Page Determined by Operator Panel MPP setting Ó Copyright IBM Corp. 1995...
  • Page 40 “Set Text Orientation (STO)” on page 73 or “Logical Page Descriptor (LPD)” on page 39 determines whether to print in a left-to-right or right-to-left sequence. The default when the printer is powered on is the left-to-right sequence. 6400 IPDS...
  • Page 41: Configuration Values

    Configuration Values Configuration Values This printer allows flexibility in selecting various configuration values to support a wide range of functions. For example, the printer uses these values to format the page and to control forms movement. The configuration values also allow the operator to select the printer address, language, print mode, and compatibility options, and to turn the alarm on or off.
  • Page 42: Command Format

    0 = Acknowledge Reply Response is Complete 1 = Second Buffer of XOH - OPC Reply Required Bit 3 - 6-Reserved (Always Zero) Bit 7 (NDS DSC mode only) 0 = End Persistent NACK 1 = Persistent NACK 0000 FFFF Correlation ID 6400 IPDS...
  • Page 43: Notation Conventions

    3. Negative values are in twos-complement form. 4. Some bits or bytes in the data fields are Reserved. The printer does not always check the contents of these fields. However, IBM recommends that such fields equal the specified value (if one exists) or zero.
  • Page 44: Command Sets

    (LPP)” on page 41 No Operation D603 See “No Operation (NOP)” on page 42 Sense Type and D6E4 See “Sense Type and Model Model (STM)” on page 42 Set Home State D697 See “Set Home State (SHS)” on page 46 6400 IPDS...
  • Page 45 Device Control Command Set Table 6 (Page 2 of 2). Device-Control Commands and Orders Name Command Order Disposition XOA Execute D633 See “Execute Order Any State Order Anystate (XOA)” on page 46 XOA Discard F200 See “Discard Buffered Data Buffered Data (DBD)”...
  • Page 46: Device Control Command Set

    Error sense bytes when reporting an exception. • Response to the following information request • commands: - “Sense Type and Model (STM)” on page 42 - “Obtain Printer Characteristics (OPC)” on page 52 - “Request Resource List (RRL)” on page 47 6400 IPDS...
  • Page 47: Begin Page (Bp)

    Device Control Command Set Table 7. Acknowledgement Reply Byte Value Description Error Code Acknowledgment Type: A one byte field that identifies the type of acknowledgement record and contents (if any) of the Special Data area. None Sense Type and Model Request Resource List Obtain Printer Characteristics Sense Bytes...
  • Page 48: End (End)

    The copy group definition can be from 2 to 36 bytes long (divisible by 2). The maximum number of key-words that the host program can specify in a copy group definition is: ' C1nn ' specify 1 time ' D1nn ' specify 1 to 17 times 6400 IPDS...
  • Page 49 Simplex Printing is printing on only one side of the document. This is the only type of printing the IBM 64XX Line Matrix Printers can perform. Suppression ID allows the later suppression of text data. The first byte of the keyword, D1, specifies this keyword as suppression.
  • Page 50: Load Font Equivalence (Lfe)

    Each font equivalence entry is 16 bytes, in the following format: Table 10 (Page 1 of 2). Load Font Equivalence Byte Value Description Error Code Byte 0 Local-Font ID 0218..02 0001 7EFF Font Host Assigned ID 0218..02 021F..02 6400 IPDS...
  • Page 51: Using

    Device Control Command Set Table 10 (Page 2 of 2). Load Font Equivalence Byte Value Description Error Code 3 - 4 Font Inline Sequence 0247..02 0000 0 Degrees 5A00 180 Degrees 5 - 6 GCSGID (Ignored) 7 - 8 xxxx CPGID 021D..02 See “Code Page ID Values”...
  • Page 52: Code Page Id Values

    DP, NLQ Turkish 1152 1026 X'0402' DP, NLQ Farsi 1219 1097 X'0449' DP, NLQ Note: GCSGIDs are listed for information only. GCSGID is IGNORED in the LFE GRID and character set selection occurs as a result of CPGID activation. 6400 IPDS...
  • Page 53 Device Control Command Set Table 12. Font and Print Quality Combinations (Standard Fonts) Font Global ID Font Style Name Pitch (CPI) Print Quality (FGID) X'0013' OCR-A OCR Quality X'0003' OCR-B OCR Quality X'001A' Gothic Draft, DP X'001C' Gothic (Bold) Draft, DP X'013A' Gothic (Italic) Draft, DP...
  • Page 54 - Code Page 1097 Farsi All code pages are Version 1 wherever versions apply. • 3. Compressed fonts are not used for 8 lines per inch (LPI). Instead, standard fonts that work for 6 and 8 LPI are substituted for compressed FGIDS. 6400 IPDS...
  • Page 55: Logical Page Descriptor (Lpd)

    Device Control Command Set Logical Page Descriptor (LPD) Length D6CF Flag Correlation ID DATA (Optional) This command establishes the print characteristics for the logical page. The Logical Page Descriptor command is only valid in the home state. See “XOH Set Media Size (SMS)”...
  • Page 56 0, 90 orientation and rightmost print position for 180, 90 orientation. 5. The IBM 64XX Line Matrix Printers can print right-to-left by selecting a 180, 90 degree orientation within the Logical Page Descriptor command or within the Set Text Orientation control sequence. The IBM 64XX Line Matrix Printers force an inline sequence of 180 degrees for the default font to maintain upright printing when right-to-left printing is selected.
  • Page 57: Logical Page Position (Lpp)

    Device Control Command Set Figure 9. Using the Logical Page Descriptor Command to Specify the Logical Page Logical Page Position (LPP) Length D66D Flag Correlation ID DATA (Optional) This command positions the upper left corner of the logical page (defined by the Logical Page Descriptor control) with respect to the physical medium.
  • Page 58: No Operation (Nop)

    The format of the data field returned with the Acknowledge Reply is: acknowledgment type, page or copy counters, and 6 bytes of general information, followed by a sequence of command set vectors identifying the functions supported by this printer. The following chart shows the Data field: 6400 IPDS...
  • Page 59 Device Control Command Set Byte Description 01 (Acknowledgment Type) Page/Copy Counters FF (System/370 Convention) Printer Product Number 4234. Printer Model Number (See Note) 9-10 0000 (Reserved) 11-36 Device Control Command Set Vector 37-50 Text Command Set Vector 51-62 Image Command Set Vector 63-74 Graphics Command Set Vector 75-80...
  • Page 60 Value Description 000C Vector Length E5C7 Graphics Command Set - GR1 Subset FF20 DR/2V0 Data 1001 Unordered Graphics Objects 4022 Color of Medium Supported Limited Simulated Color Supported 10-11 A004 All four orientations supported. Bar Code Command Set 6400 IPDS...
  • Page 61 Device Control Command Set Table 21. Bar Code Command Set Byte Value Description 000C Vector Length C2C3 Bar Code Command Set - BC1 Subset FF10 BCD1 Data 1001 Unordered Bar Code Objects 4022 Color of Medium Supported 10-11 A004 All four orientations supported Note: See “Bar Code Type, Name, and Modifier Description and Values”...
  • Page 62: Set Home State (Shs)

    The DBD order is a synchronizing command. Any command following a synchronizing command is not processed until all preceding commands have been completely processed. Also, the ACK of the DBD order is not returned until DBD processing is complete. 6400 IPDS...
  • Page 63: Request Resource List (Rrl)

    Device Control Command Set Request Resource List (RRL) This subcommand is a request from the host application program for the printer to identify resources currently allocated in the printer. The printer responds by placing the requested information in the Special Data (SD) area of a subsequent Acknowledge Reply.
  • Page 64: Exception Handling Control (Ehc)

    The Exception Handling Control subcommand allows the host control of exception handling by the printer. This subcommand specifies the action the printer is to take with respect to the reporting and processing of exception (error) conditions. The format of the EHC subcommand is: 6400 IPDS...
  • Page 65: Print Quality Control (Pqc)

    Device Control Command Set Table 27. Exception Handling Control Byte Value Description Error Code F600 Exception Handling Control (EHC) Exception Reporting Bit 0 Do not Report Undefined Character Check Report Undefined Character Check Bit 1 Do not Report Page Position Check Report Page Position Check Bits 2-5 Reserved...
  • Page 66: Execute Order Home State (Xoh)

    The data field contains a two byte order, called the subcommand, and a subcommand data field. There is only one subcommand for a single XOH command. The subcommand data field contains parameters for that order. The valid orders for the XOH command for the IBM 64XX Line Matrix Printers are: Order...
  • Page 67: Xoh Set Media Size (Sms)

    CPI, and LPI) are equal to the factory-set parameter values or if the Media Size Input Priority is set to alternate. Refer to IBM 6412-CTA Line Matrix Printer Maintenance Information Manual for information on setting operator media size input. Figure 11. Using the Set Media Size Command to Specify the Physical Medium The data field for the Set Media Size subcommand has the following format: Table 29.
  • Page 68: Obtain Printer Characteristics (Opc)

    Table 31 (Page 1 of 2). Printable Area Self-Defining Field Byte Value Description 0018 Length of this Self Defining Field 0001 Printable Area Self Defining Field ID Default Input Media Source Reserved Unit Base 10 inches Reserved 3840 L-units per Unit Base 6400 IPDS...
  • Page 69 Device Control Command Set Table 31 (Page 2 of 2). Printable Area Self-Defining Field Byte Value Description 10-11 13B0 4C80 Width of the physical medium in L-units (+Xm direction) Does NOT include width of carrier strip for continuous forms media. 12-13 000A 7FFF...
  • Page 70 Bytes 28-29 X'0119' Code Page 281, Japanese/English Bytes 30-31 X'011A' Code Page 282, Portuguese Bytes 32-33 X'011C' Code Page 284, Spain/Latin America Bytes 34-35 X'011D' Code Page 285, English (U.K.) Bytes 36-37 X'011F' Code Page 287, Denmark Norway Alternate 6400 IPDS...
  • Page 71 Device Control Command Set Table 36 (Page 2 of 3). Base Code Page Support Self-Defining Field Special Data Value Description Area Bytes 38-39 X'0120' Code Page 288, Finland Sweden Alternate Bytes 40-41 X'0121' Code Page 289, Spain Alternate Bytes 42-43 X'0129' Code Page 297, France Bytes 44-45...
  • Page 72 & NLQ only) Bytes 134-135 X'0125' Code Page 293, APL 4234 Compatibility (DP & NLQ only) Bytes 136-137 X'0136' Code Page 310, APL (DP & NLQ only) Bytes 138-139 X'01A4' Code Page 420, Arabic (DP & NLQ only) 6400 IPDS...
  • Page 73 Device Control Command Set Table 37 (Page 2 of 3). NLS and APL Code Page Support Self-Defining Field Special Data Value Description Area Bytes 140-141 X'01A7' Code Page 423, Greek Old (DP & NLQ only) Bytes 142-143 X'01A8' Code Page 424, Hebrew Bytes 144-145 X'0323' Code Page 803, Hebrew...
  • Page 74 Total Length of Code Page and Font ID Repeating Group Code Page Support ID Length of Code Page LIST Length of Code Page Repeating Group Entry 244-245 037C Code Page 892, OCR-A Length of Font ID List Length of Font ID Repeating Group Entry 6400 IPDS...
  • Page 75 Device Control Command Set Table 38 (Page 2 of 2). OCR-A Code Page Support Self-Defining Field Byte Value Description 248-249 0013 OCR-A OCR-B Code Page Support Self-Defining Field Table 39. OCR-B Code Page Support Self-Defining Field Byte Value Description Total Length of Code Page and Font ID Repeating Group List (including itself) Code Page Support ID Length of Code Page List...
  • Page 76 Bytes 5-6 0000 4234 with Page Counter Fix Product ID Table 45 (Page 1 of 2). Product Identifier Self Defining Field ID Byte Value Description 003C Length of this Self Defining Field 0013 Product Identifier Self Defining Field ID 6400 IPDS...
  • Page 77: Presentation Text Command Set

    Presentation Text Command Set Table 45 (Page 2 of 2). Product Identifier Self Defining Field ID Byte Value Description Length of Self Defining Product ID Parameter 0001 Product Identifier Parameter ID 7-12 F0F0F6F4FxFx 64XX Device Type 13-15 Model Number C3E3C1 16-18 C9C2D4 Manufacturer...
  • Page 78: Write Text (Wt)

    ' 2BD3 ' introducer, and each subsequent text control starts with its own length field, followed by its control field and any parameters for that control. The last text control in the chain must have the chain bit off. 6400 IPDS...
  • Page 79 Presentation Text Command Set A Write Text command can span to another Write Text command. That is, if a Write Text command ends after the control sequence has begun (the 2B has been received), and before all of the control sequence parameters have been received, this Write Text command spans to the next Write Text command.
  • Page 80: Absolute Move Baseline (Amb)

    ' 7FFF ' are valid but might be off the page. 2. Several Absolute Move Inline controls used in a single line reduce throughput. If possible, replace Absolute Move Inline controls with spaces, or combine multiple sequential Absolute Move Inline controls into a single Absolute Move Inline control. 6400 IPDS...
  • Page 81: Begin Line (Bln)

    Presentation Text Command Set Table 50. Absolute Move Inline Byte Value Description Error Code 2BD3 Text Control Escape Sequence Length 021E..01 Absolute Move INLINE Unchained Chained 0000 7FFF Displacement (Ic) See “Notation Conventions” on 0214..01 page 27 Begin Line (BLN) This control moves the inline and baseline coordinates to the first position on the next line.
  • Page 82: Draw B-Axis Rule (Dbr)

    Negative values are in twos-complement form. If the length or width is zero, no line is drawn. If the width is the null indicator (FFFFFF) or is omitted, the rule drawn is one dot wide. 6400 IPDS...
  • Page 83: Draw I-Axis Rule (Dir)

    Presentation Text Command Set Table 53. Draw B-Axis Rule Byte Value Description Error Code 2BD3 Text Control Escape Sequence or X Length 021E..01 Draw B-Axis Rule Unchained Chained 8000 7FFF Length (Bl) See “Notation Conventions” on page 27 8000 7FFF Width (Bw) FFFF Printer Default 1 pel (X...
  • Page 84: No Operation (Nop)

    Note: If bit 7 is on, the printer treats all other bits in byte 4 as zeros, regardless of their values. An OVS command with a bypass value of 00 ends overstrike mode. Table 57 (Page 1 of 2). Overstrike Byte Value Description Error Code 2BD3 Text Control Escape Sequence Length 021E..01 Overstrike Unchained Chained 6400 IPDS...
  • Page 85: Relative Move Baseline (Rmb)

    Presentation Text Command Set Table 57 (Page 2 of 2). Overstrike Byte Value Description Error Code Bypass Identifiers Bits 0-3 Reserved Bit 4 Overstrike white space from Relative Move Inline Bypass white space from Relative Move Inline Bit 5 Overstrike white space from Absolute Move Inline Bypass white space from Absolute Move Inline...
  • Page 86: Repeat String (Rps)

    Value Description Error Code 2BD3 Text Control Escape Sequence Length 021E..01 Set Baseline Increment Unchained Chained 8000 7FFF Increment (Bi) See “Notation Conventions” on page 27 FFFF Use LPD value or, if no LPD received, use printer default 6400 IPDS...
  • Page 87: Set Coded Font Local (Scfl)

    Presentation Text Command Set Set Coded Font Local (SCFL) This control selects a previously-assigned font, pitch, and code page. The Load Font Equivalence command assigns a font local identifier (LID) to a specified font, pitch, and character set. The SCFL control then specifies the LID to use for printing.
  • Page 88: Set Text Color (Stc)

    X Length 021E..01 Set Text Color Unchained Chained Color 0258..03 0000 Printer Default (Black) 0008 Black FF00 Printer Default (Black) FF07 Printer Default (Black) FF08 Color of Medium FFFF Use LPD color value PRECISION 0258..03 Same as X 6400 IPDS...
  • Page 89: Set Text Orientation (Sto)

    Presentation Text Command Set Set Text Orientation (STO) This control establishes i-direction and b-direction for the presentation text that follows. This control can be set to print right-to-left by selecting 180, 90 ' 5A00 ' , X ' 2D00 ' ) degree orientation. The only valid values are 0 and 180 degrees for the inline direction and 90 degrees for the baseline direction.
  • Page 90: Temporary Baseline Move (Tbm)

    ' 2B ' escape sequence. The inline position increments for each position in the string. Table 69. Transparent Data Byte Value Description Error Code 2BD3 Text Control Escape Sequence Length 021E..01 Transparent Data Unchained Chained 4-255 Character String 6400 IPDS...
  • Page 91: Underscore (Usc)

    IM Image Command Set Underscore (USC) This control identifies text the printer underscores at the baseline of the current line. The underscore prints using the same print quality as the text. A USC command with a bypass value of 00 ends underscore mode. Table 70.
  • Page 92: Write Image Control (Wic)

    Magnification Factor of 2 12-13 Scan Line Direction 0248..01 0000 0 Degrees 2D00 90 Degrees 5A00 180 Degrees 8700 270 Degrees 14-15 Scan Line Sequence Direction 0249..01 0000 0 Degrees 2D00 90 Degrees 5A00 180 Degrees 8700 270 Degrees 6400 IPDS...
  • Page 93 IM Image Command Set Table 71 (Page 2 of 2). Write Image Control Byte Value Description Error Code Reference Coordinate System (See Note) 024A..01 Absolute I, Absolute B Absolute I, Relative B Relative I, Absolute B Relative I, Relative B Xp, Yp 17-19 FF8000...
  • Page 94: Write Image (Wi)

    Table 72. Write Image Byte Value Description Error Code 0-End Binary Raster Image 026A..01 026B..01 0264..01 End (END) For a description of the End control, see “End (END)” on page 32. 6400 IPDS...
  • Page 95: Graphics Command Set

    Graphics Command Set Graphics Command Set The graphics command set contains the commands and data controls for presenting graphics pictures on a logical page, page segment, or overlay area on the physical medium. The following commands are the graphics command set: Table 73.
  • Page 96: The Graphics Medium Presentation Space

    It is a conceptual structure defined by the limits of the coordinate space as shown in Figure 13. Units are defined in “Graphics Data Descriptor (GDD)” on page 87. Figure 13. The Graphics Medium Presentation Space and Its Limits 6400 IPDS...
  • Page 97: The Graphics Window

    Graphics Command Set The Graphics Window The graphics window is a user-defined, rectangular area within the graphics medium presentation space. This area is the source from where information is selected for printing. Figure 14 illustrates the relationship of the graphics window to the graphics medium presentation space.
  • Page 98: Positioning The Graphics Window In The Graphics Object Area

    The term mapping refers to the transformation of an abstract space into its size and position on the physical medium. There are three ways to map the abstract space. They are scale-to-fit, center-and-trim, and position-and-trim mapping. These mapping methods are described in detail in “Area Mapping Control Options” on page 88. 6400 IPDS...
  • Page 99: Write Graphics Control (Wgc)

    Graphics Command Set Write Graphics Control (WGC) Length D684 Flag Correlation ID DATA (Optional) (GAP, GOC, GDD) The Write Graphics Control command causes the printer to enter the graphics object area state. The parameters of this command define the size, placement, and orientation of the graphics object area and establish the initial conditions for interpreting the graphics data.
  • Page 100: Graphics Object Area Position Control And The Graphics Object Area

    ' 60 ' , the relative I and B coordinates determine the top left corner. GAP bytes 4 and 5 add to the last text inline coordinate position used prior to graphics. GAP bytes 6 and 7 add to the last text baseline coordinate position used prior to graphics. 6400 IPDS...
  • Page 101: Graphics Output Control (Goc)

    Graphics Command Set If byte 10 equals X ' A0 ' , the current logical page X and Y coordinates determine the origin. When the object is within a page, GAP bytes 4 through 7 specify the offset from the X-coordinate and Y-coordinate origin specified in a previously received LPP command (or from the printer default coordinates if no LPP command was received).
  • Page 102: Graphics Output Control And The Graphics Object Area

    ' 30 ' . These values are the offset of the top left corner of the graphics window relative to the top left corner of the graphics object area. Figure 17. Graphics Output Control and the Graphics Object Area 6400 IPDS...
  • Page 103: Graphics Data Descriptor (Gdd)

    Graphics Command Set Graphics Data Descriptor (GDD) Length A6BB Data The Graphics Data Descriptor is the last structured field in the DATA portion of the Write Graphics Control command. This field specifies the parameters for the graphics window in the graphics medium presentation space (GPS) and sets the drawing default conditions.
  • Page 104: Area Mapping Control Options

    That is, the entire graphics drawing contained within the graphics window appears in the graphics object area, reduced in size to fit in the graphics 6400 IPDS...
  • Page 105: Scale-To-Fit Mapping

    Graphics Command Set object area. This size reduction is done to scale, keeping the same proportions as the original graphics drawing. Notes: 1. The printer will not rescale graphics image data. If the image data does not fit within the output area, clipping of the image data occurs. 2.
  • Page 106: Center-And-Trim Mapping

    Graphics Output Control. Only the portion of the picture contained within the overlapping areas of the graphics window and the graphic object area will be drawn. The printer trims (eliminates) the portion of the graphics picture outside this area. 6400 IPDS...
  • Page 107: Gdd Initial Graphics Defaults Self-Describing Instructions

    Graphics Command Set Figure 21. Position-and-Trim Mapping GDD Initial Graphics Defaults Self-Describing Instructions This portion of the Graphics Data Descriptor structured field contains zero or more self-describing instructions that set the drawing defaults for the graphics picture. The general format of a self-describing instruction is: Length Mask Default...
  • Page 108 Mask Bytes See “Graphics Drawing Order Defaults 0300..03 and Masks” on page 93 for explanation Default Byte 0300..02 Use Standard Values 0300..03 Use the following Data Bytes 6-End Data bytes 0300..21 Note: See “Drawing Orders” on page 97 for valid drawing order defaults. 6400 IPDS...
  • Page 109: Graphics Drawing Order Defaults And Masks

    Graphics Command Set Graphics Drawing Order Defaults and Masks The following chart shows the mask bits for each of the Set instructions. See the drawing order descriptions for supported attribute values. Table 78. Graphics Drawing Order Defaults and Masks Set Byte Mask Bit Description Drawing Attributes...
  • Page 110: Write Graphics (Wg)

    Receipt of the first segment starts the drawing process. Write Graphics Defaults The following defaults are used if not previously defined by “Graphics Drawing Order Defaults and Masks” on page 93. The current value of an attribute is considered when the drawing order is received. 6400 IPDS...
  • Page 111: Begin Segment Introducer (Bsi)

    Graphics Command Set Table 79. Write Graphics Defaults Description Value Color Black Line Type Solid Line Width Normal (1 pel) Character Cell 19 High by 21 Wide X 1/144 inches Character Set Selected via Op Panel Character Angle No Rotation Character Direction Left to Right Marker Symbol...
  • Page 112 If bits 5 and 6 of byte 7 are zero, the drawing attributes are re-initialized to the current default values. If bits 5 and 6 of byte 7 are equal to 11, this segment appends to the previous segment and the current drawing attributes do not reinitialize. 6400 IPDS...
  • Page 113: Drawing Orders

    Graphics Command Set Drawing Orders The printer supports all DR2 Drawing Orders and valid data values listed in this section. One or more drawing orders follow each Begin Segment Introducer. The format of a drawing order is: Order Code Order Code Parameter(s) Order Code Length...
  • Page 114: Begin Area

    If boundary lines are drawn, the printer uses the current values of graphics color, line type, and line width. The printer shades any commented region with an odd number of line crossings from 6400 IPDS...
  • Page 115: Begin Image

    Graphics Command Set infinity. This shading uses the current values of pattern symbol, color, mix, and background mix from the Begin Area order. The printer will not shade regions with an even number of line crossings from infinity. The printer counts all coincident boundary lines when counting line crossings.
  • Page 116: Character String

    The printer uses the current values of color, mix, background mix, and character precision when drawing the string. The Set Character Cell, Set Character Angle, and Set Character Direction orders determine the character size, character angle, and character direction, respectively. 6400 IPDS...
  • Page 117: Comment

    Graphics Command Set L1 is a one-byte value that specifies the length of the character string. If L1 is zero, no character string is drawn. Parameters P1 to Pn, the character string, are one-byte values that specify the code points (characters) of the character string to be drawn, using the currently active character set.
  • Page 118: End Prologue

    The printer uses the current values of color, mix, line type, and line width when drawing the fillet. This order updates the current graphics position to the coordinates of the last point. Fillet at Current Position P1-Pn 6400 IPDS...
  • Page 119: Full Arc

    Graphics Command Set Description: This order specifies a curved line that the printer draws tangential to a specified set of connected, imaginary, straight lines. The printer uses the current graphics position for the first point and the parameter (or parameters) specifies additional points to use.
  • Page 120: Full Arc At Current Position

    Pn. Note: The image data specified in the Image Data Orders between a Begin Image and End Image pair must exactly fill the area specified by the width and height of the Begin Image order. 6400 IPDS...
  • Page 121: Line

    Graphics Command Set This order does not update the current graphics position. Line P1-Pn Description: This order specifies one or more connected lines. L1 is a one-byte value that specifies the length of the parameter field that follows. The value of L1 must be a multiple of four and cannot be zero. If L1 equals four, no line is drawn, but the printer updates the graphics current position to the points specified by parameters P1 to P4.
  • Page 122: Marker

    This order updates the current graphics position to the value of the last point coordinates. If this order does not specify any points, the current graphics position will not change. 6400 IPDS...
  • Page 123: No Operation

    Graphics Command Set Note: The marker cell size is constant 3 mm (0.12 in. [ 17/144 in. ] ). The scaling factor used in defining a graphics area does not affect the size of the marker. If markers are used near the edge of a defined graphics area, scaling the graphics may result in the markers being clipped from the printable graphics area.
  • Page 124: Segment Characteristics

    For the above ellipse, tilted at an angle A to the X axis, the parameters are: P1P2 = a cos(A) P3P4 = b cos(A) P5P6 = -b sin(A) P7P8 = a sin(A) This order does not change any other graphics drawing attributes. 6400 IPDS...
  • Page 125: Set Background Mix

    Graphics Command Set Set Background Mix Description: This order sets the value of the background mix. The background mix controls the way the printer combines the color of the background with the color of the graphics medium presentation space. Parameter byte P1 contains the value of the current mix attribute.
  • Page 126: Set Character Cell

    Angle” on page 109. The character direction for non-graphics (text) does not change with this order. This order does not change any other graphics drawing attributes. Parameter P1 specifies the direction, as shown: Line Type Drawing Default Left to Right Top to Bottom 6400 IPDS...
  • Page 127: Set Character Precision

    Graphics Command Set Line Type Right to Left Bottom to Top Set Character Precision Description: This order sets the value of the current character precision attribute. Parameter P1 specifies the type of precision. Table 83. Set Character Precision Byte Value Description Error Code Order code...
  • Page 128: Set Current Position

    This order aids graphics interchange compatibility. Parameters P1 and P2 form a two byte value that specifies the color, as follows: Table 86 (Page 1 of 2). Set Extended Color Byte Value Description Error Code Order code Length 0300..03 6400 IPDS...
  • Page 129: Set Fractional Line Width

    Graphics Command Set Table 86 (Page 2 of 2). Set Extended Color Byte Value Description Error Code Extended Color 0300..04 0000 Drawing default 0007 White 0008 Black FF00 Drawing default FF07 Printer default (Black) FF08 Color of Medium For all color selections except the color of the medium, graphics prints in the selected color.
  • Page 130: Set Line Width

    P1 must equal 01 or 02. Table 90. Set Marker Precision Byte Value Description Error Code Order code Marker Precision 0300..04 Drawing default 0300..0E String Precision Character Precision Stroke Precision 6400 IPDS...
  • Page 131: Set Marker Set

    Graphics Command Set Set Marker Set Description: This order sets the value of the current marker symbol set attribute. Parameter P1 specifies the local character set identifier. This printer only uses the default marker set. Thus, P1 must equal 00. Set Marker Symbol Description: This order sets the value of the current marker symbol attribute for subsequent markers.
  • Page 132: Set Pattern Set

    The bar code command set contains the commands and controls for presenting bar code information on a logical page, a page segment, or an overlay area on the physical medium. The following commands are the bar code command set: 6400 IPDS...
  • Page 133: Write Bar Code Control (Wbcc)

    Bar Code Command Set Table 94. Bar Code Commands Name Command Sub- Description command Write Bar Code D680 See “Write Bar Code Control Control (WBCC)” on page 117 Bar Code Area AC6B See “Bar Code Area Position Position (BCAP)” on page 118 Bar Code Output A66B See “Bar Code Output Control...
  • Page 134: Bar Code Area Position (Bcap)

    Figure 22 shows the BCAP field specifying the top left reference point, or origin, for the bar code object, relative to the logical page. The figure shows 0-degree and 90-degree rotations; the printers also support 180-degree and 270-degree rotations. 6400 IPDS...
  • Page 135: Specifying The Bar Code Object Using The Bar Code

    Bar Code Command Set Area Position Field Figure 22. Specifying the Bar Code Object Using the Bar Code Byte 10 of the BCAP specifies the reference coordinate system. The reference coordinate system for determining the top left corner of the bar code area can be either the X,Y or the I,B coordinate system.
  • Page 136: Bar Code Output Control (Bcoc)

    X Offset L-units See “Notation Conventions” on 0209..05 page 27 14-15 8000 7FFF Y Offset L-units See “Notation Conventions” on 0209..05 page 27 16-n Ignored Figure 23 shows the BCOC field specifying the size of the bar code object on the logical page. 6400 IPDS...
  • Page 137: Bar Code Data Descriptor (Bcdd)

    Bar Code Command Set Figure 23. Specifying the Bar Code Object Size Using the Bar Code Output Control Bar Code Data Descriptor (BCDD) BCAP BCOC BCDD Length Data The Bar Code Data Descriptor structured field is the last structured field in the Data portion of the Write Bar Code Control command.
  • Page 138 1. The Font Local ID specified in BCDD Byte 18 should be OCR-A, OCR-B or Code 128 dependent on the Bar Code Type specified in BCDD Byte 16. The default Font Local ID and Bar Code Type relationships are as follows: 6400 IPDS...
  • Page 139 Bar Code Command Set Table 98. Bar Code Default Font ID OCR-A OCR-B Code 128 Code 3 of 9 UPC-A Code 128 UPC-E 2 of 5 Industrial UPC 2-Digit Add-on 2 of 5 Matrix UPC 5-Digit Add-on 2 of 5 Interleaved EAN-8 Codabar EAN-13...
  • Page 140 Description and Values” on page 125. 2. BCDD bytes 18 and 21-26 and WBC command byte 0 are not applicable to Postnet. The Postnet specification defines values for these parameters. 3. H=120H x 72V PQC setting and L=60H x 72V PQC setting. 6400 IPDS...
  • Page 141: Bar Code Type, Name, And Modifier Description And Values

    First check digit NCR Modulus 11. Check digit equals 11 minus remainder. Check digit of 10 equals zero. First check digit IBM Modulus 11. Check digit equals 11 minus remainder. Check digit of 10 equals error. First check digit NCR Modulus 11. Check digit equals 11 minus remainder.
  • Page 142: Write Bar Code (Wbc)

    (HRI) is to print, whether the HRI is to be above or below the bar/space patterns, and for the 3 of 9 code, whether the HRI of the start/stop character (a star or asterisk) is to print or not. 6400 IPDS...
  • Page 143 Bar Code Command Set The HRI code prints in the OCR-A or the OCR-B font, depending on the bar code type. The following bar codes print the HRI in OCR-A: Code 3 of 9 • • 2 of 5 Industrial •...
  • Page 144 For Code 128 bar codes, the table on the following page should be used to determine the hex value of the desired character. 2. The symbol reference point must be inside the bar code medium presentation space and must lie within the logical page. 6400 IPDS...
  • Page 145: Code 128 Character Set (Ebcdic)

    Bar Code Command Set Code 128 Character Set (EBCDIC) Figure 24. Code 128 Character Set (EBCDIC) Note: All START, STOP, SHIFT, and CODE characters are generated by the printer in order to produce the shortest bar code possible from the given data. Chapter 3.
  • Page 146: Overlay Command Set

    1. 64XX does not support Secure Overlay (value X ' 01 ' in byte 2 of Include Overlay is not supported). 2. See “Notation Conventions” on page 27 regarding the notation convention for Include Overlay bytes 3-5 and 7-9. 6400 IPDS...
  • Page 147: Begin Overlay (Bo)

    Overlay Command Set Begin Overlay (BO) Length D6DF Flag Correlation ID (Optional) DATA The Begin Overlay command causes the printer to leave the home state and enter the overlay state. This command defines data that the printer saves for later use within an overlay. The printer later merges the stored overlay with ordinary printed pages by using the Include Overlay command or the Load Copy Control command.
  • Page 148: Page Segment Command Set

    The DATA field is two bytes in length and can be any value between ' 01 ' and X ' 7F ' . This value is the page segment identifier. If this value specifies a page segment identifier already loaded in the printer, an exception occurs. 6400 IPDS...
  • Page 149: Include Page Segment (Ips)

    Page Segment Command Set Note: Because page segments use more than the normal amount of printer storage, use page segments only when data needs to be kept. Include Page Segment (IPS) Length D67F Flag Correlation ID (Optional) DATA The Include Page Segment command causes a previously stored set of commands to process in the input data stream as though they were just received from the host.
  • Page 150 Page Segment Command Set 6400 IPDS...
  • Page 151: Load Font Equivalence

    Bit 4 0/1 Italicized = 1 Bit 5 0/1 Double Strike = 1 Bit 6 0/1 Bold = 1 Bit 7 0/1 Double Wide = 1 Byte 15 X'00' Reserved Bytes 16-n Additional LFE ENTRIES X'023A..02' Ó Copyright IBM Corp. 1995...
  • Page 152: Sense Type And Model

    Bit 2 01 01 = Continuous Forms Bit 3 1 1 = Bin Available Bit 4 0 0 = Retired Bit 5 0 0 = No Envelopes Bit 6 0 0 = Auto Media Feed Bits 7-15 000000000 Reserved 6400 IPDS...
  • Page 153: Xoh Opc Rrl Resource Type And Id Format Sdf

    IDPS Command Differences XOH OPC RRL Resource Type and ID Format SDF Table 111. RRL Resource Type and ID Format Special Data Value Description Area Bytes 0-1 X'0008' LENGTH of this Self Defining Field Bytes 2-3 X'000A' RRL RESOURCE TYPE Self Defining Field Bytes 4-5 X'0100'...
  • Page 154 IDPS Command Differences 6400 IPDS...
  • Page 155 Specification Check: Indicates that the data parameters or values in a received command are invalid. Condition Requiring Host Notification: Indicates that the printer has detected an error or condition that should be reported to the host computer. Ó Copyright IBM Corp. 1995...
  • Page 156 Alternate Exception Action: None. ' 40E000 ' Forms Jam Alternate Exception Action: None. ' 40E400 ' Cancel Print Key Pressed Explanation: The Cancel Print key was pressed while the printer was receiving IPDS data. Alternate Exception Action: None. 6400 IPDS...
  • Page 157: Appendix A. Ipds Exception Reporting Codes

    Equipment Check — X The following exception codes are the valid codes for an equipment check condition and apply only to coax attachments: ' 10F100 ' Permanent Error Explanation: 1. There was a permanent hardware error. 2. The microcode detected an unrecoverable logic error. 3.
  • Page 158 Alternate Exception Action: Use printer default. ' 040500 ' Bar Code Color Requested Is Not Supported Explanation: The color requested in the Write Bar Code Data Descriptor field is not supported. Alternate Exception Action: Use printer default color. 6400 IPDS...
  • Page 159 040600 040B00 • ' 040600 ' Unit/Module Width Specified Is Not Supported Explanation: The unit/module width specified in the Write Bar Code Data Descriptor field is not supported. Alternate Exception Action: Use closest smaller width supported or the device default for those devices with only one fixed default value. ' 040700 ' Element Height Specified Is Not Supported Explanation: The element height specified in the Write Bar Code Data Descriptor field is not supported.
  • Page 160 2. An attempt is made to print a bar code symbol or HRI outside the physical page. 3. The symbol reference point lies outside the bar code object, presentation space, or logical page (or current overlay). Alternate Exception Action: None 6400 IPDS...
  • Page 161 030001 030008 • Specification Check-Graphics — X The following exception codes are the valid codes for a graphics specification check condition: ' 030001 ' Unallocated Graphic Order or Command Code Explanation: 1. An attempt was made to execute an unallocated order code that is reserved for future use.
  • Page 162 Explanation: An End Prologue was found outside the prologue section of a segment. Alternate Exception Action: None. ' 036000 ' Area Bracket Error Explanation: An End Area order has been executed without a Begin Area order having previously been executed. Alternate Exception Action: None. 6400 IPDS...
  • Page 163 036800 037082 • ' 036800 ' Begin Area Received Incorrectly Explanation: Begin Area order received while Begin Area is already in progress. Alternate Exception Action: None. ' 036801 ' Area Truncation Error Explanation: A Begin Area order has been executed in a segment, and the end of the segment is reached without an End Area order being executed.
  • Page 164 Alternate Exception Action: Use the standard default marker symbol set. ' 03C201 ' Undefined Marker Code Explanation: A marker code point is undefined in the current marker symbol set. Alternate Exception Action: Use the standard default marker symbol. 6400 IPDS...
  • Page 165 03C300 03D102 • ' 03C300 ' Character Symbol Set Not Available Explanation: 1. The symbol set identified by the current Character Set is not available. 2. The current character set specified in the Set Character Set order does not have the proper attributes to be printed in graphics mode. Alternate Exception Action: Use the standard default character symbol set.
  • Page 166 ' 020201 ' End Suppression Text Control Error Explanation: The active Begin Suppression ID within the current page, overlay, or page segment is not the same as that specified in the ES control. There is no active suppression ID. Alternate Exception Action: None. 6400 IPDS...
  • Page 167 020202 020405 • ' 020202 ' Invalid IPDS Command Length Explanation: The length for a command is not within the allowed range. The length of a Request Resource List entry is not a valid or supported value. The length specified for a Request Resource List entry does not match the number of bytes received.
  • Page 168 2. The result of the calculation cannot be represented in the printer. This may result from the WGC GDD window limits being very close together. 3. Coordinate overflow while scaling graphics. Possible if scaling coordinates require multiplication by a value greater than 1. Alternate Exception Action: None. 6400 IPDS...
  • Page 169 020705 021001 • ' 020705 ' Structured Field Extents Not Supported Explanation: The extents specified in the Output Control or Data Descriptor structured field of the WGC or WBCC command are not a valid or supported value. The window values of the WGC GDD structured field are not consistent; therefore, the value of XL is larger than the value of XR or the value of YB is larger than the value of YT.
  • Page 170 Explanation: The Absolute Move Inline parameter value is not a valid or supported value. Alternate Exception Action: None. ' 021402 ' Font to be Deleted Not Found Explanation: The single byte font specified by the Delete Font command is not in the machine. Alternate Exception Action: None. 6400 IPDS...
  • Page 171 021502 021802 • ' 021502 ' Invalid DF Font Explanation: The Loaded Font Identifier field is required in the Delete Font command; however, it is not present or its value is not a valid or supported value. Alternate Exception Action: None. ' 021701 ' Invalid Variable Space Increment Explanation: The value of the variable space increment as specified in a text control is not a valid or supported value.
  • Page 172 2. The Font (Style) ID specified in the LFE is invalid or unsupported or is not valid with the other font parameters. Alternate Exception Action: Choose “Best Fit” font. Note: This error will be flagged when an attempt to present the font is processed. 6400 IPDS...
  • Page 173 021F01 023601 • ' 021F01 ' Repeat String Length Error Explanation: Repeat String control on a Write Text command has non-zero fill count but zero string length. Alternate Exception Action: None. ' 021F02 ' Mismatch of LFE Two-Byte Loaded Font ID Parameters Explanation: Two fonts have been assigned the same two-byte Loaded Font ID by the LFE command, but one or more of the following attributes differ: Character Set ID, Code Page ID, Font (Style) ID, Uniform Character Increment, Proportional...
  • Page 174 1. The Compression Algorithm value (Byte 8) is not a valid or supported value. 2. The (Pel) Data Format value (Byte 9) in the Write Image Control command is not X ' 00 ' . Alternate Exception Action: None. 6400 IPDS...
  • Page 175 024701 024A01 • ' 024701 ' Invalid WIC Scale Factor Value Explanation: 1. The Pel Count Scale Factor value on the Write Image Control command is not a valid or supported value. 2. The Scan Count Scale Factor value on the Write Image Control command does not equal the Pel Count Scale Factor.
  • Page 176 2. On the Set Media Size command, the units per unit-base value is not a valid or supported value. Alternate Exception Action: None. ' 026202 ' Invalid LPD X-Extent Explanation: On the Load Page Description command, the X-Extent is not a valid or supported value. Alternate Exception Action: None. 6400 IPDS...
  • Page 177 026302 026A02 • ' 026302 ' LPD Invalid Y-Extent Explanation: On the Load Page Description command, the Y-Extent is not a valid or supported value. Alternate Exception Action: None. ' 026402 ' Invalid LPD Unit-Base Explanation: On the Load Page Description command, the unit-base is not a valid or supported value.
  • Page 178 Explanation: On the Set Media Size command, the unit-base is not a valid or supported value. Alternate Exception Action: None. ' 028101 ' Insufficient Storage for Overlay or Page Segment Explanation: There is insufficient storage to process an overlay or page segment. Alternate Exception Action: None. 6400 IPDS...
  • Page 179 028501 029102 • ' 028501 ' Invalid DO Parameter Value Explanation: The Overlay Identifier on the Delete Overlay command is not a valid or supported value. Alternate Exception Action: None. ' 028A01 ' Invalid DPS Parameter Value Explanation: The Page Segment Identifier on the Delete Page Segment command is not a valid or supported value.
  • Page 180 ' 029601 ' Page Segment Number Not Loaded Explanation: The page segment identified by the Page Segment Identifier on the Include Page Segment or Delete Page Segment command was not loaded or was already deleted prior to its attempted use. Alternate Exception Action: None. 6400 IPDS...
  • Page 181 029701 02AD01 • ' 029701 ' Overlay Nesting Limit Exceeded Explanation: Depth of overlay nesting is greater than the maximum depth. Alternate Exception Action: None. ' 029801 ' Suppression Number Outside Valid Range Explanation: 1. On a Write Text command, the Begin Suppression number value is not a valid or supported value.
  • Page 182 Alternate Exception Action: None. ' 02C801 ' An unsupported Input Media Source ID was Specified Explanation: An unsupported Input Media Source ID was specified in an XOH-SIMS command. Alternate Exception Action: Select an installed and available media source. 6400 IPDS...
  • Page 183 02C802 02C802 • ' 02C802 ' Invalid Internal/External Value on LE Explanation: The Internal or External value on a Load Equivalence command is not a valid or supported value. Alternate Exception Action: None. Conditions Requiring Host Notification — X ' 010100 ' Media Size or Input Media Source ID Changed Explanation: 1.
  • Page 184 6400 IPDS...
  • Page 185: Appendix B. Summary Of Ipds For Control Units

    This structured field (0F83) defines the selection of IPDS mode. • Data Chaining Query Reply structured field This query reply structured field (with a Q code of 98) indicates data chaining • is valid in DSC mode. Ó Copyright IBM Corp. 1995...
  • Page 186: Ipds Application In Lu-1 Mode

    It is also possible for the control unit to receive a solicited or unsolicited acknowledgment (ACK/NACK) reply from the printer when in LU-1 IPDS mode. When a NACK occurs, the information must be received after a change direction to allow data to flow inbound to the control unit. 6400 IPDS...
  • Page 187: Selecting And Terminating Ipds Mode Of Operation

    IPDS for Control Units Selecting and Terminating IPDS Mode of Operation An application can select the IPDS mode of operation by sending an FMH-1 containing a destination select of Begin (DESSEL equals BDS) along with a data stream profile of IPDS (DSP equals IPDS). This FMH-1 must be sent as only-in-chain (OIC) and cannot have any accompanying data.
  • Page 188: Implicit Termination Of Ipds Mode

    Because an End Bracket is also an implicit termination of IPDS mode, between-bracket printer sharing can be used for either operator-initiated or host-initiated copy operations. For improved throughput, the recommended procedure is to include the entire page within a chain. 6400 IPDS...
  • Page 189: Error Recovery In Lu-1 Ipds Mode

    IPDS for Control Units Error Recovery in LU-1 IPDS Mode The unit of error recovery for a spooled device is the entire print job. The unit of error recovery is a page boundary if the printer, while directly-attached: Receives only-in-chain data, or •...
  • Page 190: Other Asynchronous/Synchronous Sequences In Lu-1 Mode

    In LU-1 mode, an asynchronous NACK may cause one of the following sequences to occur. In Figure 29, a Change Direction from the host does not immediately follow the Signal from the printer. In Figure 30 and Figure 31, the host issues no Change Direction. 6400 IPDS...
  • Page 191: Asynchronous Nack In Lu-1 Mode

    IPDS for Control Units Figure 29. Asynchronous NACK in LU-1 Mode. Change Direction not issued immediately after signal. In Figure 30, the host issues an End Destination Select and no Change Direction. Figure 30. Asynchronous NACK in LU-1 Mode. EDS issued after Signal. Note: At the end of this sequence, the printer is no longer in IPDS mode nor does the host read the NACK.
  • Page 192: Asynchronous Nack In Lu-1 Mode

    ARQ equals 1 are treated as asynchronous NACKs. In Figure 32, the host sends data immediately after the Signal from the printer. The host sends the Change Direction after the data. In Figure 33 and Figure 34, the host does not send a Change Direction. 6400 IPDS...
  • Page 193: Synchronous Ack/Nack In Lu-1 Mode

    IPDS for Control Units Figure 32. Synchronous ACK/NACK in LU-1 Mode. Change Direction not issued immediately after Signal. Notes: 1. The printer processes the data sent by the host after the Signal. 2. After the host sends a Change Direction to the printer, the printer sends the ACK/NACK detected before the Signal.
  • Page 194: Ipds Application In Dsc Mode

    The printer returns a 3270 IPDS query reply and a data chaining query reply. In DSC mode, all outbound data streams containing structured fields are sent using the Write Structured Field (WSF) command. All inbound data streams containing structured fields begin with the AID code of X ' 88 ' . 6400 IPDS...
  • Page 195: Inbound Structured Fields

    IPDS for Control Units Inbound Structured Fields When the printer is in DSC mode with the 3270 data stream, the query reply is the only structured field sent inbound. When the printer is in DSC mode with IPDS, Select IPDS Mode and IPDS acknowledge reply are the only structured fields sent inbound.
  • Page 196: Implicit Termination Of Ipds Mode

    IPDS mode: Copy (BSC) • Erase Write (WCC equals Reset) • Erase Write Alternate (WCC equals Reset) • Power-on-Reset (POR). • Note: IPDS always returns to the home state upon termination. 6400 IPDS...
  • Page 197: Abnormal Termination Of Printer Operation

    IPDS for Control Units Abnormal Termination of Printer Operation Any of the following causes rejection of the transmission with a sense equals op check and cause the control unit to send an abort to the addressed printer: Receipt of a data chain structured field indicating continue or end when not •...
  • Page 198: Recommended Nack Sequence For Printers In Dsc Mode (Channel-Attached)

    The printer remains in IPDS mode with IPDS in Home state. 4. If the NACK was due to a printer IR or EC error, the printer returns an IR or EC status response on the next 3270 command. 6400 IPDS...
  • Page 199: Asynchronous Nack In Dsc (Channel-Attached) Mode

    IPDS for Control Units Figure 37. Asynchronous NACK in DSC (Channel-Attached) Mode. Recommended sequence. Notes: 1. At the end of this sequence, the printer remains in IPDS mode if no End-of-Chain structured field has been received. 2. Zero or more WSF with IPDS data sequences may occur before the WSF with IPDS + ARQ flag is sent.
  • Page 200: Other Asynchronous/Synchronous Sequences In Dsc (Channel-Attached) Mode

    ARQ equals 1. In DSC mode, the application must send each command as a separate message. If the application forces synchronous NACKs, printer processing slows. In Figure 38, the host sends data after receiving an Attention from the printer. 6400 IPDS...
  • Page 201: Asynchronous Nack In Dsc (Channel-Attached) Mode

    IPDS for Control Units Figure 38. Asynchronous NACK in DSC (Channel-Attached) Mode. Not recommended sequence. Notes: 1. At the end of this sequence, the printer is no longer in IPDS mode. 2. If the printer generates an Intervention Required (IR) or Equipment Check (EC) NACK, the (DC) (CE) transmission sent after the Erase/Write WCC equals Reset command contains the IR or EC status.
  • Page 202: Ipds Ack/Nack Sequence In Dsc Mode (Bsc-Attached)

    4. The printer responds to the acknowledgment by sending the NACK to the host application. 5. The host application responds to the NACK by sending another acknowledgment. 6. The printer sends an End of Transmission to the host. 6400 IPDS...
  • Page 203: Recommended Nack Sequence For Printers In Dsc Mode (Bsc-Attached)

    IPDS for Control Units Recommended NACK Sequence for Printers in DSC Mode (BSC-Attached) 1. The host application receives an Attention from the printer notifying the application that inbound data is available. The NACK structured field is sent inbound with the Persist bit active in the flag byte. 2.
  • Page 204: Reporting Ipds Errors In Dsc (Bsc-Attached) Mode

    Persist bit off. This completes the NACK reply sequence. 3. If the printer generates an Intervention Required (IR) or Equipment Check (EC) NACK, the IR or EC status is returned in response to the next 3270 command. 6400 IPDS...
  • Page 205: Other Asynchronous/Synchronous Sequences In Dsc (Bsc-Attached) Mode

    IPDS for Control Units Other Asynchronous/Synchronous Sequences in DSC (BSC-Attached) Mode The following charts show what can happen if the host application issues a write type (Text) command after the printer sends a Device End. These sequences are not recommended. Asynchronous NACK Sequences in DSC (BSC-Attached) Mode: In Figure 41, the host sends text to the printer after a Device End while the printer has an asynchronous NACK pending.
  • Page 206: Structured Field Descriptions

    IPDS in the LU-1 environment requires the definition of a data stream identifier for the query reply data streams structured field. This field has the following format: Byte Value Description 0006 Length Type=Query Reply Data Streams Indicator 0002 List of Data Stream Identifiers 6400 IPDS...
  • Page 207: Dsc (Non-Sna) Structured Fields

    IPDS for Control Units This query reply indicates the valid data streams for the printer. The structured field is an inbound field only. DSC (Non-SNA) Structured Fields IPDS in the DSC environment requires two structured fields. In addition, two Q codes for the query reply structured fields are required.
  • Page 208: Data Chaining Query Reply

    Transmissions to a printer in IPDS mode can therefore receive either an ACK reply or a WACK reply from the control unit. The WACK reply is the only positive indication that BSC sense/status indicating device end subsequently is sent by the control unit. 6400 IPDS...
  • Page 209: Mvs/Cics With Vtam In Lu-1 Mode (Remote 3X74 Attachment)

    IPDS for Control Units MVS/CICS with VTAM in LU-1 Mode (Remote 3X74 Attachment) The following examples represent some sample settings used with the printer in LU-1 mode with CICS* and VTAM*. Of the table settings listed below, the following are required: TRMTYPE = SCSPRT, TRMSTAT = TRANSCEIVE , and FEATURE = EXTDS.
  • Page 210: Mvs/Cics With Vtam In Dsc Mode (Local 3X74 Attachment)

    TRMIDNT=BL32, Reference name for this TCT entry ACCMETH=VTAM, FEATURE=(COPY,COLOR,PS,EXTDS) , RELREQ=(YES,YES) , TIOAL=3000, TRMMODL=2, TRMSTAT=TRANSCEIVE , TRMTYPE=L3284, RUSIZE=256, NETNAME=D72L032, As defined by VTAM local table CLASS=(CONV,VIDEO) , ALTSCRN=(32,80), ERRATT=NO LOCAL entries for the Local Terminal table in VTAM: 6400 IPDS...
  • Page 211 IPDS for Control Units D72L032 LOCAL CUADDR=B9F, TERM=3286, FEATUR2=(MODEL2,EDATS) , The EDATS parameter allows the use of structured fields. ISTATUS=ACTIVE, USSTAB=PUBSERL, MODETAB=TABMODE, DLOGMOD=PRTIPDS2 DLOGMOD is set to PRTIPDS2 (or any valid name) to point to the MODEENT entry of the Logon Mode table. MODEENT entries for the Logon Mode table in VTAM in DSC Mode: PRTIPDS2 MODEENT LOGMODE=PRTIPDS2,...
  • Page 212: Related Reading

    Resource Definition Guide (Online), Version 1 Release 7, SC33-0186 ACF for NCP • - IBM Advanced Communications Function for Network Control Program and System Support Programs for 3705: Installation and Resource Definition Guide, Version 2, SC30-3167 - IBM Advanced Communications Function for Network Control Program...
  • Page 213: Glossary Of Abbreviations And Definitions

    American National Standards Institute (ANSI). An If you do not find the term that you are looking for, organization consisting of producers, consumers, and please refer to the IBM Dictionary of Computing, general interest groups. ANSI establishes the document number ZC20-1699.
  • Page 214 Bar Code Object Content Architecture (BCOCA). An pattern attributes. architected collection of constructs used to interchange and present bar code data. bar code presentation space. A two-dimensional conceptual space in which bar code symbols are generated. 6400 IPDS...
  • Page 215 Glossary bar code symbol. A combination of characters block or data block. Deprecated terms for object including start and stop characters, quiet zones, data area. characters, and check characters required by a body. (1) On a printed page, the area between the particular symbology, that form a complete, scannable top and bottom margins that can contain data.
  • Page 216 A set of graphic character set metrics. The measurements used in a characters with their assigned code points. font. Examples are height, width, and character 6400 IPDS...
  • Page 217 Glossary code page. (1) A resource object containing command-set vector. Information that identifies an descriptive information, graphic character identifiers, IPDS command set and data level supported by a and code points corresponding to a coded graphic printer. Command-set vectors are returned with an character set.
  • Page 218 The set of drawing baseline was established in the presentation space. attributes adopted at the beginning of a drawing The baseline presentation position is established in a process and usually at the beginning of each root 6400 IPDS...
  • Page 219 Glossary segment that is processed. See also root segment. drawing order. In GOCA, a graphics construct that Contrast with current drawing attributes. the controlling environment builds to instruct a drawing processor about what to draw and how to default drawing controls. The set of drawing controls draw it.
  • Page 220 Font Object Content Architecture (FOCA). An graphic character set. architected collection of constructs used to describe fonts and to interchange those font descriptions. 6400 IPDS...
  • Page 221 Glossary font width (FW). (1) A characteristic value, parallel descriptive information, and the raster representation to the character baseline, that represents the size of of character shapes, for a specific graphic character all graphic characters in a font. Synonymous with set.
  • Page 222 Latin alphabetic characters, Arabic numeral decimal characters A through F are used to represent digits, and common special characters normally used hexadecimal digits. The hexadecimal digits A through for printed human communication. F correspond to the decimal numbers 10 through 15, 6400 IPDS...
  • Page 223 Glossary immediate mode. The mode in which segments are executed as they are received and then discarded. Contrast with store mode. . See current inline print coordinate. . See initial inline print coordinate information density. The number of characters per inch (cpi) in a bar code symbology.
  • Page 224 = 2400) dashed, dotted, and solid. Contrast with line width. Synonymous with logical unit. line width. A line attribute that controls the appearance of a line. Examples of line width are normal and thick. Contrast with line type. 6400 IPDS...
  • Page 225 Glossary Mixed Object Document Content Architecture (MO:DCA). An architected, device-independent data stream for interchanging documents. marker. A symbol with a recognizable appearance that is used to identify a particular location. An MO:DCA. See Mixed Object Document Content example of a marker is a symbol that is positioned by Architecture.
  • Page 226 6400 IPDS...
  • Page 227 Glossary page segment. (1) In the IPDS architecture, a physical medium. A physical entity on which resource object that can contain text, image, graphics, information is presented. Examples of a physical and bar code data. Page segments do not define medium are a sheet of paper, a roll of paper, an their own environment, but are processed in the envelope, and a display screen.
  • Page 228 A reserved field or value can be assigned a meaning by an architecture at any time. 6400 IPDS...
  • Page 229 Glossary reset color. The color of a presentation space before any data is added to it. Synonymous with color of medium. sans serif. A type style characterized by strokes that end with no flaring or crossing of lines at the resident resource.
  • Page 230 Acknowledge Reply that contains data requested by Systems Application Architecture (SAA). A set of the host or generated by a printer as a result of an IBM software interfaces, conventions, and protocols exception. that provide a framework for designing and developing applications that are consistent across store mode.
  • Page 231 Glossary space or when there is more data than can be contained in the presentation space. temporary baseline. The shifted baseline used for type. A table heading for architecture syntax. The subscript and superscript. entries under this heading indicate the types of data present in a construct.
  • Page 232 (3) In font coordinate system. In the IPDS architecture, the referencing, the specified vertical font size is the graphics presentation space coordinate system. desired size of the font when the characters are 6400 IPDS...
  • Page 233: Index

    Bar Code precision function set commands function set vector attributes specification check Code 128 (EBCDIC) types string Ó Copyright IBM Corp. 1995...
  • Page 234 IPDS initialization subcommands Delete Font (DF) ERPD (Erase Residual Print Data) Delete Overlay (DO) OPC (Obtain Printer Characteristics) Delete Page Segment (DPS) PBD (Print Buffered Data) Device Control command set SMS (Set Media Size) commands vector 6400 IPDS...
  • Page 235 Index implicit termination of IPDS (continued) LU-1 fillet Include Overlay (IO) fillet at current position Include Page Segment (IPS) font selection initialization LFE (Load Font Equivalence) defaults PQC (Print Quality Control) inline SCFL (Set Coded Font Local) AMI (Absolute Move Inline) foreground color support self-defining field BLN (Begin Line) full arc...
  • Page 236 Obtain Printer Characteristics (OPC) Request Resource List (RRL) OPC (Obtain Printer Characteristics) RMB (Relative Move Baseline) options, area mapping control RMI (Relative Move Inline) Ordered Page Mode RPS (Repeat String) orders, drawing RRL (Request Resource List) overlay command set vector 6400 IPDS...
  • Page 237 Index specification check bar code SBI (Set Baseline Increment) definition scale to fit mapping general SCFL (Set Coded Font Local) graphics segment characteristics STC (Set Text Color) segments, page STM (Sense Type and Model) selecting IPDS STO (Set Text Orientation) storage pools self-defining field LU-1 string, repeat...
  • Page 238 PQC (Print Quality Control) RRL (Request Resource List) XOA RRL RT & RIDF support self-defining field XOH (Execute Order Home State) command overview subcommands ERPD (Erase Residual Print Data) OPC (Obtain Printer Characteristics) PBD (Print Buffered Data) SMS (Set Media Size) 6400 IPDS...
  • Page 239 Note: You may either send your comments by fax to 1-800-524-1519, or mail your comments. If mailed in the U.S.A., no postage stamp is necessary. For residents outside the U.S.A., your local IBM office or representative will forward your comments.
  • Page 240 BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 40 ARMONK, NEW YORK POSTAGE WILL BE PAID BY ADDRESSEE Information Development The IBM Printing Systems Company Department H7FE Building 003G P O Box 1900 BOULDER CO 80301-9817 Fold and Tape Please do not staple...
  • Page 242 IBMLÒ File Number: GENL-20 Printed in U.S.A. S246-0148-00...

Table of Contents