Yoshi Rokuko
2012-03-16 11:38:16 UTC
OK this is really troff / ps related, but I think the right
people sit around in this place - and I'm talking about
plan9 troff ;-)
There was this thing on the list:
http://9fans.net/archive/2008/07/639
but I'm still not sure. If I choose a certain paper size,
lets say DIN A0, how do I generate a postscript that has
this size? DIN A0 is defined in mm, so I say:
.pl 118.9c
.ll 84.1c
large font:
.ps 144
Hello, world!
If I generate a postscript with just these 4 lines, will it
print out correctly on an A0 printer? If I have more text
then this 'Hello, world!' will the text cover the whole
paper and just the paper?
And how come that this postscript is displayed wrongly on
different postscript viewers (like gv on lunix)? There are
postscript files in A0 that are correctly displayed - gv is
even telling me that these files are A0.
Something must be missing? Some definition of paper size?
Thanks and best regards, Yoshi
PS
By displayed wrongly I mean that the text is cut off at the
right side and on the top ...
people sit around in this place - and I'm talking about
plan9 troff ;-)
There was this thing on the list:
http://9fans.net/archive/2008/07/639
but I'm still not sure. If I choose a certain paper size,
lets say DIN A0, how do I generate a postscript that has
this size? DIN A0 is defined in mm, so I say:
.pl 118.9c
.ll 84.1c
large font:
.ps 144
Hello, world!
If I generate a postscript with just these 4 lines, will it
print out correctly on an A0 printer? If I have more text
then this 'Hello, world!' will the text cover the whole
paper and just the paper?
And how come that this postscript is displayed wrongly on
different postscript viewers (like gv on lunix)? There are
postscript files in A0 that are correctly displayed - gv is
even telling me that these files are A0.
Something must be missing? Some definition of paper size?
Thanks and best regards, Yoshi
PS
By displayed wrongly I mean that the text is cut off at the
right side and on the top ...