Dec 102017
TSR Printer Util. Customize for any printer, favorite setup,etc.
File COHORT1.ZIP from The Programmer’s Corner in
Category Printer Utilities
TSR Printer Util. Customize for any printer, favorite setup,etc.
File Name File Size Zip Size Zip Type
COHORT.COM 63583 29846 deflated
COHORT.DOC 5613 1990 deflated

Download File COHORT1.ZIP Here

Contents of the COHORT.DOC file

Cohort Version 1.0
Guy Gallo
January 2, 1986

1 Purpose

A Printer / Directory Utility for the IBM (and close

Cohort allows you to access and change several common
printer functions, such as print pitch, page length,
bold, italic, underline.

Cohort is completely configurable

Cohort includes a 66 line notepad.

Cohort includes several common DOS operations (Dir, Erase,
Rename, Copy, Print, Chkdsk).

Cohort can be run either of two ways: as a standalone
program from the DOS level; or as a Memory Resident

2 Usage

2.1 Loading

Cohort can be loaded into memory and then invoked by a
single keystroke from within any application

In order to make Cohort memory resident, type COHORT /L
at the DOS prompt.

The current HotKey (the key used to access Cohort from
within other programs) will be displayed.

Cohort will use approximately 67K of memory. And this
memory can be reclaimed (ONLY FROM THE DOS LEVEL!)
by selecting "Unload Cohort" under the "Setup"

2.2 Configuration

2.2.1 HotKey

The current HotKey can be changed at any time by
selecting the "HotKey..." option under the
"Setup" menu.

This enables you to change the HotKey if there is
an incompatiblity between the default HotKey
(Alt-F10) and your application program.

This change can be made permanent by selecting
"Save settings" under the "Setup" menu. The
next time you load Cohort, the new HotKey
will be in effect.

NOTE: In order to "Save settings": the program
MUST be named COHORT.COM, and it must be
available in the currently active directory.

2.2.2 Printer codes

The default printer for Cohort is the HP
ThinkJet. As a result, several of the menu
options (such as Doublestrike and Italic) are
inapplicable. And the codes for these
functions (visible via the "Edit control
codes" option of the "Setup" menu) are empty.

Each of the thirteen codes are easily changed.
Simply find the appropriate codes in your
printer manual, select "Edit control codes",
CODES. Be aware that the ASCII symbol for
the keys stroke will appear. For instance if
you press <^O>, you will see <>. It is
important to realize that the Escape code
itself is entered, NOT by pressing the
key, but by pressing <^[>. What you will see
is: <>.

Once you have entered the appropriate codes, you
can save them permanently by selecting "Save
settings" under the "Setup" menu.

NOTE: In order to "Save settings": the program
MUST be named COHORT.COM, and it must be
available in the currently active directory.

NOTE: One control code will not appear on the
screen, although you CAN enter it: this is
the NUL character. It is <^@> and is entered
by holding down the ctrl key and
simultaneously selecting Shift-2 (or <@>).
This control code is part of the sequence for
"Inches per page". What you see is only
. The NUL, being nul, is invisible...

NOTE: both Page Length and Inches per page take
the following form:

for instance: Page Length is . If the code
for page length on your printer is not of
this form, leave me a message...

3 Credits

Cohort was written in Turbo Pascal V3.0B; using
utilities by Nostradamus and Neil Rubenking;

The menuing system is adapted from Borland's Turbo
Editor ToolBox. The typewriter is adapted from TSCRIPT
by Keven Menningen. The memory residency code is by
Lane Ferris.

4 Payment

If you find this program useful and wish to make a
contribution, please send it to:

Guy Gallo
c/o The Harvard Club
27 West 44th Street
New York New York 10032

You can address any suggestions or bug-finds to that
address, or leave a message on any of the following
Electronic Bulletin Boards:

The Invention Factory - 1-212-431-1194
PCSI - 1-212-924-6598
TextBase - 1-212-826-8827
Gene Plantz Chicago IBBS.

 December 10, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>