Article View: adobe.postscript.programming
Article #222Re: Put Heading & Footing on a Postscript file
From: Helge Blischke
Date: Sun, 14 Feb 2010 15:14
Date: Sun, 14 Feb 2010 15:14
25 lines
1769 bytes
1769 bytes
kaedekai wrote: > 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 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
Technical Details
Message-ID:
<7tqia0Flj6U1@mid.individual.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.freenet.ag!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<b4a0adbc-4a9f-4425-997a-157aff0c27ec@t34g2000prm.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f3b2fcbfdb,14ff419a63bb39b1 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!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.freenet.ag!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Helge Blischke <h.blischke@acm.org> Newsgroups: adobe.postscript.programming Subject: Re: Put Heading & Footing on a Postscript file Followup-To: adobe.postscript.programming Date: Sun, 14 Feb 2010 16:14:05 +0100 Lines: 26 Message-ID: <7tqia0Flj6U1@mid.individual.net> References: <b4a0adbc-4a9f-4425-997a-157aff0c27ec@t34g2000prm.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: individual.net zGic0nbmSHRzS7q6wEGAZgQFmnCxtRIM6S8XLQfLpZVORpHzk0 Cancel-Lock: sha1:uuT6+fIxYCtdEwW0rqKEc0THB8M= User-Agent: KNode/0.99.01