Microsoft KB Archive/46056

{|
 * width="100%"|

Exporting Graphics from Windows to Word 5.0

 * }

ID: Q46056

-

The information in this article applies to:


 * Microsoft Windows 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.

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:

  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 &quot;Printing to a file&quot; 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 < > is selected and press ENTER.
 * 8) From the Devices menu in the HP plotter driver, select the ColorPro 7440a.
 * 9) Select &quot;preloaded&quot; 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:

  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=. Save the modified WIN.INI. If you did this editing from within Windows, quit and restart Windows to put the modifications into effect.</li> Run the Control Panel and choose Connections from the Setup menu.</li> Connect the printer to the port C:\OUTPUT.PRN.</li> 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.</li> When the application prints its output to the file and disk activity ceases, the print file is completed.</li></ol>

Additional query words: 3.00 3.0 3.0a 3.00a win30

Keywords :

Version : MS-DOS:5.0; WINDOWS:2.x,3.0,3.0a

Platform : MS-DOS WINDOWS

Issue type :

Technology :