On Thu, 21 Nov 2002 01:06:25 -0700
[EMAIL PROTECTED] wrote:

> OK, another RH8.0 gotcha...
> 
> If you do a 
>       man -t <man_page> | lpr
> 
> man uses groff (I assume) to format the page and generate postscript
> to pass to the printer.
> 
> But SOMEWHERE groff is set to default to A4 paper (rather than
> letter).
>     (Do a man page as above and you will see that the top line of
>     the
>      man page is cut off, and that there is more space at the bottom
>      of the page than necessary).
> 
> This all works as expected on RH7.3 and previous, so someone from
> Europe has touched the code (last) leaving a A4 paper size as
> default...
> 
> Ive looked, but I dont see where I can set the groff page size, 
> be it a default for ALL groff output or just for man pages [ man
> pages are about the only thing that use groff any more ].
> 
> Can someone POINT me to the place to make the change.
> 
---snip-->
   The manpage for groff on my RH7.0 machine states:

  " /usr/share/groff/font/devname/DESC
    Device description file for device name."

And, as ps is listed as the default device, you could look in

   /usr/share/groff/font/devps/DESC.

   In case RH8.0 puts it elsewhere, do:

       find / -name DESC -print|grep groff 

A man -t <manpage>|lpr seems to print correctly for me, so I will
paste my ~/devps/DESC file below. You can do a comparison.
BTW, I'm using groff-1.16-7. 

--begin paste--
res 72000
hor 1
vert 1
sizescale 1000
unitwidth 1000
sizes 1000-10000000 0
styles R I B BI
family T
fonts 9 0 0 0 0 0 SS S ZD ZDR
tcommand
postpro grops
broken 7
paperlength 792000
print lpr      
--end paste--

                            Best,

                            Tom


     



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to