🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #1117

Re: Need to add postscript command to a postscript file.

#1117
From: Nick Bartolotti
Date: Wed, 16 Apr 2003 21:31
25 lines
2377 bytes
Aandi Inston wrote:
> It depends on the file, but if it is DSC compliant, a programmer might
> find this fairly easy.  
> 
> Aandi Inston

A programmer (that has done this before) responds:

I agree. If the file is DSC compliant it's easy to find the begin/end of 
the sections that make up a PS file.  Non-DSC compliant PS poses a bit 
of a problem because you have to retain page independence.  Most PS 
drivers are smart enough to create page independent PS files (even 
without DSC) but many bend the rules.

Also, since you don't know which application is going to create the PS 
file, a solution that works on non-DSC PS generated from app A might not 
work for non-DSC PS generated from app B.

In a previous post I mentioned how this could be done on Windows using 
the DDK and *NIX using CUPS.  Since I don't know how Oracle actually 
creates the PS file (directly or from an installed print driver) it is 
theoretically possible that Oracel itself has a SDK that would allow you 
to modify the PS emitted.

Nick.
Technical Details
Message-ID: <3E9DCC00.7060503@tentechnologies.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!wn14feed!worldnet.att.net!24.30.200.11!news-east.rr.com!cyclone.nyroc.rr.com!cyclone-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!53ab2750!not-for-mail
References: <1de8ac21.-1@WebX.la2eafNXanI> <1de8ac21.3@WebX.la2eafNXanI> <3e9d17b7.394343996@adobeforums.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,82f6076019d2c9a7
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2003-04-16 14:32:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!wn14feed!worldnet.att.net!24.30.200.11!news-east.rr.com!cyclone.nyroc.rr.com!cyclone-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!53ab2750!not-for-mail
Message-ID: <3E9DCC00.7060503@tentechnologies.com>
From: Nick Bartolotti <nick.bartolotti@tentechnologies.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: adobe.postscript.programming
Subject: Re: Need to add postscript command to a postscript file.
References: <1de8ac21.-1@WebX.la2eafNXanI> <1de8ac21.3@WebX.la2eafNXanI> <3e9d17b7.394343996@adobeforums.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 26
Date: Wed, 16 Apr 2003 21:31:31 GMT
NNTP-Posting-Host: 24.97.196.225
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyroc.rr.com 1050528691 24.97.196.225 (Wed, 16 Apr 2003 17:31:31 EDT)
NNTP-Posting-Date: Wed, 16 Apr 2003 17:31:31 EDT
Organization: Road Runner