How to Print Hyphens in Social Security Numbers in AS400
- 1). Log in to your IBM AS/400 computer at the command line.
- 2). Type "vi /path/to/textfile.txt" (without quotes). Replace "/path/to" with the location you want to store your file, and "textfile.txt" with the file name for the file. Press "Enter" to open the vi text editor.
- 3). Press "i" to enter text-editing mode.
- 4). Type the social security numbers into the text screen. Press "Esc" when you're finished entering the numbers. Press "Esc," then ":x" to exit and save from vi.
- 5). Type "lpr /path/to/textfile.txt" (replacing the path with your file's path and name) and press "Enter" to print your text file to the default printer.