WNDEXEC INSTRUCTIONS FOR WINDOWS 95 GENERAL This document gives specific instructions and considerations for using the WNDEXEC port selection software under Windows 95. The BayTech port select software for Windows provides an easy way for users to select printers or computers connected to BayTech peripheral sharing solutions while operating under the Windows environment. Once the software has been copied, installed, configured, and loaded, you simply highlight and click on the "WNDEXEC" icon followed by the desired peripheral or computer. The program automatically sends out the necessary port select codes required by the BayTech equipment to select specific peripherals or computers. In this README file, we assume that you have some experience with working under the Microsoft Windows environment. Therefore, we will not provide instructions on how to use Windows, but rather how to load and use the BayTech port select program for Windows. Before you begin, you should have some basic information concerning your peripheral sharing application using BayTech equipment. You should know the following: 1, The BayTech model number you have purchased (e.g., 706A, 804E, Model 24, etc.). The model number is silk screened on the front panel of your unit. 2. Which ports on the BayTech unit you will be connecting your equipment to and the port designations of these ports (computer or printer). Please see the configuration section of your manual. 3. The printer/port select code (e.g. $PRINTER or $SELECT). 4. The physical I/O port on your computer that you will use to connect to your BayTech unit (e.g., LPT1, COM1, etc.). It is a good idea to configure your BayTech peripheral sharing unit prior to installing the software onto your computer. Please see your Operator's Manual for instructions. NOTE: You may wish to print out a copy of your BayTech unit's configuration status menu to obtain the information required in steps 2 and 3 above. -1- The WNDEXEC program and associated files are copied from the utility software diskette to the PC's hard drive by running the INSTALL program. The relevant files are: WNDEXEC.EXE, BTINIT.CFG, 706.CFG, 708.CFG, 710.CFG, 804A.CFG, 804.CFG, 808.CFG, 810.CFG, M24-SI04.CFG, M24-SI08.CFG, M24-SI12.CFG, M24-SI16.CFG, M24-SI20, M24-SI24, and M24SII.CFG. INSTALLATION INSTRUCTIONS After you have copied the relevant files to a subdirectory, use the following instructions to install WNDEXEC under Windows 95: 1. Select "Start". 2. Select "Settings" followed by "Taskbar". A window titled "Taskbar Properties" will appear. Select "Start Menu Programs" followed "Advanced". A window titled "Exploring - Start Menu" will appear. Double click on "Programs". 3. Highlight the desired program area under programs (e.g., Applications, Start Up, etc.) with a single click. Single click on "File" in the upper left corner of the "Exploring - Start Menu". Select "New" followed by "Shortcut". A window will appear titled "Create Shortcut". Select "Browse". 4. Double click on the subdirectory that was created by running the INSTALL program. Double click on WNDEXEC. Select "Next" followed by "Finish". This action will add WNDEXEC to the program area specified in Step 3 above. 5. Highlight WNDEXEC with a single click. Select "File" in the upper left corner of the "Exploring - Start Menu. Select "Properties". A menu titled "Wndexec Properties" will appear. Select "Shortcut" from this window. The "Target" field will contain the subdirectory name created by running the INSTALL program followed by \WNDEXEC.EXE. For example, if the default subdirectory name is used (BAYTECH), the "Target" field will contain C:\BAYTECH\WNDEXEC.EXE. Move the cursor to the end of this command and single click. Type a space followed by the .cfg file corresponding to the BayTech product you have purchased (e.g., 708.CFG, 804.CFG, M24.CFG, M24SII.CFG, etc.). For example, if you have a Model 708E, the "Target" field will contain C:\BAYTECH\WNDEXEC.EXE 708.CFG -2- NOTE: If you are using a Model 24 Series I peripheral sharing unit, there are multiple .cfg files to choose from depending on the number or ports you have installed. The files are named in the following format: M24-SIXX.CFG, where XX can be 04, 08, 12, 16, 20, or 24. Type or select "OK". 6. Configure WNDEXEC to match your application as described in CONFIGURATION INSTRUCTIONS. CONFIGURATION INSTRUCTIONS Once you have installed the BayTech port select software in the Windows Applications, you are ready to configure the software for your application. IMPORTANT: You must know how your BayTech peripheral sharing unit is configured before you configure the port select software. The parameters you need to know are the port select code, logical names, and port assignments. Please see the Configuration section in the Operator's Manual for instructions on reviewing the status menu of the BayTech peripheral sharing unit. Use the following procedure to configure the port select software: 1. Double click on the Wndexec icon. A BayTech icon will appear at the bottom of the screen. Click on this icon. 2. A window will appear titled "Available Printers". Select "Edit" to edit the .cfg file specified in the "Target" field in Step 5 on the previous page. A window will appear titled "BayTech" showing four selections: "System", "File", "Edit", and "Install". This window will be referred to as the Main Edit Window. NOTE: The "System" selection will show the current version of the port select software and does nothing to configure the port select software. -3- 3. Select "Edit" in the Main Edit Window. A window will appear with three selections: "Select Code", "Device Table", and "Port Definition". 3a. There is no need to choose the "Select Code" selection unless you have changed the default Port Select Code in your BayTech peripheral sharing unit (see owner's manual). If you have changed the port select code in your BayTech unit, you must change the Select Code in the port select software to match by highlighting and clicking "Select Code". You will be given a window showing the default select code for the file you have opened. Change this select code to match that of your BayTech peripheral sharing unit followed by "OK". 3b. Highlight and click the "Device Table" selection. A window will appear showing the BayTech model number in the title block. Other information shown will be "Port #", "Device Name", "Device Type", and "Printer Initialization". You should edit the device table to match the configuration status menu of your BayTech peripheral sharing unit (see Configuration section of Owner's Manual). NOTE: If you opened the M24-SII.CFG file (for the Model 24 Series II), you will receive a window titled "Model 24 Series II" with a "Choose Module" box inside. Highlight and click on the module number you wish to edit followed by "OK". This action allows you to edit the device table for the Model 24 Series II one module at a time. NOTE: The "Port #" in the device table cannot be changed. The "Device Name" is used for identification purposes to give you a verbal description of the device connected to that port (e.g., HP Laserjet, Dot Matrix, Modem, Main Frame, etc.). The "Device Name" will typically match the Logical Name assigned to the port in the BayTech peripheral sharing unit's configuration. The "Device Type" must match the port assignment in the configuration status menu of your BayTech peripheral sharing unit (computer or printer). In order to change the "Device Type", simply highlight the assigned device type shown and click once. -4- You may program the port select software to send printer initialization codes if you wish. Printer initialization codes are typically be used to instruct the printer to print in a certain mode, such as Landscape Mode on a laser printer. In most cases, your application software will send any necessary printer initialization codes so there would be no need to enable "Printer Initialization". You may enable "Printer Initialization" for ports with a Device Type of Printer only. If you wish to enable "Printer Initialization", simply highlight and click on the Printer Initialization column for the appropriate printer port. You will be given a window titled "Printer Initialization Code". This window shows a list of the current initialization codes and options to "Add", "Change", "Insert", or "Delete". NOTE: The "Add" or the "OK" selections are the only valid ones during initial configuration. If you choose the "Add" selection, a Window will appear titled "Printer Initialization". This window gives you two fields to enter "Description" and "Initialization Code". The "Description" field will be included in a table along with any other initialization code descriptions. This table will be part of a secondary window titled "Initialization Codes" shown when you select a printer with printer initialization enabled. The information in the "Initialization Code" field will be the actual escape code sent when you select a printer with printer initialization enabled and then select the appropriate initialization code for that printer. NOTE: Escape characters should be entered in the "Initialization Code" field as hexadecimal characters enclosed by square brackets. For example, if you wish to send the two-character sequence E to an HP Laserjet printer, you would type [1B]E in the "Initialization Code" field. Please see the following note. NOTE: BayTech peripheral sharing units typically require a three character minimum print job. This means that your initialization code(s) must consist of at least three characters to ensure the BayTech peripheral sharing unit recognizes any initialization codes the port select software sends out. If the desired initialization code is less than three characters, you must insert null characters (00 Hex) in the initialization code to make the initialization code consist of at least three characters. In our previous example, since E is only two characters, you would type in [00][1B]E in the "Initialization Code" field. -5- NOTE: You may use the "Change", "Insert", or "Delete" options to edit the Printer Initialization window after initialization codes have been added. 3c. Select "Edit" in the Main Edit Window followed by "Port Definition". A window will appear titled "Port Definition" showing seven choices: "Lpt1", "Lpt2", "Lpt3", Lpt1.DOS, Lpt2.DOS, "Com1", and "Com2". Highlight and click on the appropriate port definition and then click "OK". The port definition must be the same physical I/O port your computer uses to connect to your BayTech peripheral sharing unit. 4. After you have made any necessary changes in the "Select Code", "Device Table", of "Port Definition" selections, you must save the changes. Select "File" followed by "Save" from the Main Edit Window. 5. Select "Install" from the Main Edit Window. A window will appear titled "Available Printers". This is the same window that will be shown when you execute the port select software once it has been installed and configured. You will be shown a table with a list of "Printers" along with selections marked "Clear Buffer", "OK", "Cancel", "PC's", and "Edit". At this point, if the list of printers shown in the table is correct, select "Cancel". OPERATION INSTRUCTIONS 1. WNDEXEC can be invoked automatically on bootup if it is added to Startup. If WNDEXEC is not added to Startup, you must load the software into Windows every time you enter Windows. This is done by selecting "Start" followed by "Programs". Next, highlight the program area where the WNDEXEC software was installed (e.g., Applications). The "Wndexec" program selection will appear adjacent to the highlighted program area. Single click on the Wndexec program. You will notice a "BayTech" icon appear at the bottom of your terminal screen. To activate the port select software from within Windows, single click on the BayTech icon. A window will appear titled "Available Printers". This window will show a table of printers and selections for "Clear Buffer", "OK", "Cancel", "PC's", and "Edit". -6- 2. You may select a printer by highlighting the desired printer in the table of printers and then clicking "OK". NOTE: If you enabled printer initialization codes as described in Step 3b of the Configuration Instructions, you will receive a secondary window titled "Initialization Codes". Highlight the appropriate initialization code followed by "OK". The "Initialization Codes" window will also give you "Cancel" and "Edit" selections. The "Cancel" selection will cancel sending any initialization codes. The "Edit" selection will give you the Main Edit Window. 3. If you sent a print job to your BayTech peripheral sharing unit by mistake, you may clear the buffer of this print job by selecting "Clear Buffer" in the "Available Printers" window. 4. If you wish to connect to another computer port to transfer information through your BayTech 800 Series, Model 24, or Model 24SII peripheral sharing unit, highlight and click on the "PC's" selection in the "Available Printers" window. A window will appear titled "Available Computers". This window shows a table listing the computers and selections for "Disconnect", "OK", "Cancel", "Printers", and "Edit". Highlight and click on the desired computer and then click "OK". If you get a connection to the requested computer, the "Available Computers" window will disappear. If the requested computer is busy, you will receive an error window. If this happens, click "OK" and try to connect to the desired computer later. After you have made a connection to another computer through your BayTech peripheral sharing unit, you can disconnect by highlighting and clicking the "Disconnect" selection in the "Available Computers" window. NOTE: The "Available Computer" window will only work with BayTech peripheral sharing units that allow computer to computer communications. Please refer to your Owner's Manual. NOTE: The "Printers" selection in the "Available Computers" window will return you to the "Available Printers" window. 5. The "Edit" selection in both the "Available Printers" and "Available Computers" windows will go to the Main Edit Window. 6. The "Cancel" and "OK" selections in the "Available Printers" and "Available Computers" windows have the same function as in other windows. -7-