Standard Library
CSDisCreate Class
An instance of this class is used by an application to create a Standard Display text file. This class is normally instantiated by a call to the SDIS$O COBOL function. The following public member functions are available to the C++ programmer:
01 PAGE-HEADER. 03 PH-LPI PIC 99. (Lines per inch) 03 PH-TOP PIC 99. (Top Margin in lines) 03 PH-LENGTH PIC 999. (Page length in lines) 03 PH-CPI PIC 99. (Characters per inch) 03 PH-LEFT PIC 99. (Left Margin in characters) 03 PH-WIDTH PIC 999. (Line width in characters)
H: | Header Line, single space; data packets follow | |
I: | Header Line, double space; data packets follow | |
0: | Overstrike; data packets follow | |
1: | Single Space; data packets follow | |
2: | Double Space; data packets follow | |
3: | Triple Space; data packets follow | |
4: | Three blank lines; data packets follow | |
5: | Four blank lines; data packets follow | |
6: | Five blank lines; data packets follow | |
7: | Six blank lines; data packets follow | |
8: | Seven blank lines; data packets follow | |
9: | Eight blank lines; data packets follow |
01 PRINT-PACKET. 03 PP-HEADER. 05 PPH-LPI PIC 99. (Lines per Inch) 05 PPH-CPI PIC 99. (Characters per Inch) 05 PPH-TAB PIC 999. (Tab Stop) 05 PPH-TYPE PIC X. (Type Flag) 05 PPH-STYLE PIC X. (Style Flag) 05 PPH-LENGTH PIC 999. (Length) 03 PP-DATA PIC X(n). (Data Area)PPH-TYPE is as follows:
L: | Left-justified text (Tab Stop is the left side of the text) | |
R: | Right-justified text (Tab Stop is the right side of the text) | |
C: | Centered text (Tab Stop is the center of the text) | |
P: | Page number | |
H: | Horizontal line | |
V: | Vertical line | |
U: | Underline | |
B: | Box, lines only | |
A: | Heading cap, lines only | |
S: | Shaded box, no outline | |
O: | Outlined, shaded box |
F: | Fixed pitch | |
P: | Proportional space | |
D: | Double size characters |
C: | The output file is closed | |
O: | The output file is opened | |
S: | Output to the file is started | |
P: | A page is started | |
L: | A line is started |
[ CBinaryFile
| TCommandLineInfo
| CCommaFile
| TDateCtrl
| CDDE
| CDdeClient
| CDdeServer
]
[ CDirectoryLocator
| CDirectoryDialog
| CDirectoryFind
| CDirectoryNew
| CFileCopy
| TFrameWnd
]
[ InterfaceExcel
| CMaintFn
| CPrintFile
| CProcDialog
| TPrintDialog
| CProcPropertyPage
]
[ CProgress
| CRegistry
| CSDisFile
| CSDisPage
| CSDisView
| CTableFile
]
[ CTaskIcon
| TPresent
| TTime
| TDate
| TDateTime
| CTransferData
| TWinApp
| CXlTable
]
[ Stand-alone Programs
| Standard Library
| Conversion Functions
| Utility Functions
| COBOL Functions
]
[ Windows NT Library
| COBOL Library
| COBOL Interface
| Command Prompt Abbreviations
| Purchase Instructions
]
[ Home
| Areas of Expertise
| "We Do Windows"
| Clients and Projects
| Software Samples
| Package Software Available
]
[ Contact Information
| Business Software Philosophy
| Church Software Philosophy
]
All contents of this web site are Copyright © Titus Information Systems,
Inc., Phoenix, Arizona, U.S.A.