Re: Help with Preps Colorbars
You can use EPS files created from Illustrator but you should use Illustrator 8 to save them out. Illustrator 8 has simple code compared to the newer versions of Illustrator. Also, when you resize a colorbar within Preps, it removes the extra amount of the colorbar from the right. Thus making the colorbar not centered which is most likely what you need for a colorbar scanner. I know we had to have our colorbar centered with our colorbar scanner.
To have your colorbar centered within Preps, you need to modify your colorbar. After you have saved your colorbar from Illustrator 8, open up the EPS in a Text Editor and scroll down until you see a %%End Comments
After that you will need to Paste in the following code. This allows for horizontal centering. You will also have to change the llx and urx number to match the bounding box size of your EPS which you can find at the begining part of the EPS.
% Start horizontal centering mark code for Preps
%
%SSiNoCaching
% Change llx and urx to match the %%Boundingbox
% or %%HiResBoundingBox of the EPS mark (1st and 3rd number)
/llx 74.5508 def
/urx 3093.4492 def
/cwidth clippath pathbbox pop exch pop exch sub def
urx llx sub cwidth sub 2 div neg 0 translate
%
% End centering mark code for Preps