How to Use OTS from Command-Line:You can use OTS from a Graphical User Interface (OTS_GUI), or directly from your Command-Line in text-mode. This page covers the Command-Line usage. Otherwise see Graphical Interface Usage.The command-line methods have corresponding steps similar to the GUI method:
An alternative to using the GUI is to edit the form-data file directly with your favorite text editor, and then invoke the tax programs directly from your command-line. Some users start with the GUI, and then directly edit their files in their favorite text editor. You can use a mixture of both. You may even go back-and-forth between using the GUI and direct command-line operation. The following and other sections focus on direct text-mode usage of OTS, as well as how it operates.
Warning: It is safer to use the GUI instead of editing form data files directly. If you are not careful, with a text-editor you could accidentally erase a line-ending semi-colon (;) or comment bracket ({}), which gets your file out-of sync. OTS will generate an error message, which you would then need to fix. However, if you understand this, and you generally know how be careful or how to fix things if they break, then using a text editor can provide many advantages over the GUI.
The template files for starting to fill out a new form, as well as helpful example files, are under the
You can make all your tax entries into
the text file with your favorite text editor. (Note that it must be saved as a regular text file; not an
MS-Word file, RTF, or any other format.)
Although you will start with a template file, always remember to save it to a new name that is meaningful
to you; Not ...template.
In the form text-files, most line entries consist of:
Example:
Capital Gains Entries - Federal 1040:
Example:
Capital Gains Entries - State Forms:
How to Compute Taxes from Command-line:
It will produce output to the screen, as well as write the results to a file of the same name, but with "_out.txt"
appended.
How to Fill-out PDF Form from Command-line:
The meta-data and marked-up-forms are kept under 'src/formadata".
The newer program is similar:
Both programs print to the screen the name of the PDF file they generate. The name is formed from your tax_results_out
file-name, but with .pdf appended.
The first pdf fill-out program, fillout_PDF_forms, is used for Fed1040, Sched-C, CA, OH, and VA.
The second and newer one, universal_pdf_file_modifier, is used for NY, MA, NJ, and NC.
The PDF porgrams are expected to be merged into a common, much more capable program, next year.
Of course, compared to the above examples, you may need to specify the relative paths to the given files.
For example, if you wanted to run from the tax_form_files/US_1040 directory, then the
all above commands would be something like:
cd OpenTaxSolver2016_14.03_linux32/tax_form_files/US_1040
cp US_1040_template.txt my1040.txt
gedit my_1040_2016.txt
../../bin/taxsolve_US_1040_2016 my1040.txt
../../bin/bin/fillout_PDF_forms ../../src/formdata/f1040_meta.data my1040_out.txt ../../src/formdata/f1040_marked.pdf Obviously, you wouldn't want to type all this very often. But you could copy&paste it, or place it into a script file. The above syntax was for Linux/Mac/Unix systems. For Microsoft's CMD window, they would be basically all the same, except all the slashes would be back-slashes (\) instead.
|