Groff Print-out
Hi,
I am using groff to print-out books I download with kgutenbook program since groff has a pleasant font and most important prints longer lines than all other text print programs I tried (emacs, vim, gedit, kedit, xedplus), therefore, fewer pages to print.
Groff has 2 drawbacks, a) it does not number the pages and b) does barely advance at the end of the page.
Can that be somehow corrected, may be with a script?
The command I give is: groff file | lpr
Thanks & regards
Signature · 7 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 7 lines · Peter
Hi,
I am using groff to print-out books I download with kgutenbook program since groff has a pleasant font and most important prints longer lines than all other text print programs I tried (emacs, vim, gedit, kedit, xedplus), therefore, fewer pages to print.
Quoted 6 lines
Groff has 2 drawbacks, a) it does not number the pages and b) does barely advance at the end of the page.
Can that be somehow corrected, may be with a script?
The command I give is: groff file | lpr
Try: groff -ms file | lpr
I found these downloadable documents to be helpful with groff:
Troff User's Manual (Kernighan, Ossanna)
A TROFF Tutorial (Kernighan)
Typing Documents on the UNIX System: Using the -ms Macros with Troff
and Nroff (Lesk)
Tbl - A Program to Format Tables (Lesk)
I don't have the URL anymore but they were all on the same web page. Perhaps adding Bell Laboratories to the search will help.
Hope this helps.
Kurt Kehler
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 2 lines · Kurt Kehler
I don't have the URL anymore but they were all on the same web page.
Here it is:
http://www.kohala.com/start/troff/troff.html
Kurt
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Thanks Kurt!
Quoted 2 lines · Peter
Groff has 2 drawbacks, a) it does not number the pages and b) does barely advance at the end of the page.
Quoted 1 line · [email protected] said:
Try: groff -ms file | lpr
That works fine. I have to use dos2unix first otherwise I get for every line:
...
sseas10.txt:9947: warning: illegal input character code 13
...
before its put into the print queue.
Regards
Signature · 7 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs