Skip to main content
Participant
February 1, 2011
Question

beginner's question

  • February 1, 2011
  • 1 reply
  • 502 views

Hi, i am a beginner in postscrpt programming. could anybody explain how to write ps-files

yourself (rather than to use other software), so that it could be seen in GSview,

basically what is the internal format of the ps-files. The idea is to write a subroutine

in C++ to create a *.ps files. may be sonmeone could give a short example

using standard text "hello, world !" and inserting some picture as an example.

thanks.

This topic has been closed for replies.

1 reply

Mr__Horton
Inspiring
February 1, 2011

Goldov,

My suggestion is to start by learning the PostScript languge via Adobe's "Green", "Blue", and "Red" books:

The blue book is the PostScript Tutorial and Cookbook to get you started.

The green book is the PostScript Program Design book for learning good practice and concepts.

The red book is the PostScript Language Reference book that defines all PostScript commands and deals with advanced concepts, color models, etc.

This is what I started with many years ago, along with a PostScript viewing application which probably does what GSview does. I write and maintain database to PostScript drivers in RPG running on IBM System i5's as well as "C" language workflow automation applications for part of a PostScript based Prepress Workflow system. Again, start at the beginning.

To follow the examples all you need is a basic text editor ("notepad" on Windows).

Once you have started through the tutorial and have questions or get stuck, then come back to the forum and post. That will narrow the field of your questions and probably increase the number of experienced users that will respond.