Creating the commandline.ini file

You can run Document Factory from the MS-DOS command line, using an .ini file. This allows you to set up scheduled document generation. First you must create the an .ini configuration file using Document Factory.

You can run Document Factory from the MS-DOS command line, using an .ini file, allowing you to set up scheduled document generation. First you must create the commandline.ini file using Document Factory.

To create the commandline.ini file

  1. From the Start menu, choose Programs > Caliber > Document Factory The Document Factory wizard opens.
  2. Select the template file you want to report from in the Template box. To open the selected template to check it or make any edits before running Document Factory, click the Word icon.
  3. In the Save Document As box, enter a path and name for your new document, click the Browse button to navigate to a previously created document or leave blank.
  4. To generate a log file for the report, select the check box.
  5. Click Next.

    Choose the date format that you would like to use: Short Date or Long Date

  6. Click Next.

    Choose the options you would like:

    • Create configuration File only: allows you to create a configuration file with an encrypted password that you can use for scheduling and running Document Factory in batch mode. The configuration file created is called commandline.ini which is used to run Document Factory from the command line or placed in a batch file. If you choose this option, Document Factory does not create a Word document from your template, but creates the commandline.ini file only.
    • Requirement description will include formatted text, tables and images : directs Document Factory to build requirement descriptions in HTML format.
    • Requirement description will include visualization descriptions and images: directs Document Factory to build visualization descriptions and images in HTML format.
    • Enable server filter paging: server returns small number of results at a time instead of returning all the results at once.
    • Only Display Image for OLE Objects: displays images instead of embedding and linking to documents and other objects. This reduce report size and processing time.
  7. Click Finish. Document Factory begins to process the data. If you used a template that was not project-specific, you are asked to choose the project and baseline during this processing phase.

    The commandline.ini file is created. You can rename or relocate the file as needed.

    The commandline.ini file is saved by default to the following location: C:\Users\[user name]\Documents\Borland\Caliber.