TDC(1) TDC(1) NAME tdc - fill out TDC form SYNOPSIS tdc tdc [ -b ] tdc bill-info [ card-info ] DESCRIPTION This command will prepare a PostScript job that will produce a standard Telephone Discount Concession form (ATT363) when printed. With no arguments it simply gives usage informa- tion on the standard error output. Option -b causes PostScript for a blank form to be generated. To have the form filled in, bill-info and, optionally, card-info should be supplied. Each of these consists of five arguments, with the first set corresponding to the telephone bill and the second set corresponding to AT&T Universal Card calls. The five arguments are as follows, and must appear in the order shown: month Billing month for the bill. This can be a month abbre- viation or a month number. There is not room on the form for the full month name. day Billing day for the bill. year Billing year for the bill. amount Total Inter-LATA Toll Charges, including taxes (note that this is not quite the same as section 1 of the form-it's just the total amount as it appears on the bill). exclusions Total non-eligible charges as defined in section 2 of the form. The simplest way to compute this is to add the actual charges for all ineligible calls. By default, the information for filling in the form is gleaned from the file $HOME/.tdc. If this file does not exist, tdc will prompt you for the name of an alternate tdc profile residing in your $HOME directory. This profile should consist of a number of lines, each giving one piece of information for the form. The format of the lines is an item name followed by the information. The names and the TDC(1) TDC(1) expected information are: firstname Your first name. homephone Your home phone number (the one for which you are vouchering the calls). The format is three numbers, giving area code, exchange and line number, with no extra characters like parenthesis or dashes. last8cardno The last 8 digits of your AT&T Universal Card number. lastname Your last name. middleinitial Your middle initial. officephone Your office phone number; see the description of homephone for the format of this entry. payment How you are paid. This can be weekly, bi-weekly, or monthly (the default). program The program you are in (see item 6 of the form). The possibilities are management (the default), occupational1, or occupational2. ssnumber Your Social Security number, with internal dashes, xxx-xx-xxxx . title Your title. The default is MTS. Some of these have default values, as indicated. The others will not appear on the form if you don't specify them. In addition to these values there are five others that are location-specific whose default values are built into tdc but which may be overridden in $HOME/.tdc. These values are: location1 location2 location3 Three lines of address information for your BL TDC(1) TDC(1) location. paycode Your Payroll Unit Code Number. tax The tax rate (as a percentage) used on your phone bill. In New Jersey this is 9 (for 9%). EXAMPLES If you prepare TDC forms for more than one person, you should keep each person's data in separate .tdc files. For example, one file might be called $HOME/.tdcSmith, and another might be called $HOME/.tdcJones. Then, if tdc cannot find $HOME/.tdc, it will prompt for the profile to be used: Enter profile suffix: Smith A typical .tdc file might look like this: firstname Joe middleinitial Q. lastname Schlabotnik ssnumber 123-45-6789 officephone 908 582 0000 homephone 908 999 0000 If you are paid weekly and are in the second occupational category of part 6 of the form, you would add these two lines: payment weekly program occupational2 A typical usage of tdc might be: tdc Dec 26 1992 134.28 15.44 | lp FILES $HOME/.tdc* tdc data profiles