cancel
Showing results for 
Search instead for 
Did you mean: 

LMS Test.Lab: Format Based Printing with PowerPoint

Siemens Genius Siemens Genius
Siemens Genius

(view in My Videos)

 

LMS Test.Lab: Format Based Printing with PowerPoint

 

Make beautiful, multi-page PowerPoint reports! Automatically annotate without lifting a finger!

 

Did you know that you can print directly to a PowerPoint file in LMS Test.Lab?

 

Read on to find out more!

 

Printing Options

 

First change the printing options by selecting ‘File -> Printing Options…’ from the main LMS Test.Lab menu (Figure 1).

 

Figure 1: Choose “File -> Printing Options” to print to PowerPoint files directly.Figure 1: Choose “File -> Printing Options” to print to PowerPoint files directly.

In the ‘Printing Options’ menu, change the following as shown in Figure 2:

 

Output

  • Set ‘Default Microsoft Office Application’ to PowerPoint
  • Set ‘Electronic’ as the default print destination
  • Turn on OOXML. With the newer versions of office, this makes *.pptx files rather than *.ppt files.  The *.pptx files are smaller and faster.

General Settings

  • Set ‘Use picture settings from’ to ‘Test.Lab Pictures’. The linestyles and grid settings will be in the resulting PowerPoint as shown in LMS Test.Lab when printing

Settings for electronic:

  • Turn on ‘Combine multiple documents into a single document’ – A very useful option for making multiple page reports, as will be seen later

Figure 2: ‘Printing Options…’ MenuFigure 2: ‘Printing Options…’ Menu

When finished making the changes, press the “OK” button. 

 

Printing to PowerPoint

 

A display layout can be printed directly to a PowerPoint file by clicking on the layout tab (near the downward blue arrow) and selecting “Print” as shown in Figure 3.

 

Figure 3: Click on the layout tab (near the downward blue arrow) and select “Print”.Figure 3: Click on the layout tab (near the downward blue arrow) and select “Print”.

Because PowerPoint was selected under Printing Options, the user is prompted for a power point file name for storing the plot from the ‘Select a file to print to:’ menu as shown in Figure 4.

 

Figure 4: ‘Select a file to print to:’ menu allows PowerPoint to be stored to any directoryFigure 4: ‘Select a file to print to:’ menu allows PowerPoint to be stored to any directory

The PowerPoint plot can be stored in any directory and be given any file name. Press “Save” when finished. A PowerPoint file will be generated and stored in the directory.

 

Default PowerPoint format

 

After opening the PowerPoint that was just created, one can see that some improvements could be made to the plot: bigger picture, company logo, etc.  The default PowerPoint plot has a small picture and lots of white space as shown in Figure 5.

 

Figure 5: Default plot has small picture, lots of white spaceFigure 5: Default plot has small picture, lots of white space

A format file can be created to improve the look of this plot!

 

Changing the Default PowerPoint Format

 

To create a custom, cool default format for a layout, click on the layout tab (near the downward blue arrow) and select ‘Make PrintFormat…’ as shown in Figure 6.

 

Figure 6: Click on the layout tab (near the downward blue arrow) and select ‘Make PrintFormat…’Figure 6: Click on the layout tab (near the downward blue arrow) and select ‘Make PrintFormat…’

A ‘Create PrintFormat’ menu is opened (Figure 7).  The default name of the new format is the same as the layout.

 

Pressing the “OK” button will create a default PowerPoint format to associate with the layout. This format will be stored in a default directory: C:\LMS\UserConfiguration\{login}\LMS Test.Lab {Rev}\PrintFormats.  The directory cannot be changed by the user, but Format files can be copied and pasted between different logins/systems to and from this directory.

 

Figure 7: Use the default name and press OK.Figure 7: Use the default name and press OK.

PowerPoint will open up with the default format which can be edited and changed. For example, a logo can be added, and the graph can be resized (Figure 8). Choose ‘File -> Save’ in PowerPoint when done.

 

Figure 8: PrintFormat with added logo and resized graphFigure 8: PrintFormat with added logo and resized graph

Automatic Annotation

 

To have annotation appear automatically, use the add-in tab (Figure 9).  If LMS Test.Lab in installed on the PC, there will be several add-in elements:

 

  • New Picture: Creates a new picture (ie, FrontBack, Waterfall, 2x3, etc) in the PowerPoint format
  • New Field: Used to place a text string in the format that will automatically be filled in during plotting, for example LMS Test.Lab Project Name, Run Name, Number of averages, etc.
  • Edit Field: Modify existing text field to different value.
  • About: Indicates revision of LMS Test.Lab associated with add-in

To create an automatically updating text field, choose “New Field” from the add-in area (Figure 9) after selecting a picture in the format.

 

 

Figure 9: For automated text, use the “Add-in” tab in Powerpoint and “New Field”Figure 9: For automated text, use the “Add-in” tab in Powerpoint and “New Field”

If a warning message “No Picture Selected” appears, it means that a picture was not selected prior to pressing ‘New Field’ (Figure 10).  Because there can be multiple pictures within a format, the software needs to know from which picture the text should be generated from.

 

Selecting a picture means simply clicking one on the graph before pushing the “New Field” button.

 

Figure 10 – “No Picture Selected” warningFigure 10 – “No Picture Selected” warning

Once a picture is selected, choose “New Field”.  In the resulting menu ‘Select Display Dependent Attribute’ (Figure 11), just about any meta-information associated with the data can be displayed, including:

 

  • Lab -> Project -> Name: Name of the project from the data
  • Lab -> Project -> UA:##: User attributes from documentation tab
  • Lab -> Run -> Name
  • Lab -> Block -> Section Value: Order Number
  • Lab -> Block -> Point Id
  • Lab -> Block -> Function Class

Figure 11: To add a project name to the plot, choose “Test.Lab -> Project -> Name” and press “Add”Figure 11: To add a project name to the plot, choose “Test.Lab -> Project -> Name” and press “Add”

Press the “Add” button to create annotation on the plot. Position where desired as shown in Figure 11. There is no limit to the number of attributes which can be added.

 

Figure 11: Position text in PowerPoint formatFigure 11: Position text in PowerPoint format

Choose ‘File -> Save’ in PowerPoint and exit.  Now choosing “Print” on the layout tab will now create PowerPoint files with a logo, automatic user annotation, and larger graph (Figure 3).

 

Multi-Page PowerPoint

 

By choosing ‘File -> Print’ from the main menu of LMS Test.Lab, a multi-page report can be made (Figure 12).

 

Figure 12: Choose ‘File -> Print’ from main menu to make multi-page PowerPoint. Each display layout in LMS Test.Lab becomes a separate page in the resulting PowerPoint.Figure 12: Choose ‘File -> Print’ from main menu to make multi-page PowerPoint. Each display layout in LMS Test.Lab becomes a separate page in the resulting PowerPoint.

Each layout/picture in the current section of LMS Test.Lab becomes a separate page in the resulting PowerPoint.  A unique format can be associated with each display.

 

Batch Reporting

 

A PowerPoint format can also be used in conjunction with LMS Test.Lab Batch Reporting to create multi-page reports in an automated fashion.

 

Replace Data Origin

 

This multi-page feature is very useful when used in conjunction with the ‘Replace Data Origin’ layout feature. In any display layout, choose ‘Replace Data Origin’ to automatically substitute data across multiple pictures on either a Project, Section or Run basis.

 

Related Display and Plotting Links:

Comments
Dreamer
Dreamer

By default batch reporting tool prints an active picture. My template has 3 waterfall plots and 2 frontbacks. Hence I get an error - 'exceeded 8 MB limit, Cannot use OOXML for this dataset'. How create a batch report with bitmap pictures so that my report ends up being smaller in size ?

Siemens Legend Siemens Legend
Siemens Legend

Hello ,

 

Microsoft has enforced the 8 MB limit with the OOXML (*.docx and *.pptx) formats.   We don't have a workaround for OOXML formats other than use pictures less than 8 MB.

 

I suggest saving your print format as *.ppt or *.doc and then in LMS Test.Lab under File, Printing option you can turn off OOXML.  You can then print using active pictures or not, whichever you prefer.

 

Prining without OOXML formats is quite a bit slower though.

 

Contributors