13.07.2015 Views

IBM 5280 Distributed Data System - Index of

IBM 5280 Distributed Data System - Index of

IBM 5280 Distributed Data System - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix B. SCS Control CharactersPrinter formatting can be accomplished via an assembler or DE/RPG program orvia communications. To use the SCS characters supported by communications,see the description under the desired communications access method: SNA, BSC,or MRJE. To use an assembler or DE/RPG program to format your printed output,code these following SCS characters that your 5256 or 5225 printer supports.Code the control characters in the printer output data stream intended for theprinter. The format <strong>of</strong> the data stream is:CC <strong>Data</strong> CC <strong>Data</strong> CC <strong>Data</strong>where CC is the control characters.The following table describes the general functions provided by the printer controlcharacters. A detailed description <strong>of</strong> each control character follows the table.SCS ControlCharacter Hex Code FunctionBell 2F Bell; sound bell on printerCR OD Carrier returnFF DC Forms feedFmt 2B ... Format2BC1nnhh Horizontal (SHF)2BC2nnvv Vertical (SVF)2BC8nngguu Graphic error (SGEA)IRS 1E Interchange record separatorLF 25 Line feedNL 15 Next lineNUL 00 No operationPP 34 ... Print position34COnnHorizontal absolute34C8nnHorizontal relative34C4nnVertical absolute344CnnVertical relativeSCS Control Characters 339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!