home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / LASER / OKIBAR.ZIP / OKIBAR.DOC < prev    next >
Encoding:
Text File  |  1988-07-18  |  3.1 KB  |  111 lines

  1. OKIBAR Version 1.2                              James Bumgardner 07/88
  2. (Previously OKIGRAPH)                                818-846-7781
  3.  
  4. This program may be copied, used, treasured, thrown away, or mutilated at
  5. will - but please distribute with the source code!
  6.  
  7. ------------------------------------------------------------------------------
  8. Cheap Plug: The most recent version of this program, and all my other
  9. Laser Printing programs can be found at
  10.  
  11.                Cooper Works BBS     1-608-271-3685
  12.  
  13. This board also happens to have the best collection of Laser Printing software
  14. I've seen.
  15. -------------------------------------------------------------------------------
  16.  
  17. This archive should contain:
  18.  
  19.         OKIBAR.DOC        This file
  20.         OKIBAR.EXE        The executable
  21.         OKIBAR.C        The Source
  22.         SAMPLE.DAT        A Sample Bar Graph Text File
  23.  
  24. OKIBAR prints bar graphs in about 10-30 seconds on HP Laserjet+ laser
  25. printers and compatables, it was written specifically for an Okidata
  26. Laserline 6, thus it's name.  You'll get good results on most Laserjet
  27. compatables, although you may need to download some fonts. 
  28.  
  29. The source code is for Turbo C, but is pretty portable;  I got it
  30. running on a VAX without any major modifiations.
  31.  
  32. To use OKIBAR, you must first set up a text file which has the data in it.
  33. Then you use the command:
  34.  
  35.     C> OKIBAR datafile >LPT1            for printer one
  36.  
  37.         or
  38.  
  39.     C> OKIBAR datafile >LPT2            for printer two
  40.  
  41. OKIBAR will output to the console if you don't redirect it with the > symbol.
  42.  
  43. Here is a sample data file:
  44.  
  45. ; Title
  46. TI Sample Graph                              March 1st 1987
  47. ;
  48. ; Lines printer across the graph
  49. LINES
  50. ;
  51. ; 3d effect
  52. SHADOWS
  53. ;
  54. ; Legends which indicate what the bars mean
  55. L Big Ones
  56. L Little Lones
  57. ;
  58. ; Data for each group of bars
  59. 1234 234 Jan
  60. 1234 456 Feb
  61. 3456 234 Mar
  62. ;
  63. ; end of file
  64.  
  65.  
  66. Here's a list of all the OKIBAR commands.  You only need to specify the
  67. first two letters of each command.
  68.  
  69.  
  70. OKIBAR Command                  Meaning
  71. --------------                  -------
  72. ;                               Comment
  73.  
  74. LAser                           Literal text to be sent to Laser printer.
  75.                                 Use caret to specify ctrl chars
  76.                 (e.g. ^[ = ESC  ^M = RETURN)
  77.  
  78. TItle text            Title to be printer at top of page
  79.  
  80. LMargin ##            Left Margin in 1/720 inches
  81.  
  82. LDivision ##            How many legends per line.  If not
  83.                 specified, OKIBAR will guess.
  84.  
  85. SHadow                3d Style Shadows, good for thick bars.
  86.  
  87. DArken                3d Style Darkened Edges, better for thin bars.
  88.  
  89. DOllars                Put dollar signs in front of numbers.
  90.  
  91. LInes                Draw lines across graphs for each numeric
  92.                 division on Y-Axis
  93.  
  94. COmbine                Combine Patterned and Shaded Bars.  (Normally
  95.                 OKIBAR just uses Patterned bars.
  96.  
  97. REduce                Squeeze graph so it can be copied in Landscape
  98.                 Mode.
  99.  
  100. BIg numbers            Don't abbreviate large numbers
  101.  
  102. NOround                Don't round up to next highest big number.
  103.                 If maximum number is 9050, OKIBAR will normally
  104.                 set top of graph to 10000.  This prevents that.
  105.  
  106.  
  107.  
  108.  
  109.  
  110. ** End of Documentation **
  111.