560 Part IV . Running Applications Creating a (Web hosting colocation)

560 Part IV . Running Applications Creating a Letter, Memo, or White Paper with Groff Memorandum macros (which are used with the -mm option of groff) were once popular among UNIX users for producing technical documents, letters, and memos. Although more modern word processors with a variety of WYSIWYG templates have made the mm macros outdated, in a pinch they are still a quick way to create a typeset-style document in a text environment. To format and print (to a PostScript printer) a document with mm macros, use the following: $ groff -mm -Tps -l letter.mm Here s a simple example of how to use mm macros to produce a letter: .WA Christopher T. Craft 999 Anyway Way Anytown, UT 84111 USA .WE .IA John W. Doe 111 Notown Blvd. Notown, UT 84111 .IE .LO RN Our telephone conversation .LO SA Dear Mr. Doe: .LT In reference to our telephone conversation on the 4th, I am calling to confirm our upcoming appointment on the 18th. I look forward to discussing the merger. I believe we have a win-win situation here. .FC Yours Truly, .SG Use the following command to format the document and save the output to a file named letter.ps: $ groff -mm -Tps -l letter.mm > letter.ps The output will look like Figure 21-5. If you get output from the groff command that says letter.mm:15: warning `let*wa-title!1 not defined, you can safely disregard it. Alternatively, add a set of empty double quotes to the end of the first line. That is, change the first line of letter.mm to read .WA Christopher T. Craft Tip
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision web and email hosting services

Leave a Reply