home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
CLIPPER
/
PPP.ZIP
/
PPP.CH
< prev
next >
Wrap
Text File
|
1994-03-21
|
4KB
|
116 lines
/*
P O W E R P A C K E D P R I N T O U T S
Copyright (c) 1994
Stephen L. Woolstenhulme
All Rights Reserved
CIS: 73060,1302
*/
// PPP.CH: header defines for PPP.PRG.
#define B_SOLID_TOP ( CHR(223) + CHR(223) + CHR(223) + CHR(32) + ;
CHR(32 ) + CHR(32 ) + CHR(32 ) + CHR(32) + CHR(32) )
/*
Manifest Constant Value Description Default Value
====================== ===== ========================== ==================
*/
#define PPP_INITIALIZE 1 // Reset all values to .t.
// factory defaults.
#define PPP_TITLE 2 // Report title, for box Report Printer
// headings, etc.
#define PPP_TEMPFILE 3 // Temp file (deleted when ____nnnn.TMP
// done).
#define PPP_PRNINIT 4 // Lotus-style printer \027&k2S
// initialization string.
#define PPP_PRNRESET 5 // Lotus-style printer \027E
// initialization string.
#define PPP_CLRTOPROW 6 // Top row to clear. 0
#define PPP_CLRLEFTCOL 7 // Left column to clear. 0
#define PPP_CLRBOTROW 8 // Bottom row to clear. maxrow()
#define PPP_CLRRIGHTCOL 9 // Right column to clear. maxcol()
#define PPP_COLORFORE 10 // Color settings for 'w+/b, n/w, , , w/n'
// message boxes.
#define PPP_COLORBACK 11 // Color settings for 'w+/rb, n/w, , , w/n'
// screen background.
#define PPP_BOXTYPE 12 // Box frame style. B_SOLID_TOP.
#define PPP_PRINTLINES 13 // Number of lines to print 56
// before a form feed.
#define PPP_PAGENUMBER 14 // Starting page number. 0
#define PPP_LINENUMBER 15 // Current line. Compares 0
// to PRINTLINES.
#define PPP_PAGEHEAD 16 // Array of text centered { '', '', '', '' }
// at top of each page.
#define PPP_COLUMNHEAD 17 // Array of text placed { '', '', '' }
// under PAGEHEAD.
#define PPP_COLUMNSPACE 18 // Space between columns if 2
// sending multiple elements.
#define PPP_REPORTID 19 // Text to appear under ''
// the PAGENUMBER.
#define PPP_DATEPAGE 20 // Logical. TRUE prints .t.
// date and time.
#define PPP_TIMEIDNO 21 // Logical. TRUE prints .t.
// page number and report I.D.
#define PPP_DESTINATION 22 // S:Screen; P:Printer; E
// F:File; E:Exit/Abort
#define PPP_PRNPORT 23 // Output port/filename. LPT1
#define PPP_FIELDWIDTH 24 // Widest line of report. 132
#define PPP_PAGECENTER 25 // Logical. TRUE to .t.
// center report on page.
#define PPP_COPIES 26 // Copies to print. 1
#define PPP_FOOTER 27 // Use column head as .t.
// footer at end of report?
#define PPP_ACTUALLINE 28 // Used to fill line number 0
// field as report prints.
#define PPP_FILTERCODES 29 // Filter lines with print .f.
// codes.
#define PPP_DESPOOL 30 // .t. To print immediately, .f.
// or .f. to wait to print
// until entire report is
// generated. Only applies if
// PPP_DESTINATION == 'P'
#define PPP_ITEMDATA 1 // The data element when xItem is a multi-dim
// array.
#define PPP_ITEMLEFTSTR 2 // A string to prepend on the left of PPP_ITEMDATA.
#define PPP_ITEMWIDTH 3 // ITEMDATA will be padr()'ed to this length.
#define PPP_ITEMPICTURE 4 // ITEMDATA will be transform()'ed with this picture.
#define PPP_ITEMRIGHTSTR 5 // A string to append on the right of PPP_ITEMDATA.