🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #227

Is it possible to reference EPS <<%%Begin Document… %%EndDocument > section several times to print the same graphics multiple t...

#227
From: Mallikarjuna Gumma
Date: Tue, 04 Jan 2011 02:42
13 lines
2439 bytes
I have written a C++ program  to generate multi-page PS file, and it
reads raw data(strings)  from database table and graphics file(s) from
local drive and then generates PS file with all necessary resources.
While generating main PS file I copy the eps file contents and put
them in main PS file. As my EPS  files are big in size and repeated
several times on multiple pages ( for example background graphics) and
the copying of eps to PS is taking lot of time and bloats main PS file
size. Is there any other way to create main PS file without copying
the eps file repeatedly? I mean I would like to copy each file type
only once to main PS file  and then reference that section(copied EPS
content)  in main PS file.  I looked at “Encapsulated PostScript File
Format Specification”(http://partners.adobe.com/public/developer/en/ps/
5002.EPSF_Spec.pdf’) and could not figure out how to do it.
Technical Details
Message-ID: <267066e1-16fc-4789-bde4-c2da5f9132fc@h17g2000pre.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!h17g2000pre.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,487498ce838cd4dd,start
X-Google-NewGroupId: yes
X-Google-Attributes: gidf3b2fcbfdb,domainid0,public,usenet
X-Google-Language: ENGLISH,CP1252
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!h17g2000pre.googlegroups.com!not-for-mail
From: Mallikarjuna Gumma <mgumma@gmail.com>
Newsgroups: adobe.postscript.programming
Subject: Is it possible to reference EPS <<%%Begin Document…  %%EndDocument > section several times to print the same graphics multiple times in main Postscript file?
Date: Mon, 3 Jan 2011 18:42:11 -0800 (PST)
Organization: http://groups.google.com
Lines: 13
Message-ID: <267066e1-16fc-4789-bde4-c2da5f9132fc@h17g2000pre.googlegroups.com>
NNTP-Posting-Host: 69.88.119.66
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1294108931 23079 127.0.0.1 (4 Jan 2011 02:42:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 4 Jan 2011 02:42:11 +0000 (UTC)
Cc: mgumma@Accessvia.com
Complaints-To: groups-abuse@google.com
Injection-Info: h17g2000pre.googlegroups.com; posting-host=69.88.119.66; posting-account=sanldgoAAADupZjXnLEqqcnNGNmmWiEI
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64;
 Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E),gzip(gfe)