Following is a summary of the available commands and their syntax:
DATAFILE=<name of data file to be loaded into LogPlot>
REQUIRED
You may list the entire path of the data file, and the program accepts long file names with or without quotes.
Example: DATAFILE=c:\data files\logplot\project_a\hole_1.ldat8
Result: LogPlot will load the listed data file at startup.
FORMATFILE=<name of log design file to use>
Optional.
You may list the entire path of the design file, and the program accepts long file names with or without quotes. If none is listed in the batch file, the program will use the most recently-named design file, stored as default in the program's configuration file, and visible in the program itself in Options / Log Settings.
Example: FORMATFILE=c:\data files\logplot\project_a\striplog.LDFX8
Result: LogPlot will set the listed log design file as default until a different ".LDFX8" file is declared in the program or batch.
SCALE=<real number>
Optional.
This setting declares the vertical plotting scale for the log, expressed as a real number. If no scale is listed in the batch file, the program will use the default setting, stored in the program's configuration file and visible in Options / Log Settings.
Example: SCALE=15
Result: LogPlot will set the declared vertical scale as default until a different scale is declared in the program or batch.
INCHES=[YyTt or NnFf]
Optional.
This setting sets the scale units to inches (if the parameter is "Y", "y", "T", or "t") or to centimeters (if the parameter is "N", "n", "F", or "f"). If no units are declared in the batch file, the program will use the default setting, stored in the program's configuration file and visible in Options / Log Settings.
Example: INCHES=T
Result: LogPlot will set the declared scaling units as default until different units are declared in the program or batch.
DEPTH=<sign>
Optional.
This setting tells LogPlot whether your data is entered as positive or negative depths. Enter a + if the depths are positive or a – if they are negative. If no sign is declared in the batch file, the program will use the default setting, stored in the program's configuration file and visible in Options / Log Settings.
Example: DEPTH=-
Result: LogPlot will assume all depth data is entered as negative values.
CONTINUOUS=[YyTt or NnFf]
Optional.
This setting sets the "continuous" log setting to "Yes" (if the parameter is "Y", "y", "T", or "t") or to "No" (if the parameter is "N", "n", "F", or "f"). If no setting is declared in the batch file, the program will use the default setting. As with the other settings, this can be viewed/set in Options / Log Settings. If set to Continuous, a header is plotted at the top of the log, and a footer at the end of the log only, with middle pages having no header or footer.
Example: CONTINUOUS=T
Result: LogPlot will establish the declared header-on-every-page setting as default until a different setting is declared in the program or batch.
Note: This command is equivalent to the earlier "HEADER=" command.
MARGIN=<real number>
Optional.
This setting sets the margin below the header/above the footer setting to the real number value you declare. The value represents either inches or centimeters, depending on how you have configured the program (see INCHES, above). If no setting is declared in the batch file, the program will use the default setting, visible in Options / Log Settings.
Example: MARGIN=0.25
Result: LogPlot will establish the declared header/footer margin as default until a different setting is declared in the program or batch.
PATTERN=<real number>
Optional.
This setting sets the universal pattern density multiplier to the real number value you declare. (See Log Settings/Pattern Settings for more information about how this works.) If no setting is declared in the batch file, the program will use the default setting from the last time the program was run.
Example: PATTERN=1
Result: LogPlot will establish the declared pattern density multiplier as default until a different setting is declared in the program or batch.
TOP=<real number>
Optional.
This setting establishes the top of the log, in real number depth or elevation units. If no setting is declared in the batch file, the program will use the top-of-log declaration in the data file's Setup tab.
Example: TOP=0
Result: LogPlot will establish the declared top-of-log depth or elevation as default until a different setting is declared in the program, batch, or data file's Setup tab.
BOTTOM=<real number>
Optional.
This setting establishes the base of the log, in real number depth or elevation units. The base of the log must be less in value than the top of the log. If no setting is declared in the batch file, the program will use the base-of-log declaration in the data file's Setup tab.
Example: BOTTOM=-100
Result: LogPlot will establish the declared bottom-of-log depth or elevation as default until a different setting is declared in the program, batch, or data file's Setup tab.
DISPLAY
Optional.
If this command is present it compiles the declared data file and displays the completed log. The program will use the parameters declared in the batch file for scaling, log design file name, and other settings. If these are not present it will use the most recently used settings (stored in the program's configuration file and visible in Options / Log Settings).
SAVEFILE=<filename>
Optional.
This command tells the program to compile the declared data file and to store the completed log plot on disk, under the LPT file name that you specify. You may list the entire path for the LPT file, and the program accepts long file names with or without quotes. When used with the DISPLAY command the named file will be loaded into the LogPlot viewer. Without the DISPLAY command LogPlot will exit once the LPT file has been saved.
Example: SAVEFILE=c:\data files\logplot\project_a\hole_1.lpt8
HTMLFILE=<filename>
Optional.
This command tells the program to compile the declared data file and to export the completed log plot to HTML format, under the HTML file name that you specify. (As discussed in the Log View section of this documentation, this export involves saving JPEG image(s) of each log page and then listing these in a HTML table.) You may list the entire path for the output file, and the program accepts long file names with or without quotes. The JPEG images will be stored with the same file name as the one you declare for the HTM file, with a "1", "2", etc. appended.
You can use the optional quality command (below) to adjust the output quality of the JPEG image(s).
When used with the DISPLAY command (above) the HTML file will be loaded into your default browser, and the LogPlot program will be closed. Without the DISPLAY command LogPlot will exit once the HTML file has been saved, but the log will not be displayed in the browser.
Example: HTMLFILE=c:\data files\logplot\project_a\hole_1.htm
Accessory Commands:
HTMLQUALITY=<integer>
This sets the quality of the JPEG image output. If no setting is declared in the batch file, the program will use the default setting from the last time the program was run. Acceptable range = 1 (low quality, high compression) to 100 (high quality, low compression). Note that JPEG images are very efficient in storing pictures, you should probably opt for less compression to achieve higher quality.
JPEG=<filename>
Optional.
This command tells the program to compile the declared data file and to export the completed log plot to a 24-bit color JPEG format, under the JPG file name that you specify.
Example: JPEG=c:\data files\logplot\project_a\hole_1.jpg
Accessory Commands:
JPEGQUALITY=<integer>
This sets the quality of the JPEG image output. If no setting is declared in the batch file, the program will use the default setting from the last time the program was run. Acceptable range = 1 (low quality, high compression) to 100 (high quality, low compression). Note that JPEG images are very efficient in storing pictures, you should probably opt for less compression to achieve higher quality.
ONE_PAGE
This tells LogPlot that the export is to be comprised of the entire log, not a single page only.
DPI=<integer>
Establishes the dots per inch for the export.
BITMAP=<filename>
Optional.
This command tells the program to compile the declared data file and to export the completed log plot to a Bitmap format, under the BMP file name that you specify.
Example: BITMAP=c:\data files\logplot\project_a\hole_1.bmp
Accessory Commands:
BMPFORMAT=<integer>
This sets the color depth of the BMP image output. Enter 5 for 16-bit color, 6 for 24-bit color, or 7 for 32-bit color. If not listed, the program will use the default setting from the last time the program was run.
ONE_PAGE
This tells LogPlot that the export is to be comprised of the entire log, not a single page only.
DPI=<integer>
Establishes the dots per inch for the export.
PNG=<filename>
Optional.
This command tells the program to compile the declared data file and to export the completed log plot to a PNG raster format, under the PNG file name that you specify.
Example: PNG=c:\data files\logplot\project_a\hole_1.png
Accessory Commands:
PNG_COMPRESSION=<integer>
This sets the quality of the PNG image output. If no setting is declared in the batch file, the program will use the default setting from the last time the program was run. Acceptable range = 1 (low quality, high compression), 2 (med quality, med compression), or 3 (high quality, low compression).
ONE_PAGE
This tells LogPlot that the export is to be comprised of the entire log, not a single page only.
DPI=<integer>
Establishes the dots per inch for the export.
TIFF=<filename>
Optional.
This command tells the program to compile the declared data file and to export the completed log plot to a TIFF raster format, under the TIF file name that you specify.
Example: TIFF=c:\data files\logplot\project_a\hole_1.tif
Accessory Commands:
TIFF_COMPRESSION=<integer>
This sets the quality of the output TIFF image. Enter "0" for no compression, "1" for packbits, "2" for Group 3 1d (BW), "4" for Group 4 (BW), "7" for LZW. If no setting is declared in the batch file, the program will use the default setting from the last time the program was run.
TIFFFORMAT=<integer>
This sets the color depth of the TIFF image output. Enter "0" for black & white, "1" for 16-color grayscale, "2" for 216-color grayscale, "3" for 16-color, "4" for 256 color, and "5" for true color. If not listed, the program will use the default setting from the last time the program was run.
ONE_PAGE
This tells LogPlot that the export is to be comprised of the entire log, not a single page only.
DPI=<integer>
Establishes the dots per inch for the export.
WMF=<filename>
EMF=<filename>
Optional.
These commands tell the program to compile the declared data file and export the completed log plot to a metafile format (WMF = Windows Metafile, EMF = Enhanced Metafile), under the WMF or EMF file name that you specify. You may list the entire path for the output file, and the program accepts long file names with or without quotes.
When used with the optional accessory commands (below), you can adjust the output appearance of the metafile images.
Examples:
WMF="c:\data files\logplot\project_a\log1.wmf"
EMF="c:\data files\logplot\project_a\log1.emf"
Accessory Commands:
NO_METAFILE_HDR
This command, if present, creates the metafile with no header. If this command is not present, the header will be included in the export.
NO_METAFILE_FTR
This command, if present, creates the metafile with no footer. If this command is not present, the footer will be included in the export.
Optional.
This command sends the compiled log to the printer. Make sure that your printer page size matches the LogDesign file, otherwise your batch job will be stopped by a page size warning screen.
DEBUG=<output file name>
Optional.
This command creates a text file that shows how the batch file was interpreted and what the defaults settings were.
Example: DEBUG=c:\data files\logplt\project_a\debug.txt
Result: LogPlot will perform the listed operations in the batch file, and will record a summary of actions and settings as text under the file name listed above.
Back to main topic