Chapter 20 . Working with Words and Images (Graphic web design)

Chapter 20 . Working with Words and Images 513 To format a man page for typesetting, you could specify PostScript or HP LaserJet output. Direct the output to a file or to a printer. Here are a couple of examples: $ groff -Tps -man /tmp/chown.1 > /tmp/chown.ps $ groff -Tlj4 -man -l /tmp/chown.1 The first example creates PostScript output (-Tps) and directs it to a file called /tmp/chown.ps. That file can be read by a PostScript previewer (such as Ghostscript) or sent to a printer (lpr /tmp/chown.ps). The next example creates HP LaserJet output (-Tlj4) and directs it to the default printer (-l option). Creating a Man Page with Groff Before HOWTOs and info files, man pages were the foundation for information about UNIX and UNIX-like systems. Each command, file format, device, or other component either had its own man page or was grouped on a man page with similar components. To create your own man page requires that you learn a few macros (in particular, man macros). Figure 20-3 shows the source for a fictitious man page for a command called waycool. Figure 20-3: Simple markup is required to create man pages.
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision best web hosting services

Leave a Reply