IPDS and SCS Technical Reference
Total Page:16
File Type:pdf, Size:1020Kb
IBMNetworkPrinters12,17,24 IBMInfoprint20,21,32,40,45 IBM Infoprint 70 IBM IPDS and SCS Technical Reference S544-5312-07 IBMNetworkPrinters12,17,24 IBMInfoprint20,21,32,40,45 IBM Infoprint 70 IBM IPDS and SCS Technical Reference S544-5312-07 Note Before using this information and the product it supports, be sure to read the general information under “Notices” on page xiii. Eighth Edition (April 2000) This version obsoletes S544-5312-06. Requests for IBM publications should be made to your IBM representative or to the IBM branch office serving your locality. If you request publications from the address given below, your order will be delayed because publications are not stocked there. Many of the IBM Printing Systems Company publications are available from the web page listed below. Internet Visit our home page at: http://www.ibm.com/printers A Reader’s Comment Form is provided at the back of this publication. You may also send comments by fax to 1-800-524-1519, by e-mail to [email protected], or by regular mail to: IBM Printing Systems Department H7FE Building 003G Information Development PO Box 1900 Boulder CO USA 80301-9191 IBM may use or distribute whatever information you supply in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 1996, 2000. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Tables ...............ix Chapter 4. Device Control Command Set................23 Notices ..............xiii Acknowledgement Reply ..........23 Trademarks ..............xiii Activate Resource ............25 Resource ID example with RIDF = GRID . 27 About This Book ..........xv Resource ID example with RIDF = MVS Host Audience ...............xv Unalterable Remote Font Environment ....27 Conventions Used ............xv Resource ID example with RIDF = Coded Font 28 Terminology ..............xv Begin Page ..............29 Network Printers ...........xv Deactivate Font .............29 Paper Input and Output Receptacles .....xv End.................30 Related Publications ...........xv End Page ...............30 Load Copy Control ............30 Chapter 1. Introduction ........1 Network Printer 12 Load Copy Control X’D69F’ 31 Network Printer 17 Load Copy Control X’D69F’ 32 About IPDS...............1 Infoprint 20 Load Copy Control X’D69F’ . 33 Capabilities of IPDS ............2 Infoprint 21 Load Copy Control X’D69F’ . 34 Printing a Letter .............2 Network Printer 24 Load Copy Control X’D69F’ 35 Using Overlays .............3 Infoprint 32/40 Load Copy Control X’D69F’ . 36 Using Page Segments ...........4 Infoprint 45 Load Copy Control X’D69F’ . 37 Using Images and Graphics .........5 Infoprint 70 Load Copy Control X’D69F’ . 38 IM and IO Images ...........5 Media Source and Destination Support Matrices 39 Graphics...............6 Load Font Equivalence ..........60 Using Bar Codes .............6 Logical Page Descriptor ..........62 Printing in Duplex Mode ..........8 Logical Page Position ...........63 Sense Type and Model...........64 Chapter 2. IPDS Overview .......9 Execute Order Any State (XOA) .......69 IPDS Operating States ...........9 XOA Mark Form ...........69 Home State ..............9 XOA Exception Handling Control ......69 Overlay State .............10 XOA Print Quality Control ........70 Font State ..............10 XOA Request Resource List ........70 IPDS Command Format ..........10 XOA Alternate Offset Stacker(AOS) .....72 Reserved Bytes ............11 Execute Order Home State (XOH) .......74 Flag Byte ..............12 XOH Obtain Printer Characteristics .....74 Correlation ID (CID) ..........12 Printable Area Self-Defining Field ......75 Error Processing ............12 XOH Select Input Media Source ......94 Page and Copy Counters .........13 XOH Set Media Origin .........96 Data Types ..............14 XOH Set Media Size ..........97 Text................14 XOH Page Counter Control ........97 Image...............14 XOH Define Group Boundary .......97 Graphics ..............14 XOH Specify Group Operation ......100 BarCode..............15 Coordinate System ............15 Chapter 5. Presentation Text Xm, Ym Coordinate System (Medium Command Set ...........103 Presentation Space) ...........15 Load Equivalence ............103 Xp, Yp Coordinate System (Logical Page Write Text ..............103 Presentation Space) ...........15 Absolute Move Baseline .........104 I, B Coordinates System (Text) .......16 Absolute Move Inline .........104 Other Text Positioning Terms .......16 Begin Line .............104 Notation Conventions ..........17 Begin Suppression...........105 Draw B-Axis Rule ...........105 Chapter 3. Summary of IPDS Draw I-Axis Rule ...........105 Commands .............19 End Suppression ...........106 IPDS Initialization Defaults .........19 No Operation ............106 Page Printer Initialization Sequence ......21 Overstrike .............106 © Copyright IBM Corp. 1996, 2000 iii Relative Move Baseline .........107 Chapter 12. Loaded Font Command Relative Move Inline ..........107 Set................147 Repeat String ............108 Load Code Page ............147 Set Baseline Increment .........108 Load Code Page Control .........147 Set Coded Font Local..........108 Load Font ..............148 Set Extended Text Color .........109 LF1 Format .............148 Set Inline Margin ...........109 LF3 Format .............149 Set Intercharacter Adjustment .......110 Load Font Character Set Control .......150 Set Text Color ............110 Load Font Control............150 Set Text Orientation ..........111 Load Font Index ............152 Set Variable Space Character Increment ....112 Temporary Baseline Move ........112 Chapter 13. Exception Reporting, Transparent Data ...........113 Underscore .............113 Sense Data, and Recovery......155 General Reply Rules ...........155 Chapter 6. IM Image Command Set 115 Exception-Handling Control (EHC) ......156 Exception Reporting ..........156 IM Image Commands ..........115 Classes of Data Stream Exceptions ......156 Write Image Control ...........115 Sense Byte Information ..........157 Write Image ..............116 Action Codes in Sense Byte 2 .......157 Formats 0, 1, and 2 for Sense Bytes 4-18 and Chapter 7. IO Image Command Set 117 20-23 ...............158 Write Image Control 2 ..........117 Exception-Reporting Codes .........159 Image Area Position ..........118 Exception Classes ...........160 Image Output Control .........118 Tables of Printer Exception Codes .....160 Image Data Descriptor .........119 TCP/IP Sense Data ...........161 Write Image 2 .............120 Intervention Required Sense Data .....161 Begin Segment ............120 IPDS Exceptions Reported .........161 Begin Image Content ..........120 Command Reject Exceptions .......161 Image Size Parameter .........120 Equipment Check with Intervention Required 161 Image Encoding Parameter ........121 Intervention Required Exceptions......161 Image Data Element Size Parameter .....121 Equipment Check Exceptions .......162 Image Look-up Table ID Parameter .....122 Data Check Exceptions .........163 ImageData.............122 IO-Image Specification Exceptions .....163 End Image Content ..........122 Bar Code Specification Exceptions .....164 End Segment ............122 Graphics Specification Exceptions .....164 General Specification Exceptions ......165 Chapter 8. Graphics Command Set 123 Host Notification Exceptions .......171 Write Graphics Control ..........123 Page Counter Adjustments .........172 Graphics Area Position .........123 Page and Copy Counter Adjustments for Graphics Output Control ........124 Data-Stream Exceptions ..........174 Graphics Data Descriptor ........124 Write Graphics .............126 Chapter 14. Code Page and Font Write Graphics Defaults .........126 Identification............177 Begin Segment Introducer ........127 RRL RT’06’ Code Page (CPGID) .......177 Set Process Color ...........131 RRL RT’12’ Specific Code Pages (GCSGID/CPGID) 177 DrawingOrderSummary........132 RRL RT’11’ Graphic Character Sets (GCSGID SUB/SUPERSETS)............177 Chapter 9. Bar Code Command Set 135 RRL RT’07’ Font Character Sets Write Bar Code Control ..........135 (GCSGID/FGID/FW)...........178 Bar Code Area Position .........135 RRL RT’01’/’03’/’10’ RIDF’03’ Bar Code Output Control ........136 (GCSGID/CPGID/FGID/FW=GRID).....179 Bar Code Data Descriptor ........136 Write Bar Code .............141 Chapter 15. Using the Printer in IPDS Mode with AS/400 .........181 Chapter 10. Overlay Command Set 143 Using Control Language (CL) Commands ....181 Printer File Command Parameters .....181 Chapter 11. Page Segment Command Additional Information for Create Printer File Set................145 (CRTPRTF).............187 Using Data Description Specifications (DDS) 187 iv IPDS and SCS Technical Reference Using OfficeVision/400 .........193 Word Underscore (WUS) ........226 Operating System/400 (OS/400) Graphics . 197 Underscore (US) ...........227 Using Business Graphics Utility (BGU) ....198 Substitute (SUB) ...........227 Using a Network Printer as a Virtual Printer Eight Ones (EO) ...........227 with PC Support/400..........201 Required Hyphen (HYP) ........227 Syllable Hyphen (SHY) .........227 Chapter 16. Data Streams– Non-IPDS Set Graphic Error Action (SGEA) ......227 Mode with AS/400 .........203 Justify Text Field (JTF) .........228 Set Justify Mode (SJM) .........229 Device Control .............203 Begin Underscore (BUS) .........229