Friday, August 29, 2014

Learning EPS (Encapsulated Post Script) for creating Puzzle and Sudoku Images

Learning EPS (Encapsulated Post Script) for creating Puzzle ImagesI 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.
Couple of references :
This will be an ongoing process.

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.

Please do help us grow by sharing it with your friends

Checkout more puzzles by clicking on the below image
Fun With Puzzles Index Page
Fun With Puzzles Index Page


  1. My brother recommended I might like this web site.
    He was totally right. This post actually
    made my day. You cann't imagine simply how much time I
    had spent for this information! Thanks!

    My web site :: Grigory Berezkin - ,

  2. Hi there, yeah this paragraph is in fact good and I have learned lot of things from it concerning blogging.

    Also visit my weblog; Gregory Berezkin ()

  3. This is a topic that is close to my heart... Thank you!
    Where are your contact details though?

    Also visit my web blog - Grigory Berezkin ()

  4. Hello there, just became aware of your blog through
    Google, and found that it is truly informative.
    I'm gonna watch out for brussels. I'll be grateful if you continue this in future.
    A lot of people will be benefited from your writing. Cheers!

    My blog post: Gregory Berezkin ()