Dec 172017
 
Proprinter setup program.
File PROSET35.ZIP from The Programmer’s Corner in
Category Printer Utilities
Proprinter setup program.
File Name File Size Zip Size Zip Type
PRO-SET.ASM 49079 10803 deflated
PRO-SET.COM 32368 5492 deflated
PRO-SET.DOC 23146 6900 deflated

Download File PROSET35.ZIP Here

Contents of the PRO-SET.DOC file



PRO-SET
An IBM Proprinter Configuration Utility
Version 3.5 - March 25, 1988

by Fred Willshaw
CIS 73075,321

PRO-SET is a utility program which may be used to send control strings to the
IBM PROPRINTER without the necessity of exiting the program you are currently
using. It is distributed at no cost and may be freely copied and used.
Should, however, you alter the program code in anyway it is forbidden to pass
this program on to others. If you would like to see modifications to the
current program please contact the author.

I will attempt to keep the current version on the following Bulletin Boards in
the New York/New Jersey area. The program will be named PROSETxx.ARC where xx
will indicate the latest version number.

Bulletin Board Telephone#
------------------ --------------
The POLICE (201) 963-3115
CFONJ (201) 486-2956
The BOSS (201) 568-7293
Software Society (201) 729-7410
Invention Factory (212) 431-1194

PRO-SET PARAMETERS
------------------

You may either execute the program as a stand-alone DOS batch program or you
may load it into resident memory. Both modes are accomplished by placing the
desired parameter(s) after the program name, then executing the program. These
optional parameters are:

PRO-SET [R=x C=x V=x K=x S=x A=xxx]

Where R=x indicates the type run you wish to perform, the two options are:

"R" for Load into low memory and remain resident. The program
may be accessed by depressing the Hot-Key/Control-Key
combination you assigned, simultaneously. This is the default.
"B" indicates that you want to run as a batch DOS job and not
remain resident. You may also use this option even if the
program is currently resident.

Where C=x indicates the Color mode you wish to use, the two options are:

"C" for using the IBM C/G Adapter colors. This is the default.
"N" for no colors, the NO COLORS option is primarily for users
of Amber and Green High Res monitors.

Note: If you are using a Monochrome Adapter the program
will automatically detect this.

Where V=x is the Sound On/Off indicator for the program, the two options are:

"Y" to get Sound warnings of input errors and invalid Drive/
Path/File Names during the Font Load procedure. This is the
default.
"N" for no sound.

Where K=xx indicates the Hot-Key to be used along with the Control-Key
key(s) to activate the Memory Resident version. Enter the
hexidecimal scan code value. If you do not assign your own Hot-Key
PRO-SET will use the letter "P". A partial list is shown below:

KEY SCAN KEY SCAN KEY SCAN KEY SCAN KEY SCAN
========= ========= ========= ========= =========
A 1E G 22 L 26 Q 10 V 2F
B 30 H 23 M 32 R 13 W 11
C 2E I 17 N 31 S 1F X 2D
D 20 J 24 O 18 T 14 Y 15
E 12 K 25 P 19 * U 16 Z 2C
F 21 * = default

Where S=xx indicates the Control-Key key(s) to be used along with the
Hot-Key to activate the Memory Resident Version. The default used
by PRO-SET is the combination. Enter the hexidecimal
total value from the following table, always enter as a two digit
value:

KEY VALUE TO ADD EXAMPLE (using the Default)
=========== ============ ===========================
Right Shift 01 CTRL 04
Left Shift 02 ALT 08
CTRL 04 ==
ALT 08 Enter total --> 0C

Where A=xxx indicates the drive, path and file name of the file you wish
loaded as the return address, this is optional. Construct the
file using COPY CON: XXX, or any commonly used ASCII file editor,
with 1 to 4 lines of up to 33 characters each.

Example parameter: A=C:\SUB1\SUB2\RETURN.DAT

Installing Pro-set
------------------

In order to install the program, have PRO-SET.COM in the root library or a
sub-directory in the PATH command. Then include the line PRO-SET, along with
your parameter(s), if any, in your AUTOEXEC.BAT file or issue the DOS command
PRO-SET with your requested parameter(s), if any.

When loaded as memory resident, you may gain access to the program from any
other program by depressing the Hot-Key/Control-Key combination. The program
will then intercept the keyboard interrupt (09H) and display the program menu.

The Program Menu's
------------------

Depressing the appropriate key(s) will send the appropriate character string
and highlight the option on the menu or present a sub-menu for additional input.
Depressing the key will return you to the Original Program, Pro-Set Main
Menu or DOS as appropriate.

The first line, [1] LPT1: -- 3:, is used to indicate which line printer port
you want the control information send to. The default is LPT1:. If the port
selected is not ready an error message will be displayed.

OPTION COMMAND FUNCTION WHAT HAPPENS
------ -------------------- --------------------------------------------
[A] Set Condensed Mode Sends 15
[B] Stop Condensed Mode Sends 18
[C] Set 12 CPI Sends 58
[D] Set Emphasized Mode Sends 69
[E] Stop Emphasized Mode Sends 70
[F] ONE Direction Print Sends 85 01
[G] TWO Direction Print Sends 85 00
[H] Set Double Wide Sends 87 01
[I] Stop Double Wide Sends 87 00
[J] Character Set 1 Sends 55
[K] Character Set 2 Sends 54 02
[L] Format/Reset/Envelope Displays sub-menu

[A] Reset Printer Sends 24 Empty Buffer
18 Cancel Condensed/Set 10 CPI
45 00 Cancel Underscore
53 00 Cancel Auto Linefeed
55 Select Character Set 1
61 00 00 Clear Download Buffer
65 12 6 Lines to Inch
67 66 Set 66 Lines to Page
67 00 11 Set to 11 Inches to Page
70 Cancel Emphasized Print
72 Cancel Doublestrike
73 00 Standard Print Mode
79 Cancel Automatic Perf Skip
82 Cancel Tab Settings
84 Cancel Sub/Superscript
85 02 Set Bidirectional Print
87 00 Cancel Double Wide Print
95 00 Cancel Overscore
[B] Set Top of Form Sends 04
[C] Form Length (Inches) Sends 12 00 ## (Where ## is the value
[D] Form Length (Lines) Sends 12 ## you entered)
[E] Print an Envelope Displays input screens

Enter up to four lines of 33 characters for
a return address, depress the key
Return Address after each line even if there is no entry.
Pressing will return you to the Main
Menu. The return address entered will be
stored and displayed the next time you enter
this function. If you have no changes,
depress the key four (4) times. You
may also preload a return address using the
initial paramters outlined above (A=).

Enter up to four lines of 33 characters for
a mailing address, depress the Mailing Address after each line even if there is no entry.
Pressing will return you to the Main
Menu.

Next, insert an envelope into the printer,
see directions below if not certain, then
Select Size select the envelope size type by depressing
the appropriate size type - F1=Standard Size
F2=Legal Size or to return to the Main
Menu.

Proper placement of the envelope into the
Proprinter - Slide the envelope face up,
Positioning top first and left side against the
LEFT EDGE GUIDE, see manual page 1-10 bottom,
into the FRONT OPENING until you feel the
envelope stop moving. At this point you are
ready for PRO-SET to print your envelope.

[M] 1/8" Spacing Sends 48
[N] 7/72" Spacing Sends 49
[O] Set Normal Quality Sends 73 00
[P] Set Normal Download Sends 73 04
[Q] Set NLQ Normal Sends 73 02
[R] Set NLQ Download Sends 73 06
[S] Set NLQ Doublestrike Sends 71
[T] Stop NLQ Doublestrike Sends 72
[U] Font Processing Displays sub-menu

[1] FONTGEN Created Indicates that file to be downloaded was
created by the FONTGEN program. The next sub-menu
is then displayed with which you indicate the
Drive/Path/Data Set Name of the file to be
downloaded. After completion of this sub-menu
the file is downloaded to the active printer.
[2] IBM Format Indicates that file to be downloaded was
created to appear as in the IBM Proprinter Manual.
The next sub-menu is then displayed with which
you indicate the Drive/Path/Data Set Name of the
file to be downloaded. After completion of this
sub-menu the file is downloaded to the active
printer.
[3] Create a Character Indicates that you wish to construct a download
character of your own. The subsequent input
screen is processed as follows:
Char Code = Enter the character code to be downloaded in the
range decimal 33 to 126.
Attribute = Indicate the ascend/decender code 0 or 1
Move around the grid with the arrow keys, they
will automatically wrap-around.
Depressing will reverse the pin printing
by toggling this pin position On or Off.
F1 = Download Depressing the key will download the
character to the active printer.
F2 = Save to file Depressing F2 will display a sub-menu with which
you indicate the Drive/Path/Data Set Name of the
file the character is to be saved in. If the
file exists, the character will be added to the
end of the file, if not, a new file will be
created. This file may be subsequently down-
loaded using the IBM file format download option.
F3 = Clear Depressing will clear the pin map,
character code and attibute from the input screen.
Escape will return you to the Primary Menu.

>>>>>>>>>>>> IMPORTANT NOTE <<<<<<<<<<<<<<<
After you have downloaded a font file you must
instruct the printer how to process the downloaded
font be using either option

SET NORMAL DOWNLOAD
or SET NLQ DOWNLOAD. Selection of the option
does NOT establish the mode you wish to print in.
It should also be noted that if you download a single
character to the buffer only that character code will
print for character codes in the decimal 33 to 126
range.

[V] Typewriter Mode Displays work area of 66 lines by 80 columns
into which you may enter data to be printed on
the Proprinter. This is a not a full function
word processor, it is intended for quick and
fast generation of hard copy output. Most
cursor controls work along with an insert mode.

F1=Print Depressing F1 will print the work area of 66
lines by 80 columns to the active printer.
F2=Clear Depressing F2 will clear the work area.
Quit Return to the main menu.

IT WON'T WORK WITH
------------------

PRO-SET will not execute, and will lock up, on a any machine using the IBM
3270 Work Station Control program series. The Control Program simply doesn't
care for other programs taking over interrupts. Not a friendly program at all.
PRO-SET will run properly with the Control Program in batch (R=B) mode.
Comments were received that PRO-SET does not function with DOS 3.3, however,
that is what I am currently using and the program functions normally.

If you have problems in making PRO-SET function properly, a careful examination
of the memory resident programs you are using may be in order. Certain
combinations and sequences may cause improper execution of PRO-SET or your
other programs. Try loading these programs in a different sequence until they
produce the proper results. A leading offender with PRO-SET are Print Spoolers
and Keyboard Enhancers.

UPDATES/MODIFICATIONS/CORRECTIONS
---------------------------------

Version 1.1 (01/07/86) - Added support for graphics modes 320X200 and
640X200. Note that this is determined by BIOS
Interrupt 10H. Some programs do not properly
set this value, i.e. 1-2-3 in Graphics mode.
Since the configuration screen cannot fit in 40
column modes, a beep will sound if you attempt
to use the program in 40 column mode.

Version 2.0 (01/21/86) - Added support for download fonts. Depressing
option U will present a sub-menu requesting the
download font file format. The first FONTGEN,
is created using the FONTGEN utilities found
on many Bulletin Boards. It is well worth the
download to get a copy of this program series.
The second file format is the IBM standard
layout as described in the PROPRINTER Manual.
Another sub-menu will be displayed requesting
the location and name of the font file to be
loaded.
A new sub-menu has taken the place of TOP
OF FORM. This is option L and will present a
sub-menu offering TOP OF FORM, Form length in
inches, Form length in lines and a Reset of the
printer. The Reset is taken from the Technical
Reference Manual and issues an interrupt 17H
with AH set to a 1. This option does not seem
to work on my Proprinter and as there is no
discussion in the Proprinter Manual of such a
feature, your helpful assistance is requested.
When changing the LPTx: option the selected
printer is now checked to ensure that it is
online. If the printer is not available, i.e.,
turned off or offline, the program will notify
you when selecting the printer. However, if
you are sending a command string and the printer
is unavailable, the program will sit patiently
and wait for you to turn on the device.

Version 2.1 (01/27/86) - Moved save of current path, FCB and DTA to Font
routine in order to speed up execution for
non-font requests.

Version 3.0 (02/21/86) - Added ability to run as a batch program. Allowed
selection for color or black/white for users of
amber/green high res screens. Rewrote documentation.
Added screen to show how parameters are entered in
the event they are incorrectly entered. Converted
all DOS Interrupt (21H) calls to ROM BIOS calls
as the DOS calls were destroying the DOS stack
when called from a resident program. See the small
print in the DOS manual ! Added ability to turn
sound on and off. Fixed cursor mode on Monochrome.
Added ability to select the Hot-Key Combination to
activate the memory resident version. Gave ability
to run as a DOS batch program. Changed Printer
Reset routine to pass individual parameters. Added
ability to set the internal drive table to specific
configuration requirements.

Version 3.1 (03/04/86) - Added code to determine 12 or 16 bit fat based on the
cluster size comments on page 122 of Peter Noton's
book PROGRAMMER'S GUIDE TO THE IBM PC (c) 1985. Fixed
problem where initial address of LPT1: was hard coded
and not from printer base table. Added routine to
print envelopes while in PRO-SET. Routine supports
Standard and Legal size envelopes. Many thanks to
Ed Feins of CFONJ for putting up with my feeble
attempts at programming and making this update
possible.

Version 3.2 (03/11/86) - Deleted all references to BIOS routines, now using
Interrupt 21H functions 3D, 3E and 3F. This
includes the drive location table parameter (D=)
which was removed. Added ability to preload a return
address via the parameters, see A=. While the BIOS
routine worked fine on Floppies and 10 Meg hard disks,
it had serious problems with DOS 3.1 and hard disks
in the 16 bit FAT category. If and when decent
documentation is available on these problems BIOS
may reenter the PRO-SET world. Again thanks to
Ed Feins and Eric Rintell for their cooperation and
spirit of adventure !

Version 3.3 (04/07/86) - Added ability to create, download and/or save
font characters you have created. Fixed bug in
data set processing of drives other than current
drive. Tested the INIT line reset technique shown
in the current issue of PC Tech Journal for reset
of the Proprinter. Since it does not do a complete
reset the previous routine was retained.

Version 3.4 (05/02/86) - Added a typewriter mode for entering and printing
a page of output.


Version 3.5 (03/25/88) - Added cancel of automatic perforation skip to
Reset function. Corrected bug in descender which
manual incorrectly describes. Many thanks to those
of you who took the time to drop a comment on my
efforts. This is the last release, as I don't
use the program myself anymore. The assembler
source is included for those of you who want to
have some fun ! If you make any changes please
remove my name before distributing to anyone.
Note that PRO-SET was created using the PHOENIX
software packages PMATE, PASM86 and PLINK86 plus.



 December 17, 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>

(required)

(required)