" #
BayTech provides utility software which allows you to conveniently select between peripherals for IBM DOS and Microsoft Windows applications. Port selection is as easy as activating hot keys or by using a mouse. Please see Section 4.2 for more information.
There are alternative methods to peripheral selection. One method is to make the port select sequence the first characters of the text. These characters will be trapped by Print Master and not sent to the printer. This method will work only if the text of the print file is sent in an ASCII format.
You may wish to write your own program for sending the port select sequence to Print Master instead of inserting it into the document or utilizing the supplied support software. A simple procedure when using word processing programs is to create an ASCII file for each printer which contains the Port Select Code and printer port number. When you wish to select a particular device, you simply print this file followed by the actual print file.
You may use a DOS batch file to send a port select sequence. The DOS command typically used is the ECHO command. An example of the ECHO command used to select a printer connected to Port 2 using the default Port Select Code is the following:
ECHO $PRINTER2>LPT1:.
This command should be entered in all capitals with only one space between ECHO and the $. Please refer to your DOS manual for instructions on creating DOS batch files.
31