Category : Printer Utilities
Archive   : MPM-PR22.ZIP

Output of file : MPMPRINT.DOC contained in archive : MPM-PR22.ZIP

ºººÌͼººº - print V2.2

(C) 1985, 1986, 1987

ºººÌͼººº enterprises, inc.

306 Park Avenue
Wilmette, Illinois 60091

ºººÌͼººº - print is a memory-resident utility that lets
º your Epson printer print virtually all of the
characters available on your PC's screen.
Supported Epson printers include the FX, MX, RX,
EX, JX, LX and LQ series models.

Some characters that show on the screen of an IBM
personal computer are actually printer control
characters. During screen prints, MPM-Print
properly prints ALL characters that can be shown
on the screen.

ºººÌͼººº - print also supports all of the pitch combinations
º available for the Epson printers. If your
software sets your printer to use compressed
print, for example, then MPM-print will
automatically print all of its characters using
the compressed pitch.

ºººÌͼººº - print AUTOMATICALLY "connects" any of the PC's
º line drawing characters (like those used for the
MPM logo) both horizontally and vertically, for
any pitch or line spacing you set for your printer.

ºººÌͼººº - print is distributed as USER SUPPORTED SOFTWARE.
º If you find it useful, please register with
MPM Enterprises, Inc. Fees are:
Registration ......................... $10.00
Registration (including a diskette with
the latest version) ............ $15.00

Commercial use without registration is prohibited.
Multiple-copy prices and site licenses are

ºººÌͼººº - print is provided on an "as-is" basis, and no
º warranty is expressed or implied. In no event
shall MPM Enterprises, Inc., be liable for any
commercial or non-commercial damage arising from
the use of MPM-print.

ºººÌͼººº - print


INTRODUCTION ......................................... 1

USING MPM-PRINT ...................................... 2

PRINT PITCHES ........................................ 4

SCREEN PRINTS ........................................ 5

CONNECTED CHARACTERS ................................. 6

HOW MPM-PRINT WORKS .................................. 7

SETTING MPM-PRINT .................................... 8

TESTING .............................................. 12

DISTRIBUTION ......................................... 13

SPEED ........................................... 14
LOSING SPECIAL CHARACTERS ....................... 14
SUPPORTED PRINTERS .............................. 15
LQ SERIES PRINTERS .............................. 16
EPSON CONTROL CODES ............................. 16
SOFTWARE CHECKS FOR MPM-PRINT ................... 18
OTHER PRINT MODES ............................... 19
SETTING PITCHES AT THE PRINTER .................. 20
REINSTALLING MPM-PRINT .......................... 20
PRINT SPOOLERS .................................. 20
COMPATIBILITY ................................... 21

ASCII CODES .................................... APPENDIX

ºººÌͼººº - print Page 1

ºººÌͼººº - print is a utility which allows an Epson printer
º to print virtually ALL of the characters
available on your PC's screen. MPM-print
works in a way that is completely transparent to you and to
any program or operation on the computer (including screen
prints using the PrtSc key).

When it is run, MPM-Print becomes memory-resident, that is,
it stays active in a small portion of your computer's memory.
MPM-Print can be turned off or on, or removed from memory at
your command.

After it is run, MPM-Print allows an Epson printer to print
240 of the 255 graphics characters that IBM PC monitors can
display (which is more IBM characters than even the IBM
Graphics Printer can print). The only characters that MPM-
Print does NOT print are those that are used to control the
Epson printer.

When MPM-Print has been run, screen prints (using your
computer's PrtSc key) will print ALL the IBM characters.

³ MPM-Print also "connects" the line- ³
³ drawing characters (like those used to ³
³ make this box) -- automatically -- for ³
³ any line spacing or pitch you set your ³
³ printer to use. ³

MPM-Print is an ideal addition to your "AUTOEXEC.BAT" file;
if you include the line:


in your AUTOEXEC.BAT file, then MPM-Print will become
resident in memory whenever you restart your computer, and
will then always allow IBM's special characters to print on
your printer.

MPM-Print works with Epson FX, MX (with Graftrax Plus), RX,
EX, JX, LX and LQ series printers, AND with the IBM Graphics
Printer (which is a version of the Epson MX printer). MPM-
Print uses less than 12,000 bytes of system memory after it
is run, and works with PC-DOS versions 2.0 and above.

ºººÌͼººº - print Page 2


You can run MPM-Print simply by typing its name at the DOS
prompt, i.e.

DOS prompt
³ ³
ÚÄÄÄÄÁÄÄÄÄÄ¿ ÀÄ carriage return or
program name enter key

MPM-Print will then "attach" itself to DOS, and will display
an initial message.

After you run MPM-Print, just run your software as you
normally do. Whenever you print something, MPM-Print will
automatically print any of the IBM's "special" characters
that you use. Whenever your software tells the printer to
change pitch (to go into compressed print, for example) or to
change line spacing, MPM-Print will ALSO automatically

If MPM-Print has already been run, and you run it again, the
program will give you the following message:

³ ³
³ ºººÌͼººº - print V2.2 ºººÌͼººº enterprises, inc. ³
³ º º ³
³ (C) 1985, 1986, 1987 306 Park Avenue ³
³ Wilmette, Illinois 60091 ³
³ ³
³ Status is MEMORY RESIDENT and ON(OFF) ³
³ ³

where ON indicates that MPM-Print is active (converting
characters before sending them to the printer), and OFF
indicates that MPM-Print is inactive, and will simply pass
all characters straight to the printer.

ºººÌͼººº - print Page 3

You can also include one of several commands for MPM-Print to
use. Those commands include:

ON -- Turns MPM-Print ON (if it is off);

OFF -- Turns MPM-Print OFF (if it is on);

REMOVE -- Removes MPM-Print from memory (if it is
already memory-resident);

SETUP -- Lets you set MPM-Print to use different
printers; and

HELP or ? -- Displays a help screen which lists the
allowable commands.

The commands are all mutually exclusive. If you enter more
than one command, MPM-Print will only act on the first one.

MPM-Print will ignore leading spaces or tab characters, and
will ignore the - and / characters if you type them before
one of the commands. You also do not need to type the full
command name; simply enter enough characters for MPM-Print
to distinguish between the commands. For example:


will all tell MPM-Print to allow you to set it to use a
different printer.

If you type:

at the DOS prompt, it will turn MPM-Print OFF (the program
will stay in memory, but will NOT convert any of the
characters sent to the printer). To turn MPM-Print ON again,

To remove MPM-Print from memory, type:


The program will remove itself from memory, and will thus
"free" the memory that it uses for other applications.
Please be careful when removing MPMPRINT to make sure that it
is the LAST memory-resident program that was run. If you try
to remove MPM-Print, and other programs were made memory
resident after it, then your computer may behave unpredictably.

ºººÌͼººº - print Page 4


MPM-Print supports all of the print pitches available on the
Epson printers:

Pitch Characters per inch Printers
Pica (normal) 10 All

Elite 12 All except
MX series

15 CPI 15 LQ-800,
LQ-1000 &
LQ-2500 only

Compressed 17.16 All

Compressed Elite 20 LX, EX, &
LQ series only

Expanded Pica 5 All

Expanded Elite 6 All except
MX series

Expanded 15 CPI 7.5 LQ-800,
LQ-1000 &
LQ-2500 only

Expanded Compressed 8.58 All

When you set MPM-Print for your printer (see SETTING MPM-
PRINT, page 8), the program will automatically recognize
the pitches supported by your printer. It will also
automatically recognize the priorities between print pitches
(with FX series printers, for example, elite has priority
over emphasized pica which has priority over compressed

ºººÌͼººº - print Page 5

Whenever your software sends a command to change pitches to
the printer, MPM-Print AUTOMATICALLY switches to the proper
pitch. For example:

1 2 3 4




Expanded Pica

MExpanded EliteP

Expanded Compressed

Other print modes (such as underline, italics, superscript
and subscript) work only for the "normal" characters printed
by the Epson. The special characters that MPM-Print uses
will still print in the proper pitch, but will not be
underlined, or printed in italics, etc. (See TECHNICAL NOTES,
page 19).


MPM-Print will print ALL of the characters that can show on
your computer's screen when you print the screen. The only
characters that will not print are the ASCII 0 and the ASCII
255, neither of which are defined for the IBM's screen.

Some characters that can be shown on the screen are also
Epson control characters. Those characters should be printed
when printing the screen, but sent to the printer unchanged
at other times. MPM-Print must therefore know when a screen
print is in progress, and sets an internal "flag" whenever
you hit the PrtSc key.

MPM-Print uses your computer's original screen print logic to
actually get information from the screen.

ºººÌͼººº - print Page 6

If you have problems getting screen prints to work properly
with MPM-Print, it means that your computer prints screens in
a way that is significantly different from that used by IBM
PC's and true compatible computers.

If this is the case, you can disable MPM-Print's screen-
printing logic (see SETTING MPM-PRINT, page 8). If you
disable the screen-printing logic, all special characters
EXCEPT those used as Epson control characters will print
during a screen print -- Epson control characters will be
sent directly to the printer.

The standard screen-printing logic sends only the characters
from the screen to the printer. No information about the
attribute (bold, or inverse, or colored) of the character is
sent. Because it works with your computer's existing screen-
printing logic, MPM-Print also does NOT show the attributes
of the characters from the screen.


MPM-Print automatically connects the IBM line-drawing
characters when they are adjacent, either horizontally (like
ÚÄÄÙ) or vertically (like ô
õ ).

MPM-Print detects any changes that your software makes to the
line spacing and pitch of your printer, and automatically
adjusts to properly connect the characters -- even at line
spacings as large as one line per inch!

To connect the characters vertically, MPM-Print scans each
line of text as it is printed. If one of the characters
should connect to the character below (as with the integral
sign in the first paragraph on this section), then MPM-Print
"remembers" that character and its position in the line.
When the original line is done printing, MPM-Print prints a
second line that extends the tails of the appropriate
characters. MPM-Print automatically adjusts to whatever line
spacing you've set your printer to use.

You can even change print pitch within a line, and MPM-Print
will adjust. For example:

³ normal ³ W1EXPANDEDW0 ³ normal ³

ºººÌͼººº - print Page 7

One warning -- if you switch to compressed mode within a
line, make sure that there are an even number of characters
in the compressed portion of text. Some Epson printers add
an extra dot's space when switching from compressed print to
Pica print IF an odd number of compressed characters have
been printed. This apparently happens ONLY when switching
from compressed print to Pica print, and occurs ONLY when an
odd number of compressed characters have been printed. This
anomaly can, however, make MPM-Print "miss" connecting
vertical lines properly.

Characters that MPM-Print "connects" include:

ASCII CODE 176 177 178 179 180 181 182 183 184 185
CHARACTER ° ± ² ³ ´ µ ¶ · ¸ ¹

ASCII CODE 186 187 188 189 190 191 192 193 194 195
CHARACTER º » ¼ ½ ¾ ¿ À Á Â Ã

ASCII CODE 196 197 198 199 200 201 202 203 204 205

ASCII CODE 206 207 208 209 210 211 212 213 214 215

ASCII CODE 216 217 218 219 220 221 222 244 245


After it has been run, MPM-Print is completely transparent
both to you and to programs running on your computer.

MPM-Print "reviews" each character that is sent to the
printer, and takes one of four actions:

1. If the character is "shared" by your printer and
IBM monitors, it will be printed normally. Normally,
only the "standard" ASCII characters, ranging from
the space (ASCII 32) to the ~ (ASCII 126) are shared.
Some printers are, however, able to emulate the IBM
character set -- for those printers, you can instruct
MPM-Print to "pass" all but the line drawing characters
to the printer, and therefore still make use of MPM-
Print's ability to properly connect the line drawing
characters. Please see SETTING MPM-PRINT, page 8.

ºººÌͼººº - print Page 8

2. If you are printing normal text, and if the
character is an Epson control character, it will be
passed without change to the printer. If that
control character changes the pitch used for printing,
then MPM-Print will remember the new pitch.

If you are printing a screen (using the PrtSc key),
MPM-Print will print even control characters exactly as
they appear on the screen.

3. If the character is an Escape (ASCII 27), and you
are NOT printing the screen, MPM-Print will send the
Escape character AND the appropriate number of
following characters to the printer without change
(Epson printers use "Escape sequences" to control a
wide variety of printing functions). If the escape
sequence changes the pitch or line spacing used for
printing, then MPM-Print will remember the new
pitch/line spacing.

4. Finally, if the character is one of the 145
characters that is neither "shared" nor a printer
control character, then MPM-Print will "translate" the
character and print the IBM monitor's version of that
character using the Epson printer's graphics

If the character is a line-drawing character (see
CONNECTED CHARACTERS, page 6), then MPM-Print will
remember its location, and extend the tail of the
character so that it connects with the character below.


MPM-Print is initially set up to run with an Epson FX-80
printer. If you've got another model of printer, then you
should use the SETUP command with MPM-Print to make sure that
the program will work correctly with your printer.

ºººÌͼººº - print Page 9

To set up MPM-Print, at the DOS prompt type:


You'll see the message:

³ ³
³ ºººÌͼººº - print V2.2 ºººÌͼººº enterprises, inc. ³
³ º º ³
³ (C) 1985, 1986, 1987 306 Park Avenue ³
³ Wilmette, Illinois 60091 ³
³ ³
³ ³
³ Press the Escape key to stop now, or press any other key to ³
³ continue setting up MPM-Print. ³
³ ³

If you press the Escape key (either now or at any other
prompt during the setup routine), then MPM-Print will simply
return you to the DOS prompt. If you press any other key,
then you'll see:

³ ³
³ MPM-Print Setup ³
³ ³
³ FX-80 LQ-800 ³
³ FX-100 LQ-1000 ³
³ FX-80 with Letter Quality ROM LQ-2500 ³
³ FX-100 with Letter Quality ROM LX-80 ³
³ FX-80+ LX-86 ³
³ FX-100+ MX-80 with GRAFTRAX ³
³ FX-80+ with Letter Quality ROM MX-80 Type III ³
³ FX-100+ with Letter Quality ROM MX-100 Type III ³
³ FX-85 MX-100 Type II ³
³ FX-185 RX-80 ³
³ FX-285 RX-80 F/T ³
³ FX-86e RX-100 ³
³ FX-286e RX-80+ ³
³ JX-80 RX-80 F/T+ ³
³ JX-80 with Letter Quality ROM RX-100+ ³
³ EX-800 RX-80+ with Letter Quality ROM ³
³ EX-1000 RX-80 F/T+ with Letter Quality ROM ³
³ LQ-1500 version 1.8 RX-100+ with Letter Quality ROM ³
³ LQ-1500 version 2.0 ³
³ ³

One of the printers will be "highlighted"; use the cursor
keys (on the right hand side of your keyboard) to move the
"highlight" to your printer.

ºººÌͼººº - print Page 10

The list of printers is so extensive because even similar
printers will often have subtly different command sets.

If you're using an "Epson-compatible" printer, choose the
model that your printer emulates. You may need to experiment
a little to find the Epson model whose command set is closest
to that used by your printer.

When you've chosen the model of printer that you use, simply
hit the Return (or Enter) key.

After you've chosen a printer, MPM-Print will ask:

³ MPM-Print Setup ³
³ ³
³ Some printers print certain IBM graphics characters. If your ³
³ printer DOES support those characters, it is better to let ³
³ MPM-Print "translate" (and connect) only the "line drawing" ³
³ characters. ³
³ ³
³ Does your printer support the IBM Character Set 1 (characters ³
³ above ASCII 160) or IBM Character Set 2 (characters above ³
³ ASCII 128)? >> _ ³
³ ³
³ ³
³ Press 1 for Set 1, 2 for Set 2, Escape key to abort, ³
³ anything else for neither ³
³ ³

Most Epson printers do NOT support the IBM character set. A
few do (they usually require special modules); and even those
do not properly connect the line drawing characters supported
by MPM-Print.

If your printer DOES support the IBM character set full time
(that is, if it prints the IBM character set by default when
you turn the printer on), then printing will be faster if you
allow it to print most of the IBM characters. Choosing 1 or
2 to the above question will tell MPM-Print which IBM
characters should be passed unchanged to your printer.

ºººÌͼººº - print Page 11

The setup routine will ask next about screen prints:

³ ³
³ Some characters that show on the screen are printer control ³
³ characters -- MPM-Print can translate those characters when ³
³ you print the screen using the PrtSc key. This feature may ³
³ not, however, work properly with some "IBM-compatible" ³
³ computers. If you have problems with screen prints, then you ³
³ can stop MPM-Print from trying the translation by answering ³
³ No to the next question: ³
³ ³
³ Should MPM-Print "translate" all characters on the screen ³
³ during a screen print? >> _ ³
³ ³
³ Press Y for Yes, anything else for No, Escape key to abort ³
³ ³

If you answer Yes, then MPM-Print will translate all
characters that appear on the screen when you do a screen
print. We suggest that you answer No ONLY if you try screen
prints with MPM-Print and have problems (and if you do have
problems, please notify us).

If you answer Yes, the MPM-Print will pause briefly while it
determines how the print screen function works on your

If MPM-Print is already memory-resident, the setup routine
will then ask you:

³ ³
³ MPM-Print has already been run. Should the copy in memory be ³
³ updated with the new printer information? >> _ ³
³ ³

If you answer Yes, then the copy of MPM-Print that is in
memory will be updated for the new printer that you've

The setup routine will next ask:

³ ³
³ Should an updated copy of MPMPRINT.COM be saved to disk? >> _³
³ ³

ºººÌͼººº - print Page 12

If you answer Yes, then a new copy of MPMPRINT.COM will be
written to the current directory. If MPMPRINT.COM already
exists in the current directory, it will be replaced.

Finally, if MPM-Print is NOT already memory resident, then
the setup routine will ask:

³ ³
³ MPM-Print was not found in memory. Should a copy be made ³
³ memory-resident now? >> _ ³
³ ³

If you answer yes, then MPM-Print will install itself in
memory, using all of the new information that you entered.

Included with MPM-Print is a testing program, TEST.PAS.
Written in TURBO Pascal, the testing program "exercises" most
of the print commands available for the Epson printers.

The program prints the full character set for each of the
print pitch combinations, and also tests combinations of
print modes and pitches. With some Epson printers, certain
print modes have "priority" over other modes. For example,
for FX series printers, Elite pitch has priority over
compressed print which has priority over Pica print.

For each control code and escape sequence, the program sets
the printer's mode, then (if appropriate) it prints the 240
non-control characters, and finally restores the printer to
its original mode.

The purpose of the test is to verify that MPM-Print properly
transmits the control codes/escape sequences to the printer,
and that it properly prints the full 240 MPM-print character
set after setting the printer's mode.

TEST.COM is a compiled version of TEST.PAS. It was compiled
using TURBO Pascal version 3.0, and requires DOS version 2.0
or later.

The compiled version of TEST takes about 10-15 minutes to run
(it is limited by the speed of the Epson printers), and
prints ten to fifteen pages.

ºººÌͼººº - print Page 13


MPM-Print is distributed as "user-supported software", with
the following conditions:

MPM-Print and its associated documentation are the
copyrighted property of MPM Enterprises, Inc.

We grant NON-COMMERCIAL users the right to use, copy
and share MPM-Print.

Any distribution of MPM-Print must contain unaltered
versions of the program itself and all associated


MPM-Print may NOT be sold or distributed for profit
without the express, written consent of MPM Enterprises,

We encourage you to register your copy with MPM
Enterprises, Inc. Fees are:
Registration ............... $10.00
Registration (including a
diskette with the latest
version) ................. $15.00

Registered users will be notified of updates,
enhancements, and new products from MPM Enterprises, Inc.
Registered users will also receive instructions to
disable most of the initial ("sign-on") screen shown
by MPM-Print.

Commercial use WITHOUT a $10 per copy registration fee is
prohibited. Multiple-copy prices and site licenses are
available. Dealer pricing is also available.

MPM-Print is provided on an "as-is" basis, and no warranty is
expressed or implied. In no event shall MPM Enterprises,
Inc., be liable for any commercial or non-commercial damage
arising from the use of MPM-Print.

ºººÌͼººº - print Page 14


MPM-Print uses the graphics printing capabilities of the
Epson printers to produce the 145 IBM characters that the
Epson printers normally don't print.

Printing using graphics modes requires more information and
more effort on the part of the printer, so the 145 non-Epson
characters take longer to print than do the "normal"
characters. "Normal" text is printed at the normal speed.
To help speed up printing of the special characters, MPM-
Print uses a special internal buffer and is optimized for

Connecting special line-drawing characters vertically
requires MPM-Print to print additional "lines" between the
original line of characters and the next line -- this, too,
adds to the time required to print special characters. No
extra printing time is needed if there are no characters that
need to be "connected" to the line below.

There is one problem with using the graphics buffer to speed
printing: the Epson printers do NOT "wrap" graphics
characters at the right margin -- any characters remaining in
the graphics buffer can be lost. Please see LOSING SPECIAL

MPM-Print uses a "graphics buffer" to speed up printing
special characters. Characters stored in the buffer will be
held either until the buffer is full, or until a non-special
character is printed.

If something happens BEFORE the buffer is printed (such as a
"crash" or a reboot of your computer), then the characters
will be lost.

A second problem can occur with special characters -- Epson
printers DO NOT WRAP characters printed using graphics modes.
If special characters extend past the right margin, the
printer simply truncates the line at the right margin. In
contrast, Epson printers automatically "wrap" lines of normal
text that are too long (text that would extend past the right
margin is printed on the next line.)

This problem will occur ONLY when the information being
printing is improperly formatted, and is therefore easy
to avoid.

ºººÌͼººº - print Page 15


Printer Number Printer Model
0 FX-80
1 FX-100
2 FX-80 with Letter Quality ROM
3 FX-100 with Letter Quality ROM
4 FX-80+
5 FX-100+
6 FX-80+ with Letter Quality ROM
7 FX-100+ with Letter Quality ROM
8 FX-85
9 FX-185
10 FX-285
11 FX-86e
12 FX-286e
13 JX-80
14 JX-80 with Letter Quality ROM
15 EX-800
16 EX-1000
17 LQ-1500 version 1.8
18 LQ-1500 version 2.0
19 LQ-800
20 LQ-1000
21 LQ-2500
22 LX-80
23 LX-86
24 MX-80 with GRAFTRAX
25 MX-80 Type III
26 MX-100 Type III
27 MX-100 Type II
28 RX-80
29 RX-80 F/T
30 RX-100
31 RX-80+
32 RX-80 F/T+
33 RX-100+
34 RX-80+ with Letter Quality ROM
35 RX-80 F/T+ with Letter Quality ROM
36 RX-100+ with Letter Quality ROM

The list of printers is so extensive because there are
typically subtle differences in the command set supported by
printers even in the same family. For example, the FX-80+
printer supports certain commands that are not available for
the older FX-80 printer.

ºººÌͼººº - print Page 16

MPM-Print completely supports all of the print pitches and
commands used by the LQ series printers. HOWEVER, MPM-Print
only uses 8-pin graphics when printing its special
characters. The standard version of MPM-Print does not
approach the print quality available from the 24-pin standard
LQ character set.

We have a version of MPM-Print (called MPM-LQ) devoted
exclusively to the LQ series printers. Please contact MPM
Enterprises, Inc. for information about MPM-LQ.

Epson printers use certain one-byte codes (ranging from ASCII
7 to 27) to control some of the printers' features. Each
feature can be activated by sending EITHER the code OR the
code+128 to the printer (for example, both ASCII 7 and ASCII
135 would "beep" the printer's speaker). We have chosen to
print IBM characters for all ASCII codes above 127, since
printer control codes are already provided by ASCII
characters 7-27.

We have also chosen to print the IBM character  (ASCII 127)
instead of the "delete" code for the Epson printers. The
"delete" code deletes the last character in the Epson
printer's line buffer; since it is rarely used, we chose to
print the IBM character instead.

All other control codes and escape sequences are passed
directly to the printer.

Some printers are Epson-compatible, but extend the control
codes that can be sent to the printer. You can "patch" MPM-
Print to recognize (and pass) those new control codes.

A new control code must have three characteristics to allow it
to be added to MPM-Print:

1. The control code must begin with the Escape
character (ASCII 27);
2. The escape character must be followed by a code
character that is between ASCII 0 and ASCII 127;
3. Following the code character must be a constant
number of additional characters. That constant
number can be anything from 1 to 127.

ºººÌͼººº - print Page 17

For example, the ADS 2000 printer emulates the FX-80 printer,
but extends the control codes. One of its additional control
codes is:

Esc 'a' chr$(n)

which turns ON high density printing if n=1, and turns it OFF
if n=0.

This "new" control code fits all of the characteristics
required for you to add it to MPM-Print: It begins with an
Escape character; the Escape is followed by the character 'a'
(ASCII 97); and the 'a' is followed by one additional

The "patch" area for MPMPRINT.COM begins at an offset of 270
bytes (270 decimal, 10E hex) from the beginning of the file,
and is 256 bytes long.

To patch MPMPRINT.COM using DEBUG (the DOS utility), first
work ONLY on a copy of MPM-Print. Next, set up that copy for
the Epson model that your printer most closely emulates (see
SETTING MPM-PRINT, page 8). Finally, determine the offset
for the code character you want to add:

Offset = 100H + 10EH + 2 * character code in hex
(using DEBUG)

where H indicates a hexadecimal number.

For our example, the character code 'a' is 61H. Its offset
is 100H + 10EH + 2 * 61H = 20EH + C2H = 2D0H.

Make sure the DOS program DEBUG.COM is available, either in
the current directory or along the PATHs you've set for your
computer, and type:


At the DEBUG prompt, type:

e where is the
offset you've calculated,
in hexadecimal

In our example, you'd type:

e 2D0

ºººÌͼººº - print Page 18

DEBUG responds with:

xxxx:02D0 00.

where xxxx is the code segment value. The 00 is the value
currently stored at that offset.

Enter the number of characters that follow the code character
(remember, you've got to enter the number in hexadecimal).
In our example, the 'a' is followed by one character, so we'd

xxxx:02D0 00.01

then hit the space bar (which tells DEBUG to let you enter
the next byte), giving:

xxxx:02D0 00.01 00.

and enter 0 (if the next byte is not already 0), followed by
a carriage return. Please note that the second zero byte is
essential to having your modified code work properly.

When you've done this, type w at the DEBUG prompt to Write
the file to disk (skip this step if you want to quit WITHOUT
changing the disk's copy of MPMPRINT.COM).

To quit, type the letter q at the DEBUG prompt.

Version 2.2 of MPM-Print gives your programs a way to check
to make sure that MPM-Print is resident in memory, and to
check whether MPM-Print is active or not. To check, your
software must be able to use the BIOS Printer I/O interrupt
(17H), and use the 8088/8086/80286 registers.

Register Hex Decimal
AX 0CAFE 51966
BX 0 0 to check status
1 1 to turn MPM-Print ON
0FFFF -1 to turn MPM-Print OFF

To test if MPM-Print is resident, put 0CAFEh in the AX
register, and either 0, 1, or -1 in the BX register (see the
table above), and execute an interrupt 17h.

ºººÌͼººº - print Page 19

Upon return from the interrupt 17h:

Register Hex Decimal
AX 0FEED 65261
BX 0 0 MPM-Print is OFF
1 1 MPM-Print is ON
DX printer number, from the
table under SUPPORTED
PRINTERS, page 15

If AX equals anything other than 0FEEDh, then MPM-Print is
NOT installed. If AX does equal 0FEEDh, then the BX register
will indicate whether MPM-Print is active or not, according
to the table above.

The TEST program gives a TURBO Pascal example of testing to
make sure that MPM-Print is installed and active, and of
retrieving the number of the printer for which MPM-Print was


MPM-Print supports all of the pitches available for Epson
printers. Most of the other print modes available will not
affect the way MPM-Print prints the "special" characters:

Print Mode Action
Graphics All graphics modes work properly.
Underline "Normal" characters are underlined;
MPM-Print's characters are not.
Italics Normal characters are printed in
italics; special characters are
Emphasized With the Pica pitch, special
characters are emphasized; with
Expanded Pica, only normal
characters are emphasized.
Double Strike Only normal characters are "double-
Super- and Only normal characters print in
Subscript the script mode; special characters
print at their normal heights.
Proportional Only normal characters print
proportionately; special characters
print with the current pitch.

ºººÌͼººº - print Page 20

If your software sends printer control characters to the
printer, then MPM-Print will always know the proper pitch to

If, however, you change pitches for the printer WITHOUT MPM-
Print's knowledge, (for example, by using printer switches)
then MPM-Print will use the last known pitch when printing
special characters.

Suppose you were printing in compressed pitch, and turned the
printer OFF. When you turn the printer ON again, it will
print in the Pica pitch. MPM-Print, however, will continue
to print the special characters in compressed pitch.

To solve the problem of confused pitches, send the printer
reset code (Escape 64) to the printer. MPM-Print will
automatically reset its pitch.

MPM-Print works by taking control of IBM's ROM BIOS interrupt
17h (Printer I/O). When you try to re-run MPM-Print, it
checks the ROM BIOS interrupt to see if it has already been
run. If it has, MPM-Print notifies you of that fact.

A problem can occur, however, if you run other memory-
resident software (such as a print spooler; please read the
PRINT SPOOLERS section below) that also takes control of
interrupt 17h AFTER MPM-print has been run. If this is the
case, and IF you try to re-run MPM-Print, it may not find a
copy of itself when it checks. If MPM-Print does NOT, then
it WILL proceed to install itself again.

Print spoolers are memory-resident programs that "reserve" a
portion of memory to buffer information sent to the printer.

To achieve good performance, most print spoolers completely
replace the ROM BIOS printer interrupt logic. Therefore,
most print spoolers will completely ignore MPM-Print if they
are run AFTER MPM-Print. This problem occurs when the
spooler (or any other memory-resident program) replaces
rather than chains to the previous printer interrupt. If you
are using one of those spoolers, then please install MPM-
Print AFTER installing your print spooler.

ºººÌͼººº - print Page 21

We have not been able to test MPM-Print with every
available piece of software. We HAVE, however, tested
it with:

IBM PC-DOS versions 2.1,3.0,3.1,3.2
Lotus 1-2-3/Printgraph
Graphics screen dumps (as long as the
DOS utility GRAPHICS.COM is also
TimeLine project management system
from Breakthrough Software
MathCAD from MathSoft, Inc.
Sidekick (from Borland International)
Text files produced with a variety of
word processing programs.

If you have compatibility problems with other memory-
resident programs, try changing the order in which the
programs are loaded into memory. If you discover
compatibility problems that you are unable to solve,
please let us know about them.

Some word processing packages try to do the same job as
MPM-Print -- they convert the IBM graphics characters
into graphics commands before sending the information to
the printer. Because the characters have already been
converted BEFORE MPM-Print ever sees them, MPM-Print is
unable to do its job.

If MPM-Print works with some of your software, but you find
that the "line drawing" characters are not properly connected
when you print a document from your word processor, it is
most probably because your word processor is converting the
line drawing characters. Try "reinstalling" your word
processor for another printer (try the IBM Graphics printer
first) to find a printer driver that instructs your word
processor to send ALL characters WITHOUT CHANGE to the printer.

ºººÌͼººº - print Page 22


MPM-Print, ºººÌͼººº - print, and its associated documentation

are copyright (C), 1985, 1986, 1987, MPM Enterprises, Inc.

Please direct all comments and registrations to:

ºººÌͼººº enterprises, inc.

306 Park Avenue
Wilmette, Illinois 60091


Special thanks are due to Ms. Carole Anne Ogdin of Semiotics
Designers for her suggestions about command line parsing and
the logic for the REMOVE command for MPM-Print.

ºººÌͼººº - print APPENDIX 1




³ Hexadecimal
³ ³ Character or function
³ ³
³ ³ ³
³ ³ ³

0 00 32 20 64 40 @ 96 60 `
1 01  33 21 ! 65 41 A 97 61 a
2 02  34 22 " 66 42 B 98 62 b
3 03  35 23 # 67 43 C 99 63 c
4 04  36 24 $ 68 44 D 100 64 d
5 05  37 25 % 69 45 E 101 65 e
6 06  38 26 & 70 46 F 102 66 f
7 07 BEL 39 27 ' 71 47 G 103 67 g
8 08 BS 40 28 ( 72 48 H 104 68 h
9 09 HT 41 29 ) 73 49 I 105 69 i
10 0A LF 42 2A * 74 4A J 106 6A j
11 0B VT 43 2B + 75 4B K 107 6B k
12 0C FF 44 2C , 76 4C L 108 6C l
13 0D CR 45 2D - 77 4D M 109 6D m
14 0E SO 46 2E . 78 4E N 110 6E n
15 0F SI 47 2F / 79 4F O 111 6F o
16 10  48 30 0 80 50 P 112 70 p
17 11 DC1 49 31 1 81 51 Q 113 71 q
18 12 DC2 50 32 2 82 52 R 114 72 r
19 13 DC3 51 33 3 83 53 S 115 73 s
20 14 DC4 52 34 4 84 54 T 116 74 t
21 15  53 35 5 85 55 U 117 75 u
22 16  54 36 6 86 56 V 118 76 v
23 17  55 37 7 87 57 W 119 77 w
24 18 CAN 56 38 8 88 58 X 120 78 x
25 19  57 39 9 89 59 Y 121 79 y
26 1A 58 3A : 90 5A Z 122 7A z
27 1B ESC 59 3B ; 91 5B [ 123 7B {
28 1C  60 3C < 92 5C \ 124 7C |
29 1D  61 3D = 93 5D ] 125 7D }
30 1E  62 3E > 94 5E ^ 126 7E ~
31 1F  63 3F ? 95 5F _ 127 7F 

NOTE: Character 26 is not shown here, although it is printed
by MPM-print. ASCII 26 is the end-of-file (EOF) marker used
by a number of programs; many programs will not read past the

ºººÌͼººº - print APPENDIX 2

APPENDIX (continued)



³ Hexadecimal
³ ³ Character or function
³ ³
³ ³ ³
³ ³ ³

128 80 € 160 A0   192 C0 À 224 E0 à
129 81  161 A1 ¡ 193 C1 Á 225 E1 á
130 82 ‚ 162 A2 ¢ 194 C2  226 E2 â
131 83 ƒ 163 A3 £ 195 C3 à 227 E3 ã
132 84 „ 164 A4 ¤ 196 C4 Ä 228 E4 ä
133 85 … 165 A5 ¥ 197 C5 Å 229 E5 å
134 86 † 166 A6 ¦ 198 C6 Æ 230 E6 æ
135 87 ‡ 167 A7 § 199 C7 Ç 231 E7 ç
136 88 ˆ 168 A8 ¨ 200 C8 È 232 E8 è
137 89 ‰ 169 A9 © 201 C9 É 233 E9 é
138 8A Š 170 AA ª 202 CA Ê 234 EA ê
139 8B ‹ 171 AB « 203 CB Ë 235 EB ë
140 8C Œ 172 AC ¬ 204 CC Ì 236 EC ì
141 8D  173 AD ­ 205 CD Í 237 ED í
142 8E Ž 174 AE ® 206 CE Î 238 EE î
143 8F  175 AF ¯ 207 CF Ï 239 EF ï
144 90  176 B0 ° 208 D0 Ð 240 F0 ð
145 91 ‘ 177 B1 ± 209 D1 Ñ 241 F1 ñ
146 92 ’ 178 B2 ² 210 D2 Ò 242 F2 ò
147 93 “ 179 B3 ³ 211 D3 Ó 243 F3 ó
148 94 ” 180 B4 ´ 212 D4 Ô 244 F4 ô
149 95 • 181 B5 µ 213 D5 Õ 245 F5 õ
150 96 – 182 B6 ¶ 214 D6 Ö 246 F6 ö
151 97 — 183 B7 · 215 D7 × 247 F7 ÷
152 98 ˜ 184 B8 ¸ 216 D8 Ø 248 F8 ø
153 99 ™ 185 B9 ¹ 217 D9 Ù 249 F9 ù
154 9A š 186 BA º 218 DA Ú 250 FA ú
155 9B › 187 BB » 219 DB Û 251 FB û
156 9C œ 188 BC ¼ 220 DC Ü 252 FC ü
157 9D  189 BD ½ 221 DD Ý 253 FD ý
158 9E ž 190 BE ¾ 222 DE Þ 254 FE þ
159 9F Ÿ 191 BF ¿ 223 DF ß 255 FF

  3 Responses to “Category : Printer Utilities
Archive   : MPM-PR22.ZIP

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: