PRINT command

Prints a text file, an Analytics log file, or an Analytics project item that has been exported as an external file – a script (.aclscript), a table layout (.layout), or a workspace (.wsp). You can also print a graph that has been generated by a command.

Syntax

PRINT {file_name|GRAPH}

Parameters

Name Description
file_name | GRAPH

The item to print:

  • file_name the relative or absolute path and file name of the file to print

    For example, "C:\ACL Data\Sample Data Files\ACL_Demo.log" or "Sample Data Files\ACL_Demo.log".

    If the path or file name includes spaces you must enclose file_name in quotation marks.

  • GRAPH the graph previously output as the result of a command

Examples

Printing a log file

To print the log file for the ACL_Demo.acl project, specify the following command:

PRINT "C:\ACL Data\Sample Data Files\ACL_Demo.log"

Printing a graph

To print the graph produced from the BENFORD command, specify the following commands:

OPEN Metaphor_APTrans_2002
BENFORD ON Invoice_Amount LEADING 1 TO GRAPH
PRINT GRAPH

Remarks

Selecting a printer

The printer used is the default printer configured in Microsoft Windows. To change the printer you need to change the default printer in Windows.

Related commands

To print the contents of an Analytics table in a project, use the DO REPORT command.

ACL Scripting Guide 14.1