IBM 6400 Series User manual

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


IBM 6400
Line Matrix Printers
Intelligent PrinterData Stream
Programmer's Reference
S246-0148-00
IBML

Note!
Before using this information and the product it supports, be sure to read the general information under
“Notices” on page xi.
First Edition (October, 1995)
This manual may contain references to, or information about, IBM products that are not announced in your
country. Such references or information must not be construed to mean that IBM intends to announce such IBM
product, programming, or services in your country.
Information contained in this documentation is subject to change from time to time. Changes will be reflected in
following revisions.
Reader comments may be addressed to:
The IBM Printing Systems Company
Information Development
Department 582, Building 004M
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.
ÓCopyright International Business Machines Corporation 1995. All rights reserved.
Note to U.S. Government Users — Documentation related to restricted rights — Use, duplication or disclosure is
subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp.

Contents
Notices ........................................... xi
Communications Statements ............................. xi
Trademarks ........................................xii
Related Publications ..................................xii
Chapter1. Introduction ................................. 1
About IPDS ........................................ 1
Capabilities of IPDS ................................... 1
Printing a Letter ..................................... 2
Using Overlays ...................................... 4
Using Page Segments ................................. 5
Using Images and Graphics .............................. 6
IM Images ....................................... 6
Graphics ........................................ 6
Using Bar Codes ..................................... 7
Chapter2. SystemConfiguration ........................... 9
Attaching Printer with IPDS to S/370-S/390 Host Systems ............10
Attaching to LU1-IPDS-PSF/MVS-Local SNA 3174 Control Unit ........10
Step 1 - VTAM Definition .............................11
Step 2 - JES2 Definition (SYS1.PARMLIB) ...................11
Step 3 - PSF/MVS Definition ...........................11
Step 4 - Printer Settings .............................12
Attaching to LU1-IPDS-PSF/MVS-Remote SNA 3174 Control Unit ......12
Step 1 - NCP Definition .............................. 12
Step 2 - VTAM Definition .............................12
Step 3 - JES2 Definition (SYS1.PARMLIB) ...................12
Step 4 - PSF/MVS Definition ...........................13
Step 5 - Printer Settings .............................13
Attaching to LU1-IPDS-Local SNA 3174 Control Unit ..............13
Step 1 - VTAM Definition .............................14
Step 2 - JES2 Definition (SYS1.PARMLIB) ...................14
Step 3 - Define to CICS or another application program ..........14
Step 4 - Printer Settings .............................14
Attaching to LU1-IPDS-Remote SNA 3174 Control Unit .............15
Step 1 - NCP Definition .............................. 15
Step 2 - VTAM Definition .............................15
Step 3 - JES2 Definition .............................15
Step 4 - JES328X Print Facility or VPS Definition ............... 15
Step 5 - Printer Settings .............................15
Summary of Physical and Logical Unit Types ..................16
Physical Unit Types and Examples .......................16
Logical Unit Types and Typical IBM Products ................16
Configuring IPDS from the Printer Operator Panel .................17
Printer Configuration Main Menu .........................18
IPDS Configuration Menu ..............................19
IPDS Configuration Values .............................19
Override Host ...................................20
Graphics Quality ..................................20
Bar Code Quality .................................20
Image Quality ...................................20
ÓCopyright IBM Corp. 1995 iii

IPDS Emulation Mode ...............................21
Other IPDS Menu Selections ............................ 22
OCRB Font Density ................................22
Early Print Complete ...............................22
Chapter 3. IPDS Commands Reference ....................... 23
IPDS Initialization Defaults ...............................23
Configuration Values ..................................25
Command Format ....................................26
Notation Conventions ................................27
Text Orientation ....................................27
Command Sets ......................................28
Device Control Command Set .............................28
Acknowledge Reply (ACK) ............................. 29
Begin Page (BP) ...................................31
Deactivate Font ....................................31
End (END) .......................................32
End Page (EP) .....................................32
Load Copy Control (LCC) ..............................32
Load Font Equivalence (LFE) ............................34
Code Page ID Values ...............................36
Logical Page Descriptor (LPD) ...........................39
Logical Page Position (LPP) ............................41
No Operation (NOP) ................................. 42
Sense Type and Model (STM) ...........................42
Set Home State (SHS) ................................46
Execute Order Any State (XOA) .......................... 46
Discard Buffered Data (DBD) ..........................46
Request Resource List (RRL) ..........................47
Exception Handling Control (EHC) ....................... 48
Print Quality Control (PQC) ...........................49
Execute Order Home State (XOH) .........................50
Print Buffered Data (PBD) ............................ 50
Erase Residual Print Data (ERPD) ....................... 50
XOH Set Media Size (SMS) ........................... 51
Obtain Printer Characteristics (OPC) .....................52
Presentation Text Command Set ........................... 61
Load Equivalence (LE) ................................61
Write Text (WT) ....................................62
Absolute Move Baseline (AMB) .........................64
Absolute Move Inline (AMI) ...........................64
Begin Line (BLN) .................................65
Begin Suppression (BSU) ............................65
Draw B-Axis Rule (DBR) .............................66
Draw I-Axis Rule (DIR) ..............................67
End Suppression (ESU) ..............................67
No Operation (NOP) ................................68
Overstrike (OVS) .................................. 68
Relative Move Baseline (RMB) .........................69
Relative Move Inline (RMI) ............................69
Repeat String (RPS) ................................ 70
Set Baseline Increment (SBI) ..........................70
Set Coded Font Local (SCFL) .......................... 71
Set Inline Margin (SIM) ..............................71
Set Intercharacter Adjustment (SIA) ...................... 71
iv 6400 IPDS

Set Text Color (STC) ...............................72
Set Text Orientation (STO) ............................ 73
Set Variable Space Increment (SVI) ......................73
Temporary Baseline Move (TBM) .......................74
Transparent Data (TRN) ............................. 74
Underscore (USC) .................................75
IM Image Command Set ................................75
Write Image Control (WIC) .............................76
Write Image (WI) ...................................78
End (END) .......................................78
Graphics Command Set ................................ 79
The Drawing Order Coordinate System ......................79
The Graphics Medium Presentation Space ...................80
The Graphics Window ................................81
The Graphics Object Area .............................81
Positioning the Graphics Window in the Graphics Object Area .......82
Write Graphics Control (WGC) ...........................83
Graphics Area Position Control (GAP) .....................83
Graphics Output Control (GOC) .........................85
Graphics Data Descriptor (GDD) ........................87
Area Mapping Control Options ......................... 88
GDD Initial Graphics Defaults Self-Describing Instructions .........91
Graphics Drawing Order Defaults and Masks ..................93
Write Graphics (WG) .................................94
Write Graphics Defaults ............................. 94
Begin Segment Introducer (BSI) ........................ 95
Drawing Orders .................................. 97
Begin Area .....................................98
Begin Image .................................... 99
Begin Image at Current Position ........................99
Character String ................................. 100
Character String at Current Position ..................... 100
Comment ..................................... 101
End Area ..................................... 101
End Image .................................... 101
End Prologue ................................... 102
End Segment Description ........................... 102
Fillet ........................................ 102
Fillet at Current Position ............................ 102
Full Arc ...................................... 103
Full Arc at Current Position .......................... 104
Image Data .................................... 104
Line ........................................ 105
Line at Current Position ............................ 105
Marker ...................................... 106
Marker at Current Position .......................... 106
No Operation ................................... 107
Relative Line ................................... 107
Relative Line at Current Position ....................... 107
Segment Characteristics ............................ 108
Set Arc Parameters ............................... 108
Set Background Mix .............................. 109
Set Character Angle .............................. 109
Set Character Cell ................................ 110
Set Character Direction ............................ 110
Contents v

Set Character Precision ............................ 111
Set Character Set ................................ 111
Set Color ..................................... 111
Set Current Position .............................. 112
Set Extended Color ............................... 112
Set Fractional Line Width ........................... 113
Set Line Type .................................. 113
Set Line Width .................................. 114
Set Marker Precision .............................. 114
Set Marker Set .................................. 115
Set Marker Symbol ............................... 115
Set Mix ...................................... 115
Set Pattern Set .................................. 116
Set Pattern Symbol ............................... 116
Bar Code Command Set ............................... 116
Write Bar Code Control (WBCC) ......................... 117
Bar Code Area Position (BCAP) ....................... 118
Bar Code Output Control (BCOC) ....................... 120
Bar Code Data Descriptor (BCDD) ...................... 121
Bar Code Type, Name, and Modifier Description and Values ...... 125
Write Bar Code (WBC) ............................... 126
Code 128 Character Set (EBCDIC) ........................ 129
Overlay Command Set ................................ 130
Begin Overlay (BO) ................................ 131
Delete Overlay (DO) ................................ 131
Include Overlay (IO) ................................ 131
Page Segment Command Set ............................ 132
Begin Page Segment (BPS) ............................ 132
Include Page Segment (IPS) ........................... 133
Delete Page Segment (DPS) ........................... 133
Delete Font (DF) .................................. 133
Chapter 4. IPDS Command Differences ...................... 135
Load Font Equivalence ................................ 135
Sense Type and Model ................................ 136
XOH OPC Printable Area SDF ............................ 136
XOH OPC RRL Resource Type and ID Format SDF ............... 137
XOH OPC Product Identifier SDF .......................... 137
Appendix A. IPDS Exception Reporting Codes .................. 139
Command Reject — X'80'............................ 140
Intervention Required — X'40'.......................... 140
Equipment Check — X'10'............................ 141
Data Check — X'08'................................ 141
Specification Check-Bar Code — X'04'..................... 142
Specification Check-Graphics — X'03'..................... 145
Specification Check-General — X'02'...................... 150
Conditions Requiring Host Notification — X'01'................ 167
Appendix B. Summary of IPDS for Control Units ................ 169
System Attachment .................................. 169
Data Stream Summary ................................ 169
LU-1 Mode ...................................... 169
DSC Mode ...................................... 169
IPDS Application in LU-1 Mode ........................... 170
vi 6400 IPDS

Determining IPDS Capability ........................... 170
Inbound Structured Fields ............................. 170
Selecting and Terminating IPDS Mode of Operation ............. 171
Implicit Termination of IPDS Mode ....................... 172
Copy Considerations ................................ 172
Error Recovery in LU-1 IPDS Mode ....................... 173
IPDS ACK/NACK Sequence in LU-1 Mode ................... 173
Recommended ACK/NACK Sequence in LU-1 Mode ........... 173
Other Asynchronous/Synchronous Sequences in LU-1 Mode ...... 174
IPDS Application in DSC Mode ........................... 178
Determining IPDS Capability ........................... 178
Inbound Structured Fields ............................. 179
Selecting and Terminating IPDS Mode of Operation ............. 179
Implicit Termination of IPDS Mode ....................... 180
Abnormal Termination of Printer Operation .................. 181
Copy Considerations ................................ 181
Chaining and Error Recovery in 3270 IPDS Mode ............... 181
IPDS ACK/NACK Sequence in DSC Mode (Channel-Attached) ....... 181
Not Recommended NACK Sequence for Printers ............. 181
Recommended NACK Sequence for Printers in DSC Mode
(Channel-Attached) .............................. 182
Other Asynchronous/Synchronous Sequences in DSC
(Channel-Attached) Mode .......................... 184
IPDS ACK/NACK Sequence in DSC Mode (BSC-Attached) ......... 186
Not Recommended NACK Sequence for Printers in DSC Mode
(BSC-Attached) ................................. 186
Recommended NACK Sequence for Printers in DSC Mode
(BSC-Attached) ................................. 187
Other Asynchronous/Synchronous Sequences in DSC (BSC-Attached)
Mode ....................................... 189
Structured Field Descriptions ............................ 190
LU-1 (SNA) Structured Fields ........................... 190
DSC (Non-SNA) Structured Fields ........................ 191
Data Chain Structured Field .......................... 191
Select IPDS Mode ................................ 191
Data Chaining Query Reply .......................... 192
3270 IPDS Query Reply ............................. 192
Programming Dependencies ............................. 192
BSC .......................................... 192
MVS/CICS with VTAM in LU-1 Mode (Remote 3X74 Attachment) ...... 193
MVS/CICS with VTAM in DSC Mode (Local 3X74 Attachment) ....... 194
Related Reading .................................. 196
Glossary of Abbreviations and Definitions ..................... 197
Index ........................................... 217
Contents vii

viii 6400 IPDS

Figures
1. Conventional Letter Preparation ........................ 2
2. IPDS Letter Preparation ............................. 3
3. Using Overlays .................................. 4
4. Using Page Segments .............................. 5
5. Graphic Material Created by Image and Graphics Commands ...... 6
6. Bar Codes From The Printer .......................... 8
7. Configuration Main Menu ............................ 18
8. IPDS Menu ..................................... 19
9. Using the Logical Page Descriptor Command to Specify the Logical
Page .........................................41
10. Using the Logical Page Position Command to Position the Logical Page 41
11. Using the Set Media Size Command to Specify the Physical Medium ..51
12. The Graphics X and Y Coordinate System .................. 80
13. The Graphics Medium Presentation Space and Its Limits .........80
14. The Graphics Window within the Graphics Medium Presentation Space 81
15. The Graphics Object Area on the Physical Medium ............82
16. Graphics Object Area Position Control and the Graphics Object Area .84
17. Graphics Output Control and the Graphics Object Area .......... 86
18. Graphics Data Descriptor and the Graphics Medium Presentation Space 88
19. Scale-to-Fit Mapping ...............................89
20. Center-and-Trim Mapping ............................90
21. Position-and-Trim Mapping ........................... 91
22. Specifying the Bar Code Object Using the Bar Code ........... 119
23. Specifying the Bar Code Object Size Using the Bar Code Output
Control ...................................... 121
24. Code 128 Character Set (EBCDIC) ...................... 129
25. An Example of Overlay Nesting ....................... 130
26. LU-1 Data Stream Modes ........................... 172
27. Reporting IPDS Errors Using the ACK Reply Structured Field in LU-1
Mode ....................................... 173
28. Synchronous ACK/NACK Reporting of IPDS Errors in LU-1 Mode ... 174
29. Asynchronous NACK in LU-1 Mode ..................... 175
30. Asynchronous NACK in LU-1 Mode ..................... 175
31. Asynchronous NACK in LU-1 Mode ..................... 176
32. Synchronous ACK/NACK in LU-1 Mode ................... 177
33. Synchronous ACK/NACK in LU-1 Mode ................... 177
34. Synchronous NACK in LU-1 Mode ...................... 178
35. DSC Data Stream Modes ........................... 180
36. Reporting IPDS Errors with ACK Reply Structured Field in DSC Mode 182
37. Asynchronous NACK in DSC (Channel-Attached) Mode ......... 183
38. Asynchronous NACK in DSC (Channel-Attached) Mode ......... 185
39. Synchronous ACK/NACK in DSC (Channel-Attached) Mode ....... 186
40. Reporting IPDS Errors in DSC (BSC-Attached) Mode ........... 188
41. Asynchronous NACK in DSC (BSC-Attached) Mode ........... 189
42. Synchronous ACK/NACK in DSC (BSC-Attached) Mode ......... 190
ÓCopyright IBM Corp. 1995 ix

x6400 IPDS

Notices
References in this publication to IBM products, programs, or services do not
imply that IBM intends to make these available in all countries in which IBM
operates. 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. The evaluation and verification of operation in conjunction
with other products, except those expressly designated by IBM, are the
responsibility of the user.
IBM may have patents or pending patent applications covering subject matter in
this document. The furnishing of this document does not give you any license to
these patents. You can send license inquiries, in writing, to the IBM Director of
Commercial Relations, IBM Corporation, Purchase, NY, U.S.A. 10577
Communications Statements
Federal Communications Commission (FCC) Statement
Note: This equipment has been tested and found to comply with the limits for a
Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are
designed to provide reasonable protection against harmful interference when the
equipment is operated in a commercial environment. This equipment generates,
uses, and can radiate radio frequency energy and, if not installed and used in
accordance with the instruction manual, may cause harmful interference to radio
communications. Operation of this equipment in a residential area is likely to
cause harmful interference, in which case the user will be required to correct the
interference at his own expense.
Properly shielded and grounded cables and connectors must be used in order to
meet FCC emission limits. IBM is not responsible for any radio or television
interference caused by using other than recommended cables and connectors or
by unauthorized changes or modifications to this equipment. Unauthorized
changes or modifications could void the user's authority to operate the
equipment.
This device complies with Part 15 of the FCC Rules. Operation is subject to the
following two conditions: (1) this device may not cause harmful interference, and
(2) this device must accept any interference received, including interference that
may cause undesired operation.
Canadian Department of Communications Compliance Statement
This equipment does not exceed Class A limits per radio noise emissions for
digital apparatus, set out in the Radio Interference Regulation of the Canadian
Department of Communications. Operation in a residential area may cause
unacceptable interference to radio and TV reception requiring the owner or
operator to take whatever steps are necessary to correct the interference.
ÓCopyright IBM Corp. 1995 xi

Avis de conformité aux normes du ministère des Communications du Canada
Cet équipement ne dépasse pas les limites de Classe A d’émission de bruits
radioélectriques pour les appareils numériques, telles que prescrites par le
Réglement sur le brouillage radioélectrique établi par le ministére de
Communications du Canada. Léxploitation faite en milieu résidentiel peut
entraîner le broulliage des réceptions radio et télé, ce qui obligerait le
propriétaire ou l’opérateur à prendre les dispositions nécessaires pour en
éliminer les causes.
UnitedKingdom Telecommunications Compliance Act
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:
This manual also contains a glossary, which defines the special terms and
abbreviations used in this book, and an index.
IBM Application System/400
AS/400 System/370
Intelligent Printer Data Stream IPDS
OfficeVision/400 OS/400
GDDM CICS
DisplayWrite IBMLink
BCOCA MO:DCA
AFP AIForm
PSF MVS
Related Publications
The following publications contain additional reference information:
•6400 Operator's Guide, S246-0115. Includes step-by-step instructions for daily
printer operations.
•6400 Setup Guide, S246-0116. Provides information on installing and
configuring the printer.
•IBM Data Stream and Object Architectures, Bar Code Object Content
Architecture (BCOCA) Reference, S544-3766.
•IBM Data Stream and Object Architectures, Font Object Content Architecture
(FOCA) Reference, S544-3285.
xii 6400 IPDS

•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.
•IBM Application System/400 Information Directory, GC21-9678.
•IBM System/370, 30xx, and 4300 Processors Bibliography, GC20-0001.
Notices xiii

xiv 6400 IPDS

Capabilities of IPDS
Chapter 1. Introduction
This chapter introduces the Intelligent Printer Data Stream (IPDS) and describes
some of the capabilities of IPDS when used with this printer.
About IPDS 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. In some of these environments, you can
create applications to directly control IPDS printers such as this printer. For
more information about IPDS as a component of printing subsystems, refer to
Intelligent Printer Data Stream Reference, S544-3417.
IBM provides a variety of host software products with components that generate
IPDS commands for this printer or other IPDS printers. These software products
vary in their use of IPDS functions. Contact your IBM representative for
information about software products that support these printers.
Capabilities of IPDS
A printer controlled by IPDS has a number of advantages over conventional
printers. With IPDS you can:
•Use the printer's all-points-addressable printing to print text, graphics,
images, or bar codes at any point on a page.
•Print text in a variety of type styles and switch fonts within a printed page.
•Use both images and vector graphics (explained later in this chapter) to print
line drawings, pie charts, bar charts, graphics, logos, tables, and signatures.
•Combine text with images and graphics on the same page (creating what is
known as a composite document).
•Electronically store and later print forms and letterheads that are always
printed in the same predetermined type style.
•Electronically store and later print text where the type style printed is the
same as that used in the rest of the text.
•Print any of 16 different kinds of bar codes in many sizes and with a number
of variations.
•Print either portrait (upright, letter orientation) or landscape (printing “on the
side,” with the page wider than it is tall).
ÓCopyright IBM Corp. 1995 1

Capabilities of IPDS
Printing a LetterIPDS lets you print a letter in just one step. In conventional printing (Figure 1),
you must load letterhead paper into your printer, print the text of your letter, and
then manually sign the letter.
Figure 1. Conventional Letter Preparation
Using IPDS (Figure 2), you can temporarily store your letterhead and signature
in the printer's memory and then merge the letterhead, text, and signature with
additional data to form a complete letter. You can also include graphics, such
as a line chart or bar chart, in your letter, creating a composite document.
26400 IPDS

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. This printing concept is discussed in “Using Overlays” on page 4.
You can store your printed signature block so it is printed in the type style used
in the rest of the letter or memo. That way the signature block's type style
matches the letter in which it appears, no matter how many different fonts you
use for different kinds of letters. This printing concept is discussed in “Using
Page Segments” on page 5.
You can include bar charts or line graphs in your letter. Such graphic material
can be generated through either the Image function or the Graphics function.
See “Using Images and Graphics” on page 6.
Chapter 1. Introduction 3

Using Overlays
Using Overlays Overlays are stored constructs (text, graphics, images, and bar codes), often in
complex configurations, with all the instructions needed to print. 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
46400 IPDS
Other manuals for 6400 Series
10
Table of contents
Other IBM Printer manuals

IBM
IBM 6400 Series User manual

IBM
IBM 6400-D Generation II Series User manual

IBM
IBM Selectric I/O Manual

IBM
IBM 5256-1 Setup guide

IBM
IBM V03 Setup guide

IBM
IBM 1403 User manual

IBM
IBM Infoprint Color 1354 Product information sheet

IBM
IBM IBM Infoprint 1572 MICR 50 User manual

IBM
IBM 6400 Series User manual

IBM
IBM InfoPrint 6500 User manual

IBM
IBM INFOPRINT HI-LITE COLOR 4005-HC2 Installation and operation manual

IBM
IBM 4247 002 User manual

IBM
IBM 5256 User manual

IBM
IBM 24 User manual

IBM
IBM Deskstar Deskstar 3 User manual

IBM
IBM INFO PRINT 3000 Manual

IBM
IBM Infoprint Color 1220 User manual

IBM
IBM 4100 User manual

IBM
IBM Bertl Quick guide

IBM
IBM 2CR User manual