Creating Batch PDF Output for Your LogPlot Logs

If you want to create PDF output of a bunch of logs created with LogPlot7, you can automate this using the Log | Batch Compile menu command. Here are the steps I’ve taken to set this up. NOTE that this requires that you have a PDF program, such as Adobe Acrobat Pro, or any of the free PDF printers (PDF995, CutePDF, etc. – see RockWare forum postings regarding these) installed as a printer in your Windows system.

1. First, be sure you’re using a build of LogPlot7 that is or newer.

2. Set up your PDF printer as the default printer in LogPlot, using the program’s File |  Setup command. (On some systems you may also need to set up the PDF printer as default in the Windows Control Panel before launching LogPlot.)

3. You can set up the page size for the printer as well.

LogPlot Page Setup window

Setting up the PDF Printer Page Size

4. Set up the PDF printer driver to NOT prompt for PDF file names, and set the output folder to the same folder where the data files reside. I’ve attached an example of what my Acrobat Professional screen looks like, though your version or your PDF printing software may be different. Note that this is an important step so that you won’t be prompted for each PDF output file name.

PDF Print Settings

PDF Print Settings

5. Then, select the Log | Batch Compile menu option in LogPlot.

6. Click the Add button, and in the Batch Editor window define the name of the data file, the log design, scale, and other compile settings. Be sure Print is selected, and be sure the Save as LPT file is also selected and a name defined. (The PDF file name will be based on the LPT name you define here.)

7. Click OK when you’re done, and you’ll see this log’s items listed in the batch window.

LogPlot Batch Window

LogPlot Batch Window

8. Repeat for additional files, though you might start with just a handful to get the hang of it and to be sure the PDF files are actually being created.

9. Save your batch at some point, using the Save button in the Batch Compile window. At a later date, you can use the Load button in this window to load an already-saved batch listing.

! Note: the BTC file that is created is an ASCII XML-type file. If it is easier for you to modify the BTC file directly to add other logs, you certainly may do so, just be careful about the XML syntax.

10. To run the batch, just click the Go button at the bottom of the Batch Compile window. LogPlot should load the selected DAT file, compile it into the selected LDFX file using the indicated settings, save the requested LPT file, and print to PDF, storing the PDF file in the requested folder.  It will repeat this process for each item listed in the batch.

11. If you want to append all of the PDF’s into a single file, you can use Adobe Acrobat’s File | Combine | Merge Files menu option.