home *** CD-ROM | disk | FTP | other *** search
- OKIBAR Version 1.2 James Bumgardner 07/88
- (Previously OKIGRAPH) 818-846-7781
-
- This program may be copied, used, treasured, thrown away, or mutilated at
- will - but please distribute with the source code!
-
- ------------------------------------------------------------------------------
- Cheap Plug: The most recent version of this program, and all my other
- Laser Printing programs can be found at
-
- Cooper Works BBS 1-608-271-3685
-
- This board also happens to have the best collection of Laser Printing software
- I've seen.
- -------------------------------------------------------------------------------
-
- This archive should contain:
-
- OKIBAR.DOC This file
- OKIBAR.EXE The executable
- OKIBAR.C The Source
- SAMPLE.DAT A Sample Bar Graph Text File
-
- OKIBAR prints bar graphs in about 10-30 seconds on HP Laserjet+ laser
- printers and compatables, it was written specifically for an Okidata
- Laserline 6, thus it's name. You'll get good results on most Laserjet
- compatables, although you may need to download some fonts.
-
- The source code is for Turbo C, but is pretty portable; I got it
- running on a VAX without any major modifiations.
-
- To use OKIBAR, you must first set up a text file which has the data in it.
- Then you use the command:
-
- C> OKIBAR datafile >LPT1 for printer one
-
- or
-
- C> OKIBAR datafile >LPT2 for printer two
-
- OKIBAR will output to the console if you don't redirect it with the > symbol.
-
- Here is a sample data file:
-
- ; Title
- TI Sample Graph March 1st 1987
- ;
- ; Lines printer across the graph
- LINES
- ;
- ; 3d effect
- SHADOWS
- ;
- ; Legends which indicate what the bars mean
- L Big Ones
- L Little Lones
- ;
- ; Data for each group of bars
- 1234 234 Jan
- 1234 456 Feb
- 3456 234 Mar
- ;
- ; end of file
-
-
- Here's a list of all the OKIBAR commands. You only need to specify the
- first two letters of each command.
-
-
- OKIBAR Command Meaning
- -------------- -------
- ; Comment
-
- LAser Literal text to be sent to Laser printer.
- Use caret to specify ctrl chars
- (e.g. ^[ = ESC ^M = RETURN)
-
- TItle text Title to be printer at top of page
-
- LMargin ## Left Margin in 1/720 inches
-
- LDivision ## How many legends per line. If not
- specified, OKIBAR will guess.
-
- SHadow 3d Style Shadows, good for thick bars.
-
- DArken 3d Style Darkened Edges, better for thin bars.
-
- DOllars Put dollar signs in front of numbers.
-
- LInes Draw lines across graphs for each numeric
- division on Y-Axis
-
- COmbine Combine Patterned and Shaded Bars. (Normally
- OKIBAR just uses Patterned bars.
-
- REduce Squeeze graph so it can be copied in Landscape
- Mode.
-
- BIg numbers Don't abbreviate large numbers
-
- NOround Don't round up to next highest big number.
- If maximum number is 9050, OKIBAR will normally
- set top of graph to 10000. This prevents that.
-
-
-
-
-
- ** End of Documentation **