[wplug] Setting system tab?

Jonathan Billings billings at negate.org
Wed Jul 28 09:51:19 EDT 2010


On Wed, Jul 28, 2010 at 08:36:36AM -0400, Weber, Lawrence A wrote:
> Most of the editors that I use allow me to set the font face and size
> and tab stops for the displayed text.  However many, including vi, use
> the system font and tab (8) when printing.  Is there a way to set the
> default system tab?  I have seen a reference to a command "tabs" but it
> is not recognized by my installation (Fedora).
> 
> Perhaps I am approaching this the wrong way and should be using a
> separate print app?

When you print from vi, most likely it is just sending the file to
`lpr', which converts the file to postscript and prints it (or it goes
on to CUPS, which does the same).

You can manually create the postscript yourself with your favorite tab
size.  I like `enscript' which is available on fedora systems.
There is a '-T <num>' argument you can give enscript to define the
size of the tab, with 8 characters being the default.

-- 
Jonathan Billings <billings at negate.org>


More information about the wplug mailing list