home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- ╔═╗╔══╔╦╗ ╦╔══╔╦╗══════════════════════════╗
- ╠╦╝╠═ ║║║ ║╠═ ║║║ Robert E. Mason ║
- ║╚═╚══║╩╚╚═╝╚══║╩╚ 5360 Sideburn Rd. ║
- ║ SOFTWARE ─╥ Fairfax, VA 22032 ║
- ║ ▀▀▀▀▀▀▀▀ ║ (703) 250-2654 ║
- ╚════════════════╩══════════════════════════╝
-
- STARGEN
-
- V-1.0
-
- COPYRIGHT 1987 REMJEM SOFTWARE
-
- A Download Character Generator for the Star NX-10/15.
-
- Written by:
-
- Robert E. Mason
- 5360 Sideburn Rd.
- Fairfax, VA 22032
-
-
- This program is offered as "ShareWare" and, as such, may be freely
- copied and distributed for personal use. A donation of $5.00 is
- requested to help support the operation of REMJEM Software. Our
- products are all of the ShareWare type and will continue that way as
- long as we can afford it. Reciept of your donation will make you a
- registered user and we will forward you the source code.
-
- STARGEN was written in April, 1987 in GWBASIC and compiled with
- MicroSoft's QuickBASIC 2.0. The two opening screens were composed
- using Drew Olbrich's ANSIPAINT and saved using the BSAVE option.
-
-
- HARDWARE REQUIREMENTS
-
- IBM PC/XT/AT or close compatible with:
-
- Color Graphics or Enhanced Graphics adapter
- that will run programs written for the CGA.
-
- Color monitor optional but recommended.
-
- At least 128 K of free memory.
-
- Hard disk desirable but not necessary.
-
- Of course, a Star NX-10 or NX-15 printer.
-
-
- PAGE 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ╔══════════════════════════════════════════════════════════════════════╗
- ║ TABLE OF CONTENTS █ ║
- ║ █ ║
- ║ ╔═╗╔══╔╦╗ ╦╔══╔╦╗ █ 1. WHAT STARGEN DOES ..................... 3 ║
- ║ ╠╦╝╠═ ║║║ ║╠═ ║║║ █ ║
- ║ ║╚═╚══║╩╚╚═╝╚══║╩╚ █ 2. INSTALLING STARGEN .................... 4 ║
- ║ ║ SOFTWARE ─╥ █ ║
- ║ ╚════════════════╝ █ 3. STARGEN DIRECTORY/DRIVE SUPPORT ....... 5 ║
- ║ █ ║
- ║ █ 4. DEFINING CHARACTERS ................... 5 ║
- ║ 5360 Sideburn Rd. █ ║
- ║ Fairfax, VA 22032 █ 5. DOWNLOADING FONT (.DNL) FILES ......... 6 ║
- ║ ┌──────────────┐ █ ║
- ║ │(703) 250-2654│ █ 6. USING BLOCK GRAPHICS CHARACTERS ....... 7 ║
- ║ └──────────────┘ █ ║
- ╟ Help Support the █ 7. CHECKING YOUR OUTPUT .................. 7 ║
- ║ ShareWare Market. █ ║
- ║ █ ║
- ║ █ ║
- ╚══════════════════════════════════════════════════════════════════════╝
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PAGE 2
-
-
- 1. WHAT STARGEN DOES
-
- The Star NX-10 and its bigger brother, the NX-15, are great
- printers for the money. The low cost, coupled with the many
- features provided and the quality of the printed output have
- made these printers two of the most popular sellers in a
- very crowded market.
-
- The NX-10, (Hereafter, when I refer to the NX-10, I am also
- talking about the NX-15), has the capability to print out a
- complete set of "user-defined" characters, both in the draft
- and letter-quality modes. Unfortunately, it is an extremely
- tedious task to define and download your desired characters
- if the directions given in the instructions are followed to
- the letter. If you are an NX-10 owner, (and you probably
- wouldn't be reading this if you weren't), this powerful
- feature has likely gone unused due to the complexity of the
- process. STARGEN can open up this feature to the user who
- is reluctant to spend the inordinate amount of time to
- manually define downloadable characters. If you are like
- me, you'll find it fun instead of a chore.
-
- STARGEN supports creation and modification of all the
- printable characters on the NX-10 in the NLQ mode. I tried
- making characters in the draft modes and found the results
- somewhat unsatisfactory. The draft modes only support char-
- acters that can be defined in an 8 high by 11 wide pixel
- grid with an additional limitation that no two of the
- horizontal dots can be placed next to each other. The user
- manual infers that the same limitation (on horizontal dot
- placement) is true for the NLQ mode. DON'T YOU BELIEVE IT!
- The NLQ mode will accept and print a full 16-high by 11-wide
- character grid with ALL of the dots printing if you define
- them that way. Take a good look at the print from the
- normal NLQ characters. Most have adjacent horizontal dots.
-
- STARGEN allows easy definition of characters and creates a
- file on your disk drive that may be downloaded, from the DOS
- level, with a simple "TYPE" command. STARGEN is fully
- menu-driven and contains many error-checking features to
- assure good, usable output files.
-
-
-
-
-
-
-
-
-
-
-
-
- PAGE 3
-
-
- 2. INSTALLING STARGEN
-
- Downloading characters to the NX-10 requires that Dip Switch 2-1
- be set to the OFF position. The disadvantage of this is that
- you lose the large print buffer normally in the printer, and
- revert to a one-line buffer. Since the dip switches are
- somewhat difficult to access, you are faced with the choice of
- having a large buffer or being able to download special
- character sets. There is an advantage to a one-line buffer,
- however. Programs that print large files in the NLQ or bold
- print mode will not suffer DOS time-outs due to the buffer
- filling up. (It seems that the NX-10 waits until the buffer is
- significantly emptied before accepting more characters. This
- can cause time-outs in some operations when the printer is in
- one of the slow-printing modes.)
-
- STARGEN requires no special installation procedures. It is
- recommended, however, that if you install it on your hard disk,
- it occupy a directory (or subdirectory) of its own. After
- defining several font files, locating a particular file among 30
- or 40 other unrelated files could be unproductive. It is also
- recommended that a batch file be constructed in your root
- directory to call STARGEN automatically. Do this by entering
- (at the DOS level) the following:
-
- COPY CON SG.BAT (Press RETURN after each line.)
- ECHO OFF (Optional)
- CD\STARGEN (or other directory name you want.)
- STARGEN^Z (Press F6 to bring up the "^Z".
- This is the END-OF-FILE mark that
- DOS needs to save the SG.BAT file
- to your root directory. Press
- RETURN and the BAT file will be
- saved.)
-
- Be sure that the two .SCN files: STARGEN1 and STARGEN2 are in
- the same directory as STARGEN.EXE.
-
- STARGEN will also run from a floppy disk drive. Again, be sure
- that both .SCN files are on the same floppy disk.
-
- STARGEN is totally menu-driven. That is, every step in the
- process of building your font file is accompanied by a menu of
- choices to proceed to the next step. The only exceptions are:
-
- If you do not have ANSI.SYS called up in your CONFIG.SYS
- file (DEVICE=ANSI.SYS), the opening screen, which normally
- flashes "PRESS ANY KEY TO CONTINUE" will not be visible.
- Just press a key and the second screen will come up.
-
-
-
-
- PAGE 4
-
-
- 3. STARGEN DIRECTORY/DRIVE SUPPORT
-
- STARGEN supports multiple drives and/or directories. If a file
- name is specified with drive and/or directory prefixes, the
- program will automatically go to those directories to load or
- save your font (.DNL) file. To load or save font files to the
- default directory (or drive), just enter the name of your file,
- without an extender, at the prompt as:
-
- FILENAME ( File will be loaded or saved in
- default drive and directory.)
-
- If you wish to load or save a font file to a different drive or
- directory, enter the file name as:
-
- A:FILENAME ( Loads or saves file to default
- directory in A: drive.)
-
- \FONTS\FILENAME ( Loads or saves file to a directory on
- the default drive named: FONTS )
-
- D:\FONTS\FILENAME ( Loads or saves file to the FONTS
- directory on D: drive.)
-
- STARGEN automatically strips extenders from filenames and adds
- an extender of .DNL. This is to assure consistency of file
- names and identifies the file as one that may be directly
- downloaded to the printer from the DOS level. See page 6 for
- instructions for directly downloading font files from DOS.
-
-
- 4. DEFINING CHARACTERS
-
- STARGEN makes the definition of custom characters easy and even
- fun to do. A grid (NLQ CHARACTER MATRIX) of 11 pixels wide and
- 16 pixels high is drawn on the screen. To define your custom
- character, move the cursor around the matrix with the cursor
- keys and press the space bar to enter a pixel (printed dot), or
- to remove a pixel if one already exists.
-
- A very powerful feature of STARGEN allows you to copy to the
- matrix a previously-defined character and modify it to make your
- new character. This is a great time-saver if used. To activate
- the copy routine, press the C key any time that you are in the
- matrix. The program will ask you for the character to copy.
- Enter a character from the keyboard or the equivalent ASCII code
- for the desired character and press RETURN. If the character
- was previously defined, it will then be drawn on the matrix and
- can then be modified to the new character definition. A hint:
- When creating a new font set, define the characters; B,O,I,8,
- and E first. Many other characters can be constructed from
- minor modifications of these characters.
-
- PAGE 5
-
-
- After defining your character, press RETURN to save that
- character in memory. Please note that it is not saved to the
- disk file yet. If you exit the program at this point, you will
- lose any character you have defined. Press the S key to save
- your file or the M key to modify another character.
-
- You will note "tick marks" on the edges of the character
- matrix. These define the normal character size and placement of
- the standard NX-10 NLQ characters. It is recommended that you
- use these when defining a partial set of characters for the
- following reason:
-
- The font files, created by STARGEN, copy the printer default
- characters into printer RAM when downloaded. This is necessary
- when downloading to assure that all characters are defined.
- Otherwise, only those characters that you have defined will be
- printed. The others will contain garbage bits. ( A side note:
- The NX-10 does not copy the default definitions to ASCII
- characters 020 or 021. If you want these characters to be
- printed correctly, you will have to define these as part of your
- set. )
-
-
- 5. DOWNLOADING FONT (.DNL) FILES
-
- Font files created with STARGEN may be directly downloaded at
- the DOS level or may be downloaded from within the program. To
- download from the program, select D from the opening menu and
- follow the menu prompts. Downloading from the DOS level is done
- by entering:
-
- TYPE FILENAME.DNL >PRN
-
- Be sure your printer is on and on line. You will observe that
- the printer will automatically go to the NLQ mode and any
- subsequent printing will be in the newly-defined font. A sample
- file called TINYPRINT.DNL is included to start with. Try it.
-
-
- 6. USING BLOCK GRAPHICS CHARACTERS
-
- Another problem with downloading characters to the NX-10 is that
- the printer will not print the lower extensions to the box or
- block graphics characters (ASCII 176 to 223 and 244) that it
- prints in the normal (IBM) modes. This results in those
- characters not merging with each other in the printed output.
- Vertical merging can be achieved by reducing the vertical
- spacing between lines to 7/72" with the command: (ESC) "1".
- Unless your text characters are small (as with TINYFONT.DNL),
- they will merge together, top to bottom and be generally
- unreadable. The best approach is to not mix text and graphics
- characters in the same file.
-
- PAGE 6
-
-
- A special downloadable file is included to set the printer to
- the 7/72" line spacing required to print block graphics
- characters. This file is named: 7-72.DNL. It is a special file
- that may be downloaded along with your font file to set the
- printer to the line spacing required to vertically merge the
- block characters. To use from DOS, enter:
-
- COPY FILENAME.DNL+7-72.DNL PRN:
-
- Subsequent printing will be at the reduced line spacing.
-
-
- 7. CHECKING YOUR OUTPUT
-
- A BASIC program, STARCHAR.BAS is included to check your output
- file. (It also prints out all of the NX-10 printable character
- set with the ASCII codes identified.) To use it, bring up
- BASICA or GWBASIC and LOAD "STARCHAR". Before running STARCHAR,
- be sure the printer is on-line and at the top of a page.
-
-
-
-
- HAVE FUN!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PAGE 7
-
-