Thread View: adobe.postscript.programming
2 messages
2 total messages
Started by kaedekai
Sun, 14 Feb 2010 01:33
Put Heading & Footing on a Postscript file
Author: kaedekai
Date: Sun, 14 Feb 2010 01:33
Date: Sun, 14 Feb 2010 01:33
16 lines
1705 bytes
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
Re: Put Heading & Footing on a Postscript file
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads