Microsoft KB Archive/25418

Print Merging Graphs

PSS ID Number: Q25418 Article last modified on 11-02-1994

4.00 5.00

MS-DOS

= SUMMARY =

In Microsoft Word versions 4.0, 5.0 and 5.5 it is possible to merge graphs from different documents during a print merge. When using Microsoft Word Version 4.00, the graphs must be in the form of a print file, (created by printing an image to a file from a graphics program) not a graphics file created by saving an image in a graphics application. The usual syntax for integrating a graph into a Word Version 4.00 document is of the following form:

.P.filename, height

Everything, including the filename, is formatted as hidden text. This feature is also described on Pages 410 and 411 of the “Using Microsoft Word” manual.

When using Word Version 5.00, the graphs must be in one of the supported formats listed on Page 392 of the “Using Microsoft Word” manual. The supported formats are as follows:

Lotus PIC files PC Paintbrush PCX or PCC files Microsoft Pageview picture files HPGL Plotter Files (HP ColorPro – 7440) PostScript files TIFF B compressed or uncompressed TIFF G uncompressed Print Files as used with Word 4.00

The files are “linked in” using the Library Link Graphics command. For more information on this feature, please see Page 394 in the “Using Microsoft Word” manual.

If you want to merge in different graphs during a print merge process, use a variation on the standard form. The steps are as follows:

  Create a field name in the first line of the data document so that you have a field in which to store the name of each graph file you want to print. Then, use this field in each record to specify which graph you want printed. The following is a sample data document: name,address,zip,chrtname Bill Baxter,203 West Baker,59044,line.cht Ken Jackson,913 Magnolia Drive,31024,pie.cht   In the main document, enclose the field name for the graph in control brackets. The following is an example of the type of line needed in the main document when using Word 4.00: .P.< >,5 Remember that the .P. and the ,5 are formatted as hidden text. When using Word Version 5.00, the following example is correct: .G.<>;3“;5”;TIFF Remember that the entire line is formatted as hidden text. 

KBCategory: kbprint KBSubcategory: kbmerge Additional reference words: graphic ============================================================================= Copyright Microsoft Corporation 1994.