Article View: comp.lang.postscript
Article #6493Re: Page accounting
From: Joerg Wedeck
Date: Mon, 25 Jan 1993 09:03
Date: Mon, 25 Jan 1993 09:03
32 lines
1803 bytes
1803 bytes
In article <86579@ut-emx.uucp>, tai@utpapa.ph.utexas.edu (Tai Morris) writes: |> I'm new to this newsgroup so I hope this question hasn't been answered |> too many times already... |> |> I need a program that parses a postscript file to see how many pages will |> be printed. Please don't tell me this is impossible - it's impossible that |> it is impossible because postscript printers know how to parse postscript |> files. Otherwise, the printer could be fooled, too. |> |> Any help would be appreciated. |> |> |> |> -- |> Tai Morris, tai@utpapa.ph.utexas.edu One thing you can do is to include postscript code at the beginning and the end of a document to be printed, which show the value of the internal page counter of the printer. Unfortunately i have forgotten the code sequence neccessary to do this (look at the manuals), but it works. -- ----------------------------------+-------------------------------------- Joerg Wedeck | E-Mail: jw@peanuts.informatik\ Universitaet Tuebingen | .uni-tuebingen.de Lehrstuhl fuer Techn. Informatik | Sand 13 | 7400 Tuebingen | Germany | ----------------------------------+--------------------------------------
Technical Details
Message-ID:
<1k0actINNhr9@peanuts.informatik.uni-tuebingen.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!news.belwue.de!iptc!news.wsi!peanuts!jwReferences:
<86579@ut-emx.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!news.belwue.de!iptc!news.wsi!peanuts!jw From: jw@peanuts.informatik.uni-tuebingen.de (Joerg Wedeck) Newsgroups: comp.lang.postscript Subject: Re: Page accounting Date: 25 Jan 1993 09:03:25 GMT Organization: "Lehrstuhl fuer Technische Informatik, Uni Tuebingen" Lines: 32 Sender: jw@peanuts (Joerg Wedeck) Distribution: world Message-ID: <1k0actINNhr9@peanuts.informatik.uni-tuebingen.de> References: <86579@ut-emx.uucp> NNTP-Posting-Host: snoopy.informatik.uni-tuebingen.de Keywords: postscript, page, accounting