Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Put Heading & Footing on a Postscript file

3 views
Skip to first unread message

kaedekai

unread,
Feb 13, 2010, 8:33:58 PM2/13/10
to
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

Helge Blischke

unread,
Feb 14, 2010, 10:14:05 AM2/14/10
to
kaedekai wrote:

Perhaps you could use the "alternate pstops filter" (see the links on the
CUPS web site) as a starting point (though the published version of this
filter is based on cups 1.1.19, it is known still to work with cups 1.3.x
and should even work with 1.4.x).

Helge

0 new messages