Hi Chris,

Am 08.10.2010 um 08:12 schrieb Chris Velevitch:


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?


I can only guess what you want to achieve. First and most important, I don't know what your letterhead.eps is and how big it is.

It seems you try to overlap text and graphics, I'm not sure if that's working as intended by you.

Can you attach a small file or ascii art where you can explain what exactly you want to do and please explain what's in your letterhead.eps. A logo?


:wq! PoC



Reply via email to