Exporting Graphics from Windows to Word 5.0

Last reviewed: November 23, 1994
Article ID: Q46056
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:

  1. 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.

  2. 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.

  3. In Word, choose Library Link Graphic and choose Clipboard (the keystroke sequence is ESC L L G F1 ENTER).

  4. 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:

  1. Word reports the following error immediately after linking the graphic:

          No bitmap found in Clipboard
    

  2. 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:

  1. Add a filename followed by an equal sign to the [ports] section of the WIN.INI.

  2. Exit and restart Windows.

  3. Run the Windows Control Panel.

  4. Select Setup Connections.

  5. Connect the HP plotter to the filename and select OK.

  6. Choose Setup Printer.

  7. Make sure that HPPLOT on <<filename>> is selected and press ENTER.

  8. From the Devices menu in the HP plotter driver, select the ColorPro 7440a.

  9. Select "preloaded" and change orientation to landscape.

  10. Press ENTER and close the Control Panel.

  11. Print the graphic from the Windows application.

  12. Start Word (either inside Windows or from DOS) and choose Library Link Graphics.

  13. Type the name of your print file.

  14. Type HPGL under File Format.

  15. 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:

  1. Word must be installed for the same type of printer as Windows.

  2. 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:

  1. Print to a file with the appropriate driver from Windows.

  2. Start Word.

  3. Link the graphic with the keystrokes ESC L L G.

  4. Type the name of the print file.

  5. Under File Format, type printer or PostScript.

To print to a file from Windows, do the following:

  1. 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.

  2. 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.

  3. In the [ports] section, add the line "C:\OUTPUT.PRN=" (without the quotation marks).

  4. Save the modified WIN.INI. If you did this editing from within Windows, quit and restart Windows to put the modifications into effect.

  5. Run the Control Panel and choose Connections from the Setup menu.

  6. Connect the printer to the port C:\OUTPUT.PRN.

  7. 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.

  8. When the application prints its output to the file and disk activity ceases, the print file is completed.


KBCategory: kbother kbinerop
KBSubcategory: win30
Additional reference words: 3.00 3.0 3.0a 3.00a win30


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 23, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.