Xerox 3270 Programmer's Manual

Manual is about: Xerox Electronic Documentation Laser 3270 Programmer's Guide

Summary of 3270

  • Page 1

    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 s...

  • Page 2: Preface

    3270 programmer’s guide preface - 2 - 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 functio...

  • Page 3: Related Manuals:

    3270 programmer’s guide preface - 3 - xes 3270 programmer’s guide a description of how to program the product in xes mode. The manual contains a full list and description of the supported xes setup functions. The manuals describe the configuration of the 3270 protocol converter to a specific printer...

  • Page 4: Table of Contents

    3270 programmer’s guide table of contents - 4 - table of contents preface..............................................................................................2 table of contents............................................................................4 1. Introduction........................

  • Page 5: 1. Introduction

    3270 programmer’s guide introduction - 5 - 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 between three printer drivers, the fs...

  • Page 6: 1.1. Fsl Printer Driver

    3270 programmer’s guide introduction - 6 - in case the converter is equipped with a serial connector, it supports serial input or output. In all three printer drivers, centronics input and output is supported. The 3270 protocol converter can be used with most xerox printers . Note: the printer drive...

  • Page 7

    3270 programmer’s guide introduction - 7 - programmer’s guide, doc. No. D62030

  • Page 8

    3270 programmer’s guide introduction - 8 - • full ibm 3268/87 and 4214 emulations including the apl feature and all applicable 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 fro...

  • Page 9: 1.6. Serial Input/output

    3270 programmer’s guide introduction - 9 - 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. Initially, the settings can be downloade...

  • Page 10: 2.1. Escape Character

    3270 programmer’s guide function selection via the line - 10 - 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. "%" is the defin...

  • Page 11

    3270 programmer’s guide function selection via the line - 11 - 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 ca...

  • Page 12

    3270 programmer’s guide function selection via the line - 12 - 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 th...

  • Page 13

    3270 programmer’s guide function selection via the line - 13 - 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. &&?? Removing the temporary esc character . 2.1.3....

  • Page 14: 2.2. Sending Hex Codes

    3270 programmer’s guide function selection via the line - 14 - 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" (no esc character ). 2) define a...

  • Page 15: 2.3. Apostrophe Notation

    3270 programmer’s guide function selection via the line - 15 - 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 charact...

  • Page 16: 2.4. Testing Via The Line

    3270 programmer’s guide function selection via the line - 16 - 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...

  • Page 17: Permanent Memory Areas

    3270 programmer’s guide manipulation of temporary and permanent memory - 17 - 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...

  • Page 18

    3270 programmer’s guide manipulation of temporary and permanent memory - 18 - see fig. 3-1 below which illustrates the interaction of the three levels. Fig. 3-1 the three levels of settings.

  • Page 19

    3270 programmer’s guide manipulation of temporary and permanent memory - 19 - 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 overw...

  • Page 20: 3.3. Action At Power On

    3270 programmer’s guide manipulation of temporary and permanent memory - 20 - 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 function 17 parity for serial input fu...

  • Page 21: 3.4. Restricting Access

    3270 programmer’s guide manipulation of temporary and permanent memory - 21 - 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. Se...

  • Page 22: Special Settings

    3270 programmer’s guide ibm related functions - 22 - 4. Ibm 3270 related functions - special settings this chapter describes those fsl functions specifically related to the requirements of the ibm 3270 system. Scs command related functions, functions which need to be stored and where powering off an...

  • Page 23

    3270 programmer’s guide ibm related functions - 23 - there are differences depending on which printer driver you have selected. 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 prog...

  • Page 24: 4.3. Ibm Rpq Settings

    3270 programmer’s guide ibm related functions - 24 - 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 ...

  • Page 25: 4.4. Irq Time

    3270 programmer’s guide ibm related functions - 25 - if formatting problems occur at the initial installation of the converter, these problems may be solved by selecting the settings matching the appropriate ibm rpqs. However, as the rpq settings interact to a great extent, it is recommended that yo...

  • Page 26

    3270 programmer’s guide ibm related functions - 26 - • 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" note: irq caused by printer deselect (y46, value 2, ho...

  • Page 27: 5. Serial Input

    3270 programmer’s guide serial input - 27 - 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. For this connection you need a spa...

  • Page 28: 6. Printer Sharing

    3270 programmer’s guide printer sharing - 28 - 6. Printer sharing the 3270 converter enables printer sharing between the system and a pc. For this purpose it is possible to specify a timeout period. If, for example, the printer is receiving input on the parallel port and there is a break in the tran...

  • Page 29: 7.1. The User Strings

    3270 programmer’s guide translate tables - 29 - 7. Printer initialization by user strings this chapter covers the facilities of the converter activated by simple commands and related to special fsl functions. The fsl functions and the converter commands are grouped according to their tasks. 7.1. The...

  • Page 30: 7.1.1. User String As Input

    3270 programmer’s guide translate tables - 30 - been programmed, you only need to enter 3 characters in the data- stream to send the user string to your printer. %z sending user string under host control several functions relate to the user string facility. Among these func- tions are: • function y6...

  • Page 31

    3270 programmer’s guide translate tables - 31 - here, 1a, 'abcd' will exchange future occurences of escape 1a with abcd. The rest of the sequence (:8f,'%y2,8%') will exchange future occurences of escape 8f with %y2,8% (to select 8 lpi). As there are differences between the printer drivers in connec ...

  • Page 32: Appendix A: Rs 232/v24 Cable

    3270 programmer’s guide appendix a - 32 - appendix a: rs 232/v24 cable connection (serial support) using the serial port the following connections are available in the serial plug: pin 1 nc pin 2 rx data pin 3 tx data pin 4 dtr pin 5 gnd (signal) pin 6 dsr (busy) pin 7 rts (always high) pin 8 cts pi...

  • Page 33

    3270 programmer’s guide appendix b - 33 - appendix b: list of abbreviations apl a programming language ascii american standard code of information interchange apo automatic page orientation cpi characters per inch cr carriage retu rn cor computer output reduction dsc 3270 information display system ...

  • Page 34: Index

    3270 programmer’s guide index - 34 - index —a— abbreviations (list of), 33 access (restricting), 21 apostrophe notation, 15 —f— fsl printer driver, 6 function selection via the line, 10 apostrophe notation, 15 defining permanent esc character, 13 esc character, 10 removing permanent esc character, 1...