If i print to a file the postscript intro looks fine
(DocumentPaperSizes is set to A4):
%!PS-Adobe-3.0
%%BoundingBox: 0 0 595 842
%%HiResBoundingBox: 0 0 595.25 841.9
%%Creator: Mozilla PostScript module (rv:1.8.0.4/2006060216)
%%DocumentData: Clean8Bit
%%DocumentPaperSizes: A4
%%Orientation: Portrait
%%Pages: 1
%%PageOrder: Ascend
%%EndComments
% MozillaCharsetName: iso-8859-1
I am not a postscript expert, but i gess the problem is in the
prolog, because if i change it from:
%%BeginProlog
/setpagedevice where
{ pop 2 dict
dup /PageSize [ 595.25 841.9 ] put
dup /Policies 1 dict
dup /PageSize 3 put
put
setpagedevice
} if
[ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /space /exclam /quotedbl /numbersign
/dollar /percent /ampersand /quoteright /parenleft /parenright
/asterisk /plus /comma /hyphen /period /slash
/zero /one /two /three /four /five
/six /seven /eight /nine /colon /semicolon
/less /equal /greater /question /at /A
/B /C /D /E /F /G
/H /I /J /K /L /M
/N /O /P /Q /R /S
/T /U /V /W /X /Y
/Z /bracketleft /backslash /bracketright /asciicircum /underscore
/quoteleft /a /b /c /d /e
/f /g /h /i /j /k
/l /m /n /o /p /q
/r /s /t /u /v /w
/x /y /z /braceleft /bar /braceright
/asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /space /exclamdown
/cent /sterling /currency /yen /brokenbar /section
/dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen
/registered /macron /degree /plusminus /twosuperior /threesuperior
/acute /mu /paragraph /periodcentered /cedilla /onesuperior
/ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown
/Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring
/AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis
/Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde
/Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply
/Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute
/Thorn /germandbls /agrave /aacute /acircumflex /atilde
/adieresis /aring /ae /ccedilla /egrave /eacute
/ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis
/eth /ntilde /ograve /oacute /ocircumflex /otilde
/odieresis /divide /oslash /ugrave /uacute /ucircumflex
/udieresis /yacute /thorn /ydieresis] /isolatin1encoding exch def
by removing the /PageSize commands
(and some other commands nearby) to:
%%BeginProlog
/setpagedevice where
{} if
[ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
etc, etc
without knowing exactly (now) what that change does the
postscript file is printed without crying for letter format
and at least this page was printed correctly (as far as
i can see).
i hope this helps a little
gerhard
--
.''`. gerhard oettl on Debian/Gnu Linux
: :' :
`. `'` gpg key: 1024D/D59131AA 2002-06-18
`-
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]