home *** CD-ROM | disk | FTP | other *** search
-
-
- DVSETPRT
- Desqview MX 80 printer setup utility
- (c) Daniel T. Travison Jr., 1987
-
- GEnie Email: D.TRAVISON
-
- Non-Electronic Mail:
- P.O. Box 165
- Burnt Hills, NY 12027
-
- Dvsetprt.com is a simple program designed to send some of the
- common MX 80 control code sequences. I wrote is specifically
- to give me a chance to work with the BIOS printer services as
- well as try out a few more Desqview routines. It requires a
- minimum amount memory to run. In fact it is replacing an
- almost identical PD utility that required twice the space. I
- only included the some common used control codes since I had
- no intention of writing something more extensive at this time.
- I hope you can find a use for it from time to time. I have
- included NO instructions simply because I believe none is
- really needed. Simply install it using the .DVP included in
- the archive and you are all set to go. If the printer is not
- ready Desqview will 'pop-up' an error window. Correct the
- problem then press ESCAPE to clear the error message. The
- program currently can not detect when other programs are
- using the printer. The program will stop in its tracks until
- the contention is resolved. Currently, LPT1 is the ony port
- supported.
-
- You are granted permission to distribute this program with the
- stipulation that NO remittance is accepted for either the program
- or handling and distribution charges. This program may not be
- distributed with other programs on disk if a charge is incurred
- for any program or for the medium. In other words, if there is
- a charge involved then you do not have permission to include this
- program, period!
-
- ╒══════════════════════════════════════════════════════════════════════════╕
- │ The author makes no warranties expressed or implied as to the quality or │
- │ performance of this program. The author will not be held liable for any │
- │ direct, indirect, incidental or consequential damages resulting from │
- │ the use of this program. Your use of this program constitutes your │
- │ agreement to this disclaimer and your releasing the author from any form │
- │ of liability or litigation. │
- ╘══════════════════════════════════════════════════════════════════════════╛
-
-
-
- Desqview routines used:
-
- 1: Checks for the presence of Desqview and exits with an error
- if Desqview is not found.
-
- 2: The program writes directly to the screen buffer provided by
- Desqview.
-
- 3: The program releases the rest of the time slice when ever it
- finishes sending codes to the printer as well as when there
- are no keystrokes waiting to be processed.
-
- 4: Desqview interface for generating tones.
-
- 5: Desqview interface for displaying the error message. This
- used when an error occurs with the printer.
-
- Requirements:
-
- Desqview 2.0 :You MUST have this version or later
-
- Dvsetprt.com :the executable program
-
- Sp-pif.dvp :the program information file used by desqview
- (see next section)
-
- Reasonable compatability with the 'standard' IBM is assumed when
- running this program. I use interupt 16h to check for key
- strokes pending and to retrieve the same. INT 17h is used for
- printer handling.
-
-
-
- Program information file:
-
- I have provided the 2 screens from 'Change A Program' to illustrate
- the required settings should the Sp-pif.dvp be missing or incorrect.
- Five points should be noted:
-
- 1: Memory size is set to 2k. More is not needed, less will
- produce an error message.
-
- 2: Maximum and starting screen size is set to 19 for the height
- and 30 for the width. Increasing values will distort the
- display. Decreasing these values can cause serious problems
- when the program tries to write to memory that is not
- allocated to it.
-
- 3: All memory options on the Advanced screen are set to zero.
- changing this will only allocate memory to the program
- that will not be used and is therefore wasted.
-
- 4: The close on exit to DOS option is set to yes. This
- allows Desqview to use its own shell.com instead of
- command.com to load the program. The saves a nice
- chunk of memory that would otherwise be wasted.
-
- 5: The program will appear on the Add a program (other)
- menu as Desqview Set Print. Keep this in mind in case
- you have a problem finding it.
-
-
-
-
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │ Change a Program │
- │ │
- │Program Name............: Desqview Set Print │
- │ │
- │Keys to Use on Open Menu: SP Memory Size (in K): 2 │
- │─────────────────────────────────────────────────────────────────────────────│
- │Program...: DVSETPRT.COM │
- │ │
- │Parameters: │
- │ │
- │Directory.: C:\DV │
- │─────────────────────────────────────────────────────────────────────────────│
- │Options: │
- │ Writes directly to screen......: [N] │
- │ Displays graphics information..: [N] │
- │ Can be swapped out of memory...: [Y] │
- │ Requires floppy diskette.......: [N] │
- │ │
- │ Press F1 for advanced options Press ─┘ when you are DONE │
- └─────────────────────────────────────────────────────────────────────────────┘
-
-
-
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │ Change a Program Advanced Options │
- │ │
- │System Memory (in K).......: 0 Maximum Program Memory Size (in K)..: │
- │ │
- │Script Buffer Size.......: 0 Maximum Expanded Memory Size (in K): │
- │ │
- │Text Pages: 1 Graphics Pages: 0 Initial Mode: Interrupts: 00 to FF │
- │─────────────────────────────────────────────────────────────────────────────│
- │Window Position: │
- │ Maximum Height: 19 Starting Height: 19 Starting Row...: 3 │
- │ Maximum Width.: 30 Starting Width.: 30 Starting Column: 29 │
- │─────────────────────────────────────────────────────────────────────────────│
- │ Shared Program │
- │Pathname..: │
- │ │
- │Data......: │
- │─────────────────────────────────────────────────────────────────────────────│
- │Options: │
- │ Close on exit to DOS.........: [Y] Uses its own colors.........: [N] │
- │ Allow Close Window command...: [Y] Runs only in foreground.....: [Y] │
- │ Uses math coprocessor........: [N] Keyboard conflict (0-4).....: [0] │
- │ │
- │ Press F1 for standard options Press ─┘ when you are DONE │
- └─────────────────────────────────────────────────────────────────────────────┘
-
-
- Compatability:
-
- This program has been successfully run on the following
- three machines:
-
- 1: Compaq 386 (CGA emulation)
-
- 2: IBM 8mhz AT (monochrome graphics)
-
- 3: My 8mhz XT. (color) This machine is an example
- of the extreme in that the parts were purchased
- from at least 7 different manufactures, none of
- which are known for their large market share.
- The CPU is a NEC V20 and the BIOS is by PHEONIX
- (version 2.26)
-
- The End:
-
- I have written this program because I have not found a
- satisfactory alternative. I have learned a little about
- assembler along the way and consider that sufficient
- compensation for the time and effort spent on this
- program. I do have an EGO so feel free to send comments
- using one of the methods provided above. Users that are
- in the same stages of learning assembler as myself may
- have a copy of the source as an example of actual uses
- for the routines Quarterdeck provides. Experienced
- assembler programmer's will be bored and only point out
- all the different areas where my ignorance of assembler
- shines through.
-
-
-