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



Bodo,

I cannot get this script to work.  Whenever I submit it the fax gets an error of " Could not reopen converted document to verify format". Here is what my end of file script looks like:

GR
/y 486 def /x 216 def     
x y translate         
/x 0 def /y 0 def     
1 -1 scale           
/Courier findfont 11 scalefont setfont
/rule (___________________________________________________________________) def
/lineheight 20 def
y lineheight neg dup 10 mul { x exch M rule SH } for rule stringwidth pop lineheight x y comments BreakIntoLines
grestore
end
showpage

I'm not sure if I copied your script correctly as it come out strange in the formatting of the email.  I removed the Gsave and grestore pair to see if I could get it working.

Lucas Burdick
Sealing Device Specialist
Progressive Sealing Inc.
Vancouver, B.C.
t: 604.263.1562
f: 604.263.8923
c: 604.861.2865

www.progressive-sealing.com


This email and any attachments are intended solely for the use of the addressee(s) named.


-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Bodo Meissner
Sent: Friday, July 25, 2008 7:18 AM
To: hylafax-users@xxxxxxxxxxx
Subject: 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*



____________________ 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