Ecommerce web host - 513Chapter 20Working with Words and ImagesTo format a
513Chapter 20Working with Words and ImagesTo format a man page for typesetting, you could specify PostScript or HP LaserJetoutput. 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.1The 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 asGhostscript) or sent to a printer (lpr /tmp/chown.ps). The next example createsHP LaserJet output (-Tlj4) and directs it to the default printer (-loption). Creating a Man Page with GroffBefore HOWTOs and info files, man pages were the foundation for informationabout UNIX and UNIX-like systems. Each command, file format, device, or othercomponent either had its own man page or was grouped on a man page with similarcomponents. To create your own man page requires that you learn a few macros(inparticular, man macros). Figure 20-3 shows the source for a fictitious man pagefor a command called waycool. Figure 20-3:Simple markup is required to create man pages.
Please visit our professional web hosting services to find out about cheap and reliable webhost service that will surely answer all your demands.