Xerox 3270 Programmer's Manual
Xerox 3270 Programmer's Manual

Xerox 3270 Programmer's Manual

Xerox electronic documentation laser 3270 programmer's guide

Advertisement

Quick Links

Laser 3270
Programmer's Guide
Doc. no. D62077
WARNING:
This equipment generates, uses, and can radiate radio frequency energy and if not installed and used
in accordance with the instruction manual, may cause interference to radio communications. It has
been tested and found to comply with the limits for a Class A computing device pursuant to Subpart
B of Part 15 of FCC Rules, which are designed to provide reasonable protection against such inter-
ference when operated in a commercial environment. Operation of this equipment in a residential
area is likely to cause interference in which case the user at his own expense will be required to take
whatever measures may be required to correct the interference.
EMC directive :
This product observes the rules and regulations of the EMC directive. If so required, a declaration of
conformity in local language stipulating the applied rules and regulations can be obtained.
Trademarks:
Company and product names mentioned in this datasheet are trademarks or registered trademarks of
their respective owners.
Rank Xerox Electronic Documentation
Revision 00
Solution for Xerox Printers

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 3270 and is the answer not in the manual?

Questions and answers

Summary of Contents for Xerox 3270

  • Page 1 This product observes the rules and regulations of the EMC directive. If so required, a declaration of conformity in local language stipulating the applied rules and regulations can be obtained. Trademarks: Company and product names mentioned in this datasheet are trademarks or registered trademarks of their respective owners. Rank Xerox Electronic Documentation Solution for Xerox Printers...
  • Page 2: Preface

    3270 Programmer’s Guide Preface Preface August 1997 Please note that all products will be referred to as the “3270 protocol converter” or simply the “converter”. This manual applies to the 3270 Protocol Converter - the advanced use and programming of it. NOTE: Not all FSL functions and functionality described in this programmer’...
  • Page 3: Related Manuals

    XES setup functions. The manuals describe the configuration of the 3270 Protocol Converter to a specific printer or a specific application. The reader must have basic knowledge and understanding of IBM computer systems, especially the IBM 3270 Information Display System.
  • Page 4: Table Of Contents

    3.2.2. Functions with no need for %X1 storing ... 20 3.3. Action at Power On..20 3.4. Restricting Access ..21 4. IBM 3270 Related Functions - Special Settings ...22 4.1. Page Presentation Media Command ..23 4.2. Functions Read by the IBM Controller ... 23 4.3.
  • Page 5: Introduction

    3270 Programmer’s Guide Introduction 1. Introduction The 3270 Protocol Converter enables any Xerox laser printer to be connected to an IBM computer system. Printer Drivers - FSL, PCL and XES With the 3270 Protocol Converter you have the option of selecting...
  • Page 6: Fsl Printer Driver

    You should only change the configuration if you have special requirements. If you should wish to change the configuration, the options may be set from the line as described in this manual. See the PCL 3270 - 6 -...
  • Page 7: Xes Printer Driver

    3270 Programmer’s Guide Introduction Programmer’ s Guide, Doc. no. D62030 - 7 -...
  • Page 8: 3270 Protocol Converter Programming

    RPQs (subject to restrictions of the ASCII printers). Serial input or output (in case of serial connector) Access to all the special facilities on your Xerox printer from the host. Automatic input sharing between Coax, Centronics and RS (in case of serial connector) input.
  • Page 9: Serial Input/Output

    3270 Programmer’s Guide Introduction The settings can be downloaded as special commands from your IBM system or from a PC to the Centronics or RS 232 (in case of serial connector) input port. The converter uses these commands for its own internal setup.
  • Page 10: Function Selection Via The Line

    Function Selection via the Line 2. Function Selection via the Line Function Selection via the Line (FSL) sequences are special com- mands used for the downloading of settings to the 3270 Protocol Converter . The syntax of an FSL command is shown below.
  • Page 11 3270 Programmer’s Guide Function Selection via the Line Once a character has been defined as the ESC character, it cannot be printed or used as a normal character. However, it is not neces- sary to have an ESC character defined permanently. When the ESC character has served its purpose, it can be deleted.
  • Page 12: Defining Temporary Escape Character

    3270 Programmer’s Guide Function Selection via the Line 2.1.1. Defining Temporary Escape Character No ESC character is defined when you receive the converter. If you wish to change the settings from the host system, you will have to define the ESC character . See below how to define "%" as the tem- porary ESC character .
  • Page 13: Removing Temporary Escape Character

    3270 Programmer’s Guide Function Selection via the Line 2.1.2. Removing Temporary Escape Character If you wish to remove the temporary ESC character so that it may be used as a printable character, you can define it as a blank as shown below.
  • Page 14: Removing Permanent Escape Character

    3270 Programmer’s Guide Function Selection via the Line 2.1.4. Removing Permanent Escape Character If you wish to remove the permanent ESC character , you will have to follow the proce dure below: 1) Set Function 48, Select Permanent Escap e Character, to "00"...
  • Page 15: Apostrophe Notation

    3270 Programmer’s Guide Function Selection via the Line NOTE: In command strings in hex pair notation, only the hexadecimal characters 0-9 and A-F are allowed. The specifying of any other character may give unpredict- able printing results. Between the two leading and the trailing ESC characters all IBM control codes, spaces, and the character ","...
  • Page 16: Testing Via The Line

    3270 Programmer’s Guide Function Selection via the Line NOTE: The apostrophe notation may also be used in the pro- gramming of Function 61, "Setup for User Strings", Function 62, "Setup for IBM Defined Strings", Function 63, "Define Logos" (FSL & PCL only), Y100 "Printer Sharing", Y90 "Define User Escape String", and the...
  • Page 17: Manipulation Of Temporary And Permanent Memory Areas

    3270 Programmer’s Guide Manipulation of Temporary and Permanent Memory 3. Manipulation of Temporary and Permanent Memory Areas When your settings have been downloaded to the temporary mem- ory through the FSL Functions, you may wish to save them perma- nently for future uses. For this purpose, special commands can be used.
  • Page 18 3270 Programmer’s Guide Manipulation of Temporary and Permanent Memory See Fig. 3-1 below which illustrates the interaction of the three levels. Fig. 3-1 The three levels of settings - 18 -...
  • Page 19: Commands For Storing And Restoring Settings

    3270 Programmer’s Guide Manipulation of Temporary and Permanent Memory 3.2. Commands for Storing and Restoring Settings The following commands allow you to manage the temporary and the permanent memory areas. You may save the temporary memory settings in the permanent memory, or you may overwrite the tempo- rary memory settings by loading the settings from the permanent memory or the factory default area.
  • Page 20: Functions Where Power Off/On Is Needed

    3270 Programmer’s Guide Manipulation of Temporary and Permanent Memory 3.2.1. Functions where power off/on is needed Function 1 Buffer Size Function 7 Case Function 14 Enable Graphics Function 15 Baud Rate Function 16 Number of Data Bits for Serial Input...
  • Page 21: Restricting Access

    3270 Programmer’s Guide Manipulation of Temporary and Permanent Memory 3.4. Restricting Access This facility allows you to restrict access to the temporary memory and/or the permanent memory areas. The command is an FSL com- mand which will have effect as soon as the converter receives it. See the example in the following and Function Y49 in the list of sup- ported FSL Functions for the two printer drivers.
  • Page 22: Ibm 3270 Related Functions - Special Settings

    IBM RPQs and Intervention Required Timer (IRQ). Some of the 3270 related functions are normally controlled from the front panel on an IBM 3268/87 or an IBM 4214 printer. On the IBM 3287/3268/4214 printers, it is also possible to change the following front panel settings via the line (in LU1 mode only).
  • Page 23: Page Presentation Media Command

    For colour selected by attrubute, the Function Y62 string options for colour have to be programmed. For details you are referred to the separate FSL , PCL and XES 3270 Programmer’s Guides as the functionality of Function Y62 depends on which printer driver you have selected.
  • Page 24: Ibm Rpq Settings

    3270 Programmer’s Guide IBM Related Functions NOTE: If the converter is connected directly to an IBM 4331 or 4361, the buffer size of 1920 characters (Function Y1=2) should be specified, due to a hard ware restriction on the mainframe. 4.3. IBM RPQ Settings The Functions 25 to 33 are similar to the RPQs you can order for an IBM 3287 or IBM 3268 printer as shown in the following table.
  • Page 25: Irq Time

    4.4. IRQ Time IRQ (Intervention Required) is a 3270 command which signals to the host that action is required at the device (paper out, forms jam, etc. ) Function Y46, IRQ Time, allows you to adjust the period from the error occurs until the IRQ signal is sent to the host.
  • Page 26 3270 Programmer’s Guide IBM Related Functions If a "BUSY" signal is received but no "DESELECT", "FAULT" or "PAPER ERROR" signal, it is handled as a busy signal. In order to completely disable the IRQ, you must set all parameters to "00"...
  • Page 27: Serial Input

    3270 Programmer’s Guide Serial Input 5. Serial Input NOTE: This section only applies if your product is equipped with a serial connector. The serial port is connected to the serial output on a PC or similar source to enable sharing the printer with the host.
  • Page 28: Printer Sharing

    The factory default timeout is 20 seconds. The timeout may be changed to suit your requirements. This is done by sending a new setup to the 3270 converter input port where you want it to take effect. When specifying the timeout it is possible to specify a user string . A user string may be used to reset the printer, for example .
  • Page 29: Printer Initialization By User Strings

    As the PCL and XES drivers are pre-programmed, the user string feature is not very usable here. With the FSL driver, however, it is an essential facility. For further information see the FSL 3270 Programmer’s Guide, D62071. Below is shown the syntax of sending a user string under host con- trol ("%"...
  • Page 30: User String As Input

    3270 Programmer’s Guide Translate Tables been programmed, you only need to enter 3 characters in the data- stream to send the user string to your printer. %Z<user string no. > Sending user string under host control Several functions relate to the user string facility. Among these func-...
  • Page 31 8F with %Y2,8% (to select 8 LPI). As there are differences between the printer drivers in connec tion with printer sharing, you are referred to either the FSL (D62071), the PCL (D62030) or the XES (D62067) 3270 Programmer’s Guides. - 31 -...
  • Page 32: Appendix A: Rs 232/V24 Cable Connection (Serial Support)

    3270 Programmer’s Guide Appendix A Appendix A: RS 232/V24 Cable Connection (serial support) Using the serial port The following connections are available in the serial plug: pin 1 pin 2 RX data pin 3 TX data pin 4 pin 5...
  • Page 33: Appendix B: List Of Abbreviations

    A Programming Language ASCII American Standard Code of Information Interchange Automatic Page Orientation Characters Per Inch Carriage Return Computer Output Reduction 3270 Information Display System data stream Compatibility EBCDIC Extended Binary Coded Decimal Interchange code ESCape character Form Feed Form Length...
  • Page 34: Index

    Defining Permanent ESC Character, 13 ESC Character, 10 Removing Permanent ESC Character, 14 Removing Temporary ESC Character, 13 Sending HEX codes, 14 — I — IBM 3270 Related Functions, 22 IBM RPQ Settings, 24 IRQ Time, 25 — M — Manuals Related, 3...

This manual is also suitable for:

Laser 3270

Table of Contents