Learning EPS (Encapsulated Post Script) for creating Puzzle and Sudoku Images
I found that its easier to create a puzzle than creating the puzzle image. I use xls file to create puzzle file. But if you know EPS, creating puzzle images becomes very easy. This is the old post, which I am republishing again for benefits of the people who want to learn E(PS). Here are the step for learning (E)PS to create Puzzle Images. Thanks to Deb for this information.
Step1 : install a viewer and an interpreter for PS (PostScript).
Interpreter GhostScript : You don't need right away, but better to download. You can download from same location.
There are also other software to view PS/EPS files. This is the best I've found.
Once you install these software, you can double click on any PS file to view it in GSView.
You have to learn how to write program in PS for different kind of Images (Puzzles). (This is Step4)
Step2 : Create EPS file (Encapsulated PostScript)
You need to create the EPS file from the PS file. The only difference between EPS and PS is, in simple terms, EPS also tells the co-ordinates of the picture in the PS file.
From GSView, you can select Menu -> File -> PS to EPS. Answer "Yes" to all questions. Your EPS file is generated. (You can do a diff between the PS file and the EPS file to see what I mean in the above statement).
Step3 : Create puzzle PDF file
In a Word Document, you can write the puzzle instruction. Then Menu Insert->Picture->From File. Select the EPS file you generated.
If the PS is well-written and you are using MSWord 2000+, you should be able to see a preview of the EPS file. (So this is another way of viewing an EPS file).
Make sure that the text and the Image are properly aligned.
Print into your pdf driver. You are all set.
Step 4: Learn PS.
This is like learning any language. The best thing is that PS is very easy and fun to learn. You should be able to write your first usable PS program in 8 to 10 hours. The worst part is the syntax is stack based. If you are used to write in C like languages, you will find it pretty odd.
Step 5 : Writing Re-Usable PS code and Improving PS programming style. Again this will be an ongoing process. You can write your PS program such that you change it minimally to create a different puzzle and a different image.
If you liked it please do help us grow by sharing it with your friends