I have to create thousands of individual EPS (Encapsulated PostScript) files. These files will be printed by a company that uses a Roland printer and software. The printer software only accepts eps files.
So this is the procedure I've implemented using a custom vector graphics library:
- Create an individual bitmap (this works)
- Draw a rectangle around the bitmap in a certain named color (the color must be named "CutContour" YMCK (0, 0.9, 0, 0). The color itself isn't important, but the name must be set to "CutContour".
- Save the graphics in the EPS format
Now, using some custom library I was able to do all the steps I've described, but the library apparently doesn't support color names (spot colors?).
Another strategy I tried in my desperation: I've created a working example file in EPS using CorelDraw (I even did it with Adobe Illustrator).
Using a hex editor I extracted the first part of the file until the bitmap information and the bottom part after the bitmap. Using both parts I was able to "inject" the individual bitmap and created new "Frankenstein" eps files just by concatenating the parts.
I could open these files in CorelDraw, but they must be somehow corrupt, because the company that prints the images can't open them on their machines. Also, I have some other issues with that files. I guess there is some binary information at the end of the file that's somehow related to the bitmap.
- Does anybody know some other library or clever way to get the desired result?
- Does anybody know who I could manipulate the created eps file in order to draw the rectangle using the "CutContour" color name? (It's not obvous looking at the file I've created using CorelDraw and AI)
Thanks for reading!