🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #387

Automatically Adding Text to PS or PDF

#387
From: Marco
Date: Thu, 19 Apr 2007 20:02
27 lines
2585 bytes
I'd like to add automatically text (generated at the time that the
files is imported, e.g. date/time/revision stamp and such) to
documents. We're currently use MS Word, but I'd prefer to use pdf
instead. So the idea is to generate the MS Word document, convert
(print) it into a pdf or ps file, importing the file into the system
with a stamp, converting it into pdf afterwards (if it was previously
a ps file) so it can be viewed by Adobe Acrobat Reader (would be great
it I could skip this step - however it appears to me that pdf files
are smaller than PS, which is a good thing ;-) ).
So I played around and printed the Google page into a ps file and
tried to add some text manually. It was working when I placed a
showpage at the end of my text, however then the other text was no to
see. If I omit the showpage, then I don't see the additional text.
Rather than modifying the file, I was also thinking of including the
file in a different file (ps or pdf in a ps file) - not sure if I
going to face the same problems though.
Obviously I don't want to go through the trouble of parsing the ps
file, but if there a certain procedure that I could implement - that
would be great.
I also looked the blue book for postscript, and it looks great and
easy, however I'm not designing a new ps file but try to modify (add)
an automatic generated ps file.
Anyone who could point me in the right directions?

Thanks,

   Marco
Technical Details
Message-ID: <1177012929.420722.184050@y80g2000hsf.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!y80g2000hsf.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,96a9497266a4af74,start
X-Google-Attributes: gid10c61a,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!y80g2000hsf.googlegroups.com!not-for-mail
From: Marco <marco@b-u-x.com>
Newsgroups: adobe.postscript.programming
Subject: Automatically Adding Text to PS or PDF
Date: 19 Apr 2007 13:02:09 -0700
Organization: http://groups.google.com
Lines: 28
Message-ID: <1177012929.420722.184050@y80g2000hsf.googlegroups.com>
NNTP-Posting-Host: 72.71.208.29
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1177012929 15570 127.0.0.1 (19 Apr 2007 20:02:09 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 19 Apr 2007 20:02:09 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; EmbeddedWB 14,52 from: http://www.bsalsa.com/ EmbeddedWB 14.52; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: y80g2000hsf.googlegroups.com; posting-host=72.71.208.29;
   posting-account=35U5Qw0AAABjF7ycsQCfkG4zUoBVP1xR