🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #221

Put Heading & Footing on a Postscript file

#221
From: kaedekai
Date: Sun, 14 Feb 2010 01:33
16 lines
1705 bytes
Hi all,

I am using CUPS as my printing backend.  I am trying to create a CUPS
filter using Perl to insert heading & footing to a postscript file.

Both heading & footing consists for (Left) Page#
(Center)ClassicationText  (Right)Date.

The problem I am having is that all the location are hard-coded.  Is
it possible to not hard code the text location? (i.e I am using 32 150
moveto) when showing the text.

Anyone know of some postscript code to allow me to do that?

Thanks,
Kaede
Technical Details
Message-ID: <b4a0adbc-4a9f-4425-997a-157aff0c27ec@t34g2000prm.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!t34g2000prm.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f3b2fcbfdb,14ff419a63bb39b1,start
X-Google-Attributes: gidf3b2fcbfdb,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!t34g2000prm.googlegroups.com!not-for-mail
From: kaedekai <kaedekai@gmail.com>
Newsgroups: adobe.postscript.programming
Subject: Put Heading & Footing on a Postscript file
Date: Sat, 13 Feb 2010 17:33:58 -0800 (PST)
Organization: http://groups.google.com
Lines: 16
Message-ID: <b4a0adbc-4a9f-4425-997a-157aff0c27ec@t34g2000prm.googlegroups.com>
NNTP-Posting-Host: 70.72.38.203
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1266111239 26906 127.0.0.1 (14 Feb 2010 01:33:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 14 Feb 2010 01:33:59 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: t34g2000prm.googlegroups.com; posting-host=70.72.38.203; 
 posting-account=S9pOeAkAAADs8En2m1aj0UhXKcMjXaAn
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) 
 AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10,gzip(gfe),gzip(gfe)