The information in this article applies to:
- Microsoft Windows operating system versions 2.x, 3.0, 3.0a
- Microsoft Word for MS-DOS, version 5.0
SUMMARY
There are several ways to transport graphics from Microsoft Windows to
Microsoft Word for MS-DOS, version 5.0. This article outlines the
procedures for these methods.
MORE INFORMATION
Clipboard
Using the Clipboard is the quickest and most direct way to import a
graphic to Word 5.0. The procedure is as follows:
- Copy the graphic to the Windows Clipboard in bitmap form. You can
check to see if it is a bitmap by loading CLIPBRD.EXE from Windows.
From Excel, you can put a bitmap on the Clipboard by holding down
the SHIFT key, choosing Edit Copy Picture, selecting As Shown On
Screen, and pressing SHIFT+ENTER.
- Run Word 5.0 under Windows. If necessary, close all Windows
applications to free memory, but do not close Windows itself. The
Clipboard will retain the image as long as Windows is running.
- In Word, choose Library Link Graphic and choose Clipboard (the
keystroke sequence is ESC L L G F1 ENTER).
- To verify that the graphic was successfully linked, choose Print
Preview (the keystroke sequence is ESC P V). If the graphic appears
in the preview, it has been successfully linked.
If either of the following occurs, you must resize the image to make
it smaller:
- Word reports the following error immediately after linking the
graphic:
No bitmap found in Clipboard
- Word reports the following error when in Print Preview:
Cannot link graphic UNTITLED.P00. Word is unable to process
information in file.
If you do not want to make the graphic smaller, you can use one of the
methods listed below.
PCX Format
Copy the graphic into PC Paintbrush Plus as a bitmap for Windows and
save the file in PCX format. This method will retain the color of the
image.
HPGL Format
The following method is best used when memory is short. It retains the
colors of the picture. If you do not know how to print to a file from
Windows, see "Printing to a file" below. To create an HPGL file, do
the following:
- Add a filename followed by an equal sign to the [ports] section of
the WIN.INI.
- Exit and restart Windows.
- Run the Windows Control Panel.
- Select Setup Connections.
- Connect the HP plotter to the filename and select OK.
- Choose Setup Printer.
- Make sure that HPPLOT on <<filename>> is selected and press ENTER.
- From the Devices menu in the HP plotter driver, select the ColorPro
7440a.
- Select "preloaded" and change orientation to landscape.
- Press ENTER and close the Control Panel.
- Print the graphic from the Windows application.
- Start Word (either inside Windows or from DOS) and choose Library
Link Graphics.
- Type the name of your print file.
- Type HPGL under File Format.
- Choose Print Preview to view the linked graphic.
PostScript or Printer File
The PostScript or printer file method also works well when memory is
low. The main disadvantages are the following:
- Word must be installed for the same type of printer as Windows.
- The graphic does not show in Page Preview. Word does, however,
reserve space in the document for the picture, and the graphic will
print properly.
To create a printer or PostScript file, do the following:
- Print to a file with the appropriate driver from Windows.
- Start Word.
- Link the graphic with the keystrokes ESC L L G.
- Type the name of the print file.
- Under File Format, type printer or PostScript.
To print to a file from Windows, do the following:
- Locate the line "Spooler=yes". It should be near the top of the
file. Change the line to read "Spooler=no". This statement turns
off the Windows print spooler.
- Locate the [ports] section of the WIN.INI file. This section is
usually about one-half to three-quarters of the way through the
file.
- In the [ports] section, add the line "C:\OUTPUT.PRN=" (without the
quotation marks).
- Save the modified WIN.INI. If you did this editing from within
Windows, quit and restart Windows to put the modifications into
effect.
- Run the Control Panel and choose Connections from the Setup menu.
- Connect the printer to the port C:\OUTPUT.PRN.
- Close the Control Panel and print your document. With this method,
the document prints to a file called OUTPUT.PRN; the printer is not
involved. OUTPUT.PRN will be located in C:\ or whichever drive you
specified.
- When the application prints its output to the file and disk
activity ceases, the print file is completed.
|