home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / CLIPPER / PPP.ZIP / PPP.CH < prev    next >
Text File  |  1994-03-21  |  4KB  |  116 lines

  1. /*
  2.  
  3.     P O W E R   P A C K E D   P R I N T O U T S
  4.     Copyright (c) 1994
  5.     Stephen L. Woolstenhulme
  6.     All Rights Reserved
  7.  
  8.     CIS:  73060,1302
  9.  
  10. */
  11.  
  12. // PPP.CH:   header defines for PPP.PRG.
  13.  
  14. #define B_SOLID_TOP  ( CHR(223) + CHR(223) + CHR(223) + CHR(32) + ;
  15.                        CHR(32 ) + CHR(32 ) + CHR(32 ) + CHR(32) + CHR(32) )
  16.  
  17. /*
  18. Manifest Constant      Value   Description                 Default Value
  19. ====================== =====   ==========================  ==================
  20. */
  21. #define PPP_INITIALIZE   1  // Reset all values to         .t.
  22.                             // factory defaults.  
  23.  
  24. #define PPP_TITLE        2  // Report title, for box       Report Printer
  25.                             // headings, etc.
  26.  
  27. #define PPP_TEMPFILE     3  // Temp file (deleted when     ____nnnn.TMP
  28.                             // done).
  29.  
  30. #define PPP_PRNINIT      4  // Lotus-style printer         \027&k2S
  31.                             // initialization string.
  32.  
  33. #define PPP_PRNRESET     5  // Lotus-style printer         \027E
  34.                             // initialization string.
  35.  
  36. #define PPP_CLRTOPROW    6  // Top row to clear.            0
  37.  
  38. #define PPP_CLRLEFTCOL   7  // Left column to clear.        0
  39.  
  40. #define PPP_CLRBOTROW    8  // Bottom row to clear.        maxrow()
  41.  
  42. #define PPP_CLRRIGHTCOL  9  // Right column to clear.      maxcol()
  43.  
  44. #define PPP_COLORFORE   10  // Color settings for          'w+/b, n/w, , , w/n'
  45.                             // message boxes.                         
  46.  
  47. #define PPP_COLORBACK   11  // Color settings for          'w+/rb, n/w, , , w/n'
  48.                             // screen background.                      
  49.  
  50. #define PPP_BOXTYPE     12  // Box frame style.             B_SOLID_TOP.
  51.  
  52. #define PPP_PRINTLINES  13  // Number of lines to print     56
  53.                             // before a form feed.
  54.  
  55. #define PPP_PAGENUMBER  14  // Starting page number.        0
  56.  
  57. #define PPP_LINENUMBER  15  // Current line.  Compares      0
  58.                             // to PRINTLINES.
  59.  
  60. #define PPP_PAGEHEAD    16  // Array of text centered      { '', '', '', '' }
  61.                             // at top of each page.
  62.  
  63. #define PPP_COLUMNHEAD  17  // Array of text placed        { '', '', '' }
  64.                             // under PAGEHEAD.
  65.  
  66. #define PPP_COLUMNSPACE 18  // Space between columns if     2
  67.                             // sending multiple elements.
  68.  
  69. #define PPP_REPORTID    19  // Text to appear under         ''
  70.                             // the PAGENUMBER.
  71.  
  72. #define PPP_DATEPAGE    20  // Logical. TRUE prints         .t.
  73.                             // date and time.          
  74.  
  75. #define PPP_TIMEIDNO    21  // Logical. TRUE prints         .t.
  76.                             // page number and report I.D.
  77.  
  78. #define PPP_DESTINATION 22  // S:Screen;  P:Printer;         E
  79.                             // F:File;  E:Exit/Abort
  80.  
  81. #define PPP_PRNPORT     23  // Output port/filename.        LPT1
  82.  
  83. #define PPP_FIELDWIDTH  24  // Widest line of report.       132
  84.  
  85. #define PPP_PAGECENTER  25  // Logical.  TRUE to            .t.
  86.                             // center report on page.
  87.  
  88. #define PPP_COPIES      26  // Copies to print.              1
  89.  
  90. #define PPP_FOOTER      27  // Use column head as           .t.
  91.                             // footer at end of report?
  92.  
  93. #define PPP_ACTUALLINE  28  // Used to fill line number      0
  94.                             // field as report prints.
  95.  
  96. #define PPP_FILTERCODES 29  // Filter lines with print      .f.
  97.                             // codes.
  98.  
  99. #define PPP_DESPOOL     30  // .t. To print immediately,    .f.
  100.                             // or .f. to wait to print 
  101.                             // until entire report is
  102.                             // generated.  Only applies if
  103.                             // PPP_DESTINATION == 'P'
  104.  
  105.  
  106. #define PPP_ITEMDATA     1  // The data element when xItem is a multi-dim
  107.                             // array.
  108.  
  109. #define PPP_ITEMLEFTSTR  2  // A string to prepend on the left of PPP_ITEMDATA.
  110.  
  111. #define PPP_ITEMWIDTH    3  // ITEMDATA will be padr()'ed to this length.
  112.  
  113. #define PPP_ITEMPICTURE  4  // ITEMDATA will be transform()'ed with this picture.
  114.  
  115. #define PPP_ITEMRIGHTSTR 5  // A string to append on the right of PPP_ITEMDATA.
  116.