Skip to content

Adding a title to a postscript file

2 messages · Patrick Connolly, Brian Ripley

#
I create lots of postscript files which I view with ghostview.  The
beginning of the files all begin something like

%!PS-Adobe-3.0
%%DocumentNeededResources: font Helvetica
%%+ font Helvetica-Bold
%%+ font Helvetica-Oblique
%%+ font Helvetica-BoldOblique
%%+ font Symbol
%%DocumentMedia: a4 595 841 0 () ()
%%Title: R Graphics Output
%%Creator: R Software


The consequence is that in ghostview, they are all titled 
'R Graphics Output'.

Is it possible to add a title at the time the file is created (say,
defaulting to the name of the file) so that it's visible from within
ghostview?

best
#
On Wed, 11 Dec 2002, Patrick Connolly wrote:

            
Only by patching R.  I'll add this to R-devel.