The IDE’s Print command uses the default printer that has been designated in the operating system’s Control Panel. To print the code from the module currently active in the Visual Basic Editor, follow these steps:
1. From the IDE, select a module and choose File ^ Print. This displays the Print – ACADProject dialog box, shown here:
2. Click Setup to open the Print Setup dialog box (Figure 3.10). You’ll see the familiar Print Setup dialog box that you’ve likely worked with in other Windows applications. These settings are set to values retrieved from the Microsoft Windows operating system environment.
3. Click OK to accept the current settings. The Print Setup dialog box closes, and you return to the Print – ACADProject dialog box.
Figure 3.10 The Print Setup dialog box displays the name of the default printer and other values retrieved from the Microsoft Windows environment.
4. In the Range frame, the Current Module option button is selected by default. If necessary, select the Form Image check box under Print What and click OK. The code from the active module is sent to the default printer, the ACADPro-ject dialog box closes, and you return to the IDE.
Menu Commands with an Ellipsis
Some menu commands end with an ellipsis (…) to let you know that a dialog box will appear when you select that command.An example is the Print. command in the File menu.
Some of these dialog boxes contain information taken straight from the Microsoft Windows environment—so you’re ready to roll just with these default options.