Problem with .ps files that ps.map results

Mr G Zacharioudakis ers4gxz2 at sun1.bham.ac.uk
Wed Jun 5 08:00:00 EDT 1996




























































































































 Dear Grassusers 
I still have a problem with the .ps files that ps.map results.
Everything works fine and I get .ps files as big as 2-3Mb.
However I cannot neither view nor print them at a .ps printer.
The strucrure of these .ps files is as following:

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 18 -3528 -89 -3600                                             
%%Title: Map layer = piez79_test  Mapset = project
%%EndComments
/level 2 def
/BD {bind def} bind def
/XD {exch def} BD
/IN {1 add} BD
/DE {1 sub} BD
/XS {exch sub} BD
/NM {newpath moveto} BD
/M {moveto} BD
/CF {closepath fill} BD
/LN {lineto} BD
/D2 {2 div} BD
/L {moveto LN stroke} BD
/ML {moveto LN } BD
/V {rlineto} BD
/B {4 1 roll 2 copy 5 index 5 index 8 1 roll
NM LN LN LN closepath} BD
/W {setlinewidth} BD
/SW {stringwidth} BD
/TR {translate} BD
/C {setrgbcolor} BD
/BW {0 0 0 C 1 W} BD
/MS {moveto show} BD
/F {gsave fill grestore} BD
/D {stroke} BD
/FN {/fn exch cvn def} BD
/SF {fn findfont exch scalefont setfont} BD
(Helvetica) FN 10 SF
/ZB {0 0 NM gsave}  BD
/PB {dup false charpath flattenpath pathbbox
/bt exch mg add def /br exch mg add def
/bb exch mg sub def /bl exch mg sub def} BD
/TB {bl bb br bt B} BD
/TIB {0 0 MS grestore} BD
/LTX {mg add} BD
/RTX {mg add br bl sub sub} BD
/CTX {mg add br bl sub D2 sub} BD
/UTY {mg add bt bb sub sub} BD
/LTY {mg add} BD
/CTY {mg add bt bb sub D2 sub} BD
/HC {0 0 NM dup false charpath stroke} BD
%%EndProlog
gsave 19.0 -3527.0 -91.0 -3601.0 B clip newpath
gsave
/cw 900 def /ch 600 def
18.00 -3528.00 TR
- -107 -71 scale
/imgstrg cw 3 mul string def
cw ch 8
[cw 0 0 ch neg 0 ch]
{currentfile imgstrg readhexstring pop}
false 3 colorimage
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF


Then it carries on with symbolls as:
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FF006EFF006EFF006EFF006EFF0092FF0092FF0092FF0092FF0092FF0092FF0092FF0092FF0092
FF0092FF0092FF0092FF0092FF0092FF0092FF00B7FF00B7FF00B7FF00B7FF00B7FF00B7FF00B7
FF00B7FF00B7FF00B7FF00B7FF00B7FF00DBFF00DBFF00DBFF00DBFF00DBFF00FFFF00FFFF00FF
FF00FFFF00FFFF00FFDF00FFDF00FFDF00FFDF00FFDF00FFDF00FFBF00FFBF00FFBF00FFBF00FF
BF00FF9F00FF9F00FF9F00FF9F00FF9F00FF7F00FF7F00FF7F00FF7F00FF7F00FF5F00FF5F00FF
5F00FF5F00FF5F00FF3F00FF3F00FF3F00FF3F00FF3F00FF3F00FF1F00FF1F00FF1F00FF1F00FF
1F00FF0000FF0000FF0000FF0000FF0000FF0000FF0020FF0020FF0020FF0020FF0020FF0020FF
0020FF0020FF0020FF0020FF0020FF0020FF0040FF0040FF0040FF0040FF0040FF0040FF0040FF
0040FF0040FF0040FF0040FF0040FF0040FF0040FF0060FF0060FF0060FF0060FF0060FF0060FF
0060FF0060FF0060FF0060FF0060FF0060FF0060FF0060FF0060FF0060FF0060FF0060FF0060FF
0040FF0040FF0040FF0040FF0040FF0040FF0040FF0040FF0040FF0040FF0040FF0040FF0040FF

and ends with comments as:

grestore
0.00 0.00 0.00 C
0.00000000 W
- -90.0 -3576.0 NM -54.0 -3576.0 M D -54.0 -3576.0 NM -18.0 -3576.0 M D -18.0 -
3
576.0 NM 18.0 -3576.0 M D
- -90.0 -3552.0 NM -54.0 -3552.0 M D -54.0 -3552.0 NM -18.0 -3552.0 M D -18.0 -
3
552.0 NM 18.0 -3552.0 M D
- -66.0 -3600.0 NM -66.0 -3528.0 M D
- -42.0 -3600.0 NM -42.0 -3528.0 M D -18.0 -3600.0 NM -18.0 -3528.0 M D
6.0 -3600.0 NM 6.0 -3528.0 M D (Helvetica) FN
0 SF
0.00 0.00 0.00 C
/mg 2 def
grestore BW
18.5 -3527.5 -90.5 -3600.5 B D
showpage
%%Trailer
%%EOF



Have you any idea what might be wrong with this kind of files?
I think I have followed correctly all the procedures to identify a printer
since ps.map accepts it and perform all the operation.

Thanks in advance

Cheers
Giorgos Zacharioudakis
E-mail: giorgos at ers.bham.ac.uk



























































































More information about the grass-user mailing list