Tzahi Fadida wrote:

> Is there a way to add notes a .ps?
> eg: adding a text underneath a line so i can later print it with the .ps

It's certainly possible, if you know PostScript (it's a Turing-complete
procedural stack-based language; not very complex, but not a pretty
sight either). In practice there are some conventions which nearly all
PostScript document follows, and it so happens that these conventions
make it very easy to add stuff *beneath* whatever's on the page
(technically: just add your own drawing commands after the %%Page DSC
comments). Adding stuff *above* the existing content is a  bit harder
(technically: override the 'showpage' operator with your own version and
hope it isn't already overriden in some incompatible way).

Another approach is to write a GhostScript output driver. Start with the
'pswrite' driver which produces a "normalized" PostScript file by
interpreting the input file and producing a new one. Then add
appropriate code in the driver to draw extra stuff in each page,
according to some auxiliary input file.

A third approach would be to modify the viewer application to draw the
extra stuff, but then you can't print the annotated version or send it
to other people.

I couldn't find any existing free software for this. There are several
commercial applications for annotating PDF files, including Adobe's own
Acrobat; google for "annotate PDF". Using pdf2ps and ps2pdf in
conjuction with these should do the trick.

  Regards,
    Eran Tromer


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to