🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #945

How to programmatic modify PS file

#945
From: PKLim
Date: Thu, 21 Aug 2003 03:47
12 lines
1359 bytes
Hi,
    I'm newbie in PS programming, i need to know how to programmatic modify PS file.
    I have one PS file, which generate from one of printer driver ( it's not send to printer for printer, it will store it as PS file ).

At first, i will like to know how to alter this PS file in program way, like using C++, is they any SDK available that can perform this below function :
     1. how to get the number of print copies for certain print job from PS file ?
     2. how to filter PS file with pages, like i only need page 1 to 5, other will discard.

Appreciate any help ... thanks

Regards
PK
Technical Details
Message-ID: <2ccd00f7.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,7d7c6ed9b04a92ee,start
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2003-08-20 21:08:08 PST
From: PKLim <pklim73@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.postscript.programming
Subject: How to programmatic modify PS file
Message-ID: <2ccd00f7.-1@webx.la2eafNXanI>
Date: Wed, 20 Aug 2003 20:47:42 -0700
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit