CONTENTS Title Page Copyright Page Preface 1 Introduction to IIS 1.1 What Is IIS? 1.2 How IIS Relates to DECimage Application Services 1.3 Hardware and Software Requirements for IIS 1.4 The IIS Process 1.5 How IIS Works 1.5.1 IIS Service Classes 1.5.2 Local and Remote Image Input Devices 1.5.3 Image Data Acquisition 1.5.4 IIS Status Block 1.5.5 IIS Item Lists 1.5.6 Image Input Attributes 2 Service Classes 2.1 Device Connection Services 2.2 Device Control Services 2.3 Data Input Services 3 Image Data Acquisition 3.1 Acquiring and Formatting Image Data 3.2 Acquiring Synchronous Image Data 3.3 Acquiring Asynchronous Image Data 3.4 Canceling Asynchronous Image Data Acquisition 4 IIS Status Block 4.1 Use of the IIS Status Block 4.2 Structure of the IIS Status Block 5 IIS Item Lists 5.1 Item Lists 5.1.1 IIS$GET_ATTRIBUTES Item List 5.1.2 IIS$SET_ATTRIBUTES Item List 6 Image Input Attributes 6.1 Automatic Document Feeder Control Attribute 6.2 Bits Per Pixel Attribute 6.3 Brightness Attribute 6.4 Compression Type Attribute 6.5 Contrast Attribute 6.6 Endorser Control Attribute 6.7 Grain Attribute 6.8 Number of Lines Attribute 6.9 Number of Windows Attribute 6.10 Page Length Attribute 6.11 Pixels Per Line Attribute 6.12 Resolution Attribute 6.13 Scan Frame Attribute 6.14 Scan Mode Attribute 6.15 Units of Measure Attribute 6.16 Window Block Attribute 6.17 Window Frame Attribute 7 IIS Routines IIS$ASSIGN IIS$CANCEL IIS$DEASSIGN IIS$GET_ATTRIBUTES IIS$READ_FRAME IIS$READ_IMAGE IIS$READ_IMAGE_NOWAIT IIS$RESET_ATTRIBUTES IIS$SET_ATTRIBUTES A Condition Values and Error Messages B Example Program in VAX C C Example Program in Portable C D Example Program in VAX BASIC E Example Program in VAX FORTRAN Glossary FIGURES 1-1 IIS Layers and Component Relationships 1-2 Relationship of IIS to Other DECimage Application Services Components 1-3 Representation of an ISL Frame 1-4 Overview of the IIS Process 4-1 IIS Status Block IIS$R_ISB 5-1 IIS$GET_ATTRIBUTES Item Descriptor 5-2 IIS$SET_ATTRIBUTES Item Descriptor 6-1 Scan Frame Attribute 6-2 Example of Scan Frame Coordinates 6-3 Window Block Attribute 6-4 Window Frame Attribute TABLES 1 Example Table 6-1 IIS Image Input Attributes 6-2 ADF Control Attribute Settings for the MD410 Scanner 7-1 Headings in the Routine Template 7-2 IIS Routines 7-3 How IIS and ISL Attributes Relate