HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Cover Page comments upside down



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bodo Meissner wrote, on 25.07.2008 11:26:
|
| Change the end of your file like this:
[...]

Sorry, there is a bug in the version from my last message. For clean
code gsave must be before translate.
Because this code is at the end of the document and nothing is drawn
after this or because it is immediately followed by GR (= grestore) the
gsave/grestore pair is not necessary here and could be removed.

GR
/y 486 def /x 216 def % this is your original comments position
gsave     % not really necessary because nothing is drawn after this
x y translate         % make this the origin
/x 0 def /y 0 def     % now the position is (0;0)
1 -1 scale            % now y coordinate goes up again
/Courier findfont 11 scalefont setfont
/rule
(___________________________________________________________________)def
/lineheight 20 def
% change the 10 to modify the number of lines (11 = 10+1)
% or remove this lien if you don't want the lines at all
y lineheight neg dup 10 mul { x exch M rule SH } for
rule stringwidth pop lineheight x y comments BreakIntoLines
grestore              % restore state (could be removed with gsave)
GR
end
showpage



Bodo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiJ4IUACgkQnMz9fgzDSqdJ8QCfcvj4pE1u23jSc5NLbANxtsvf
tZAAnAvdyP+lyDFPVW2KBDOODcs1R2kO
=/ysw
-----END PGP SIGNATURE-----


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions