HTBasic Help
×
Menu
Index

Device Setup

 
The following sections describe how to load drivers for instruments and devices based on LXI, IEEE-488 (GPIB), GPIO, Serial, USBS, and Parallel Ports, as well as drivers for the CRT, KBD, Processor, and Printer which are bundled with HTBasic. A total of 32 drivers can be assigned to an available ISC (Interface Select Codes) which can be specified in the Device Setup Dialog or in the AUTOST file.
 

Device Setup Dialog

To load an I/O Device Driver using the Device Setup Dialog box, select Tools | Device Setup. This will cause the "Device Setup" dialog box to appear. Loading drivers using LOAD BIN or equivalent statements,  will cause them to appear in the list of drivers listed in the "Device Setup" dialog box.  The "Device Setup" dialog box displays the Name, Version, Description, Status, and the associated ISC (if applicable) of the driver. The Status of the drivers will indicate whether or not they are loaded (See Figure 6-1).
 
 
Click on the "Add" button of the dialog box.  This will cause the "Device Driver Selection" dialog box to appear. Highlight the desired device driver. To add a printer,  select  "WIN-PRNT: Windows Print Manager Driver". Once "Add" has been selected, the "Configure Print Driver Properties" dialog box will appear.
 
In this dialog box, you can select the print driver configuration you desire.  For the print driver, you can choose associations for a printer, a font, a page orientation and an ISC, as well as set properties for the printer.  Once you have made the desired selections, click on the "OK" button of the dialog to confirm your choices.  The new print driver will now appear among the list of drivers.
 

Driver Unloading and Removal

From the Device Setup dialog, select the print driver you wish to remove from the list of drivers. Next Unload the driver if it is loaded. Then to remove the driver, click on the "Remove" button of the dialog box. Note: the default print driver cannot be removed. The selected print driver will now be removed from the list of drivers.
 
To modify the configuration for a driver, select File | Device Setup.  This will cause the "Device Setup" dialog box to appear.  Select the driver you wish to modify from the list of drivers and click on the "Properties" button of the dialog box.  Once "Properties" has been selected, the driver’s properties dialog box will appear.  In this dialog box, you can modify the selected driver.
 
For the print driver, you can choose to modify any of the settings associated with the print driver, including the printer, font, page orientation, ISC and the properties associated with the printer itself.  Once you have made the desired modifications, click on the "OK" button of the dialog to confirm your choices.  The modified print driver will now appear among the list of drivers.