groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] How to include a letterhead


From: Chris Velevitch
Subject: [Groff] How to include a letterhead
Date: Fri, 8 Oct 2010 17:12:49 +1100

I'm trying to create a pdf with full page letterhead. When I do:-

cat <<EOF >header.groff
.fam C
.in 0
.ll 21c
.lt 0
.na
.nf
.nh
.pl 29.71c
.po 0
.ps 11
.tl
.vs 12.7p
.PSPIC -I 0 letterhead.eps
.sp -29.71c
EOF
cat header.groff file | \
groff -P-pA4 | \
ps2pdf -sPAPERSIZE=a4 - test.pdf

the following happens:-

1. The first page is blank
2. The letterhead appears on the second with a blank line at the top
and the bottom is chopped off
3. All the text appears on the 3rd page

How do I get it be all on the one page?


Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au

Adobe Platform Users Group, Sydney
October 2010: Flash Builder for SalesForce
Date: 25th October, 6pm for 6:30 start
Details and RSVP coming soon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]