home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
clarion
/
control.zip
/
CONTROL.COM
/
CONTROL0.CLA
next >
Wrap
Text File
|
1988-09-24
|
3KB
|
104 lines
CONTROLS PROGRAM
MAP
MODULE('CONTROL1')
PROC(MAIN_MENU)
.
MODULE('CONTROL2')
PROC(CHOOSE)
.
MODULE('CONTROL3')
PROC(UPDATEPRT)
.
MODULE('CONTROL4')
PROC(PRINTIT)
.
MODULE('CONTROL5')
PROC(SCROLLIT)
.
.
INCLUDE('\CLARION\STD_KEYS')
INCLUDE('\CLARION\CTL_KEYS')
ENTER EQUATE(1)
CHANGE EQUATE(2)
REMOVE EQUATE(3)
ARSINFO FILE,NAME('C:\MJADATA\ARSINFO'),PRE(INF),RECLAIM
RECORD RECORD
CO_RPT STRING(60) !Company Report Name
CO_DISP STRING(30) !Company Display Name
CO_ADDR1 STRING(30) !Company Address Line 1
CO_ADDR2 STRING(30) !Company Address Line 2
CO_CITY STRING(25) !Company City
CO_STATE STRING(2) !Company State
CO_ZIP LONG !Company Zip Code
CO_PHONE STRING(12) !Company Phone Number
PROFIT_CTR STRING(1) !Are Profit Centers Used?
PRINTER STRING(40) !Printer Name
PRINTER_TYPE STRING(1) !How Wide is the Printer?
. .
PRTFILE FILE,NAME('C:\MJADATA\PRTFILE.DAT'),CREATE,RECLAIM,PROTECT
OWNER('MjamesA'),ENCRYPT
PRTKEY KEY(PRINTER,DESCRIP) !PRINTER KEY
RECORD RECORD
KEYGRP GROUP !KEY GROUP
PRINTER STRING(8) ! PRINTER CODE
DESCRIP STRING(25) ! FULL DESCRIPTION OF PRINTER
. !END KEY GROUP
CODEGRP GROUP !CODE GROUP
DPPRNT STRING(5) ! DATA PROCESSING MODE ON
LQPRNT STRING(5) ! LETTER QUALITY MODE ON
DWON STRING(5) ! DOUBLE WIDE ON
DWOFF STRING(5) ! DOUBLE WIDE OFF
DHON STRING(5) ! DOUBLE HIGH ON
DHOFF STRING(5) ! DOUBLE HIGH OFF
ULON STRING(5) ! UNDERLINE ON
ULOFF STRING(5) ! UNDERLINE OFF
BOLDON STRING(5) ! BOLDFACE ON
BOLDOFF STRING(5) ! BOLDFACE OFF
OVERON STRING(5) ! OVERSTRIKE ON
OVEROFF STRING(5) ! OVERSTRIKE OFF
SUPERON STRING(5) ! SUPERSCRIPT ON
SUBON STRING(5) ! SUBSCRIPT ON
SSOFF STRING(5) ! SUPER/SUBSCRIPT OFF
ITLICON STRING(5) ! ITALICS ON
ITLICOFF STRING(5) ! ITALICS OFF
CPI10 STRING(5) ! 10 CHARACTERS PER INCH(PICA)
CPI12 STRING(5) ! 12 CHARACTERS PER INCH(ELITE)
CPI17 STRING(5) ! CONDENSED MODE
CPI17CANCEL STRING(5) ! CANCEL CONDENSED MODE
BACKSPC STRING(5) ! BACKSPACE CHARACTER
LINEFD STRING(5) ! LINEFEED
FORMFD STRING(5) ! FORMFEED
CR STRING(5) ! CARRIAGE RETURN
MODELFCR STRING(5) ! EACH LF = LF+CR
MODELF STRING(5) ! LF ONLY, NO CR
MODECR STRING(5) ! CR ONLY, NO LF
MODECRLF STRING(5) ! EACH CR = CR+LF
UNIDIREC STRING(5) ! UNIDERECTIONAL PRINT ONLY
BIDIREC STRING(5) ! BIDIRECTIONAL PRINTING
RESET STRING(5) ! PRINTER RESET
DUMMY1 STRING(5) !
DUMMY2 STRING(5) !
DUMMY3 STRING(5) ! RESERVED FOR FUTURE
DUMMY4 STRING(5) ! USE
DUMMY5 STRING(5) !
DUMMY6 STRING(5) !
REVPRT STRING(5) ! REVERSE PRINT
CANREVPRT STRING(5) ! CANCEL REVERSE PRINT
. . . !END FILE, RECORD, GROUP
PRTCODE STRING(5),DIM(40),OVER(CODEGRP) !REDECLARES RECORD AS ARRAY
PSELECT STRING(28) !HOLD AREA FOR SELECTED PRINTER
CODE
HELP('CONTROLS') !OPEN THE HELP FILE
OPEN(PRTFILE) !OPEN THE FILE (SO RECS WORKS)
IF ERROR()
CREATE(PRTFILE).
MAIN_MENU