[Groff] help with preview landscape preview

2014-12-12 Thread Bob Cannon
I want to print and preview a table from within a Python program. I can do all but the preview in landscape mode. Print portrait: def printFile(self, fname) command = 'groffer -l ' + fname subprocess.Popen(command, shell=True) --- P

Re: [Groff] help with preview landscape preview

2014-12-12 Thread Ralph Corderoy
Hi Bob, > command = 'groffer -Tps -P-l -P-pa4 -X -Z fname | gxditview - If you remove groffer from the equation, and produce PDF, does that look correct when you then open the PDF in a viewer? groff -P-l -t bob.tr | ps2pdf - bob.pdf gxditview here, I've an old version, doesn't take opt