I-Data FS 250 PDS instruction manual Programming ida FS 250 non-IPDS, Escape Character

Page 28

Programming via Shareport ida FS 250, Operator's Guide

8. Programming ida FS 250 - non-IPDS

The ida FS 250 works using a large number of internal Setup Functions (FSL Functions). FSL setup functions can be sent either from your IBM system or from a PC.

When the protocol converter has been installed and connected to a printer, you may have to consider the use of these setup options.

The factory default setup will meet the demands of most host systems and users, and special programming is therefore normally not required.

However, special circumstances may require changes in the pro gramming of the box. For full details on this please see the "5250 Programmer's Guide; D62079". In the Programmer's Guide you will find an extensive description of the FSL Functions with notes, comments and examples.

NOTE:

This section is a brief description of how to set up the interface with FSL functions from the line. The section is primarily aimed at users who are already familiar withi-dataproducts.

8.1 The Escape Character

No escape character is defined when you receive the ida FS 250 from the factory. When you send FSL Functions via the data stream, the functions must be "separated" from the data stream, so that they are not printed. For this you need to define an Escape (ESC) Character.

The ESC Character tells the interface that the characters following the ESC Character in the data stream are to be regarded as a command. The command string must also end with the ESC Character .

Before you define the ESC Character please note the following:

Once the ESC character has been defined, it cannot be printed. For this reason you must select a character which will not normally appear in the data stream. If the character defined appears elsewhere in the data stream (i.e. outside an FSL Function), the interface will regard it as an ESC character and you will get a syntax error.

However, you need not have an ESC Character defined all the time. When it has served its purpose you can remove it again.

-28-

Image 28 Contents
EMC directive TrademarksAbout i-data Preface Related ManualsSeptember Ida FS 250 PDSTable of Contents Ida FS 250, Operators Guide Table of Contents Table of Contents Ida FS 250, Operators Guide Kit Contents Ida FS 250 Product Features Introduction to ida FSIntroduction to ida FS Non-IPDSSupported Control Units IpdsInstallation Requirements Pre-Installation RequirementsEnvironment requirements National Language SelectionPaper Size EU/US ??%Y8,number of new language% selects language Option DescriptionRear Panel Installation and Connections of the ida FSSerial input Twinax Connector Via the Address Switch EmulationVia the Line Non-IPDS Selection Emulation%Y37,5224% Y37,3812%Upgrading to Ipds Y37,n1 Write EmulationConnecting the ida FS 250 to the Printer Connecting via Centronics outputConnecting via RS-232 output Connecting the ida FS 250 to System What if the CU Indicator fails to turn on?Testing Test via the address switchTimeout Ida FS 250 top panel Operation of ida FSPAR Parallel input Ready Printer Ready SER Serial input/outputState Indication Specifying Share Timeout and String Timeout string must be written in ONE line see example belowPage IdaSetup Ipds Programming IRQ Handling PrinterProgramming ida FS 250 non-IPDS Escape CharacterRecovery Defining a Temporary Escape CharacterSyntax of an FSL Function Invalid Escape CharacterSetup Functions supported PCL Mode DescriptionWhere % is the defined ESC character ESC FeaturesNo. Description Quick Reference Guide of Supported FSL Functions Name Syntax Parameters = COR N1 Physical paper Name Syntax Parameters Ipds String Ebcdic Name Syntax Parameters IBM Gfid APO Eeprom Programming via Shareport Activating the Y249 Engineering FunctionUpdating firmware Escape sequences must be in HEXIda FS 250 Error Messages Errors and RecoveryTwo Devices with Same Address Appendix a Use of ida FS 250 Serial Port Appendix B Test Printout Appendix C Default Gfid Table Symbol SET and Translate TableIBM Gfid Style Strokeweight Scalable FontsOnly applies to printers running PCL Level Typeface PCL No Name of TypefaceFont examples Appendix D i-data Product Platform IpdsSoftware Index Programmers GuideReaders Comments