Is it possible to easily store in an EPS file the page area?
I'm a programmer, not a graphics designer, so treat me kindly!
I have a program which creates a ton of EPS files automatically. They are fine except that when opened in Illustrator they are placed in the middle of an A4 page. They are actually 18.5mm x 18.5mm square, as specified inside the EPS file bounding boxes and as they appear on the A4 page.
My customer wants them to appear in an 18.5 x 18.5 area, not the default A4 page.
Is there any way I can set this inside the EPS file?
Or is there some other technique I can use to get these images into the correct area automatically? We tried to do a batcher which cropped, but the crop action did not seem to get recorded.
We've tried reading in the original EPS (created by my program), cropping it manually, and saving it using Illustrator to see how Illustrator saves the page size (work area size?). It DOES do it somehow but the file goes from less than 1K to more than 850K in size and is full of PS functions and data.
My original EPS is this:
%!PS-Adobe-3.0
%%BoundingBox: 0 0 53 53
%%HiResBoundingBox: 0.0 0.0 52.5 52.5
0.000000 0.000000 0.000000 1.000000 setcmykcolor
0.000000 0.000000 moveto 52.500000 52.500000 lineto stroke
1.0 1.0 moveto 51.5 1.0 lineto stroke
51.5 1.0 moveto 51.5 51.5 lineto stroke
51.5 51.5 moveto 1.0 51.5 lineto stroke
1.0 51.5 moveto 1.0 1.0 lineto stroke
/Calibri-Light findfont 4.5 scalefont setfont
4 5 moveto (HR Testo in basso) show
4 40 moveto (HR Testo in alto) show
showpage
%%EndDocument
As far as the graphics works it is fine, it's just the page area which I don't know how to specify...
