🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #228

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

#228
From: luser- -droog
Date: Wed, 05 Jan 2011 03:45
20 lines
2713 bytes
On Jan 3, 8:42 pm, Mallikarjuna Gumma <mgu...@gmail.com> wrote:
> 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.

Check the Acumen Journal from January and April 2007
http://www.acumentraining.com/acumenjournal.html
It describes how to store data as a resource that can then
be used multiple times in a document.
Technical Details
Message-ID: <01689fa9-27a4-4fe0-8da7-a1b5dbebc3da@39g2000yqa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!39g2000yqa.googlegroups.com!not-for-mail
References: <267066e1-16fc-4789-bde4-c2da5f9132fc@h17g2000pre.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,487498ce838cd4dd
X-Google-NewGroupId: yes
X-Google-Attributes: gidf3b2fcbfdb,domainid0,public,usenet
X-Google-Language: ENGLISH,CP1252
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!39g2000yqa.googlegroups.com!not-for-mail
From: luser- -droog <mijoryx@yahoo.com>
Newsgroups: adobe.postscript.programming
Subject: Re: Is it possible to reference EPS <<%%Begin Document… %%EndDocument > section several times to print the same graphics multiple times in main Postscript file?
Date: Tue, 4 Jan 2011 19:45:08 -0800 (PST)
Organization: http://groups.google.com
Lines: 20
Message-ID: <01689fa9-27a4-4fe0-8da7-a1b5dbebc3da@39g2000yqa.googlegroups.com>
References: <267066e1-16fc-4789-bde4-c2da5f9132fc@h17g2000pre.googlegroups.com>
NNTP-Posting-Host: 99.160.254.3
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1294199108 12524 127.0.0.1 (5 Jan 2011 03:45:08 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 5 Jan 2011 03:45:08 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 39g2000yqa.googlegroups.com; posting-host=99.160.254.3; posting-account=G1KGwgkAAAAyw4z0LxHH0fja6wAbo7Cz
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.0.19)
 Gecko/2010072023 Iceweasel/3.0.6 (Debian-3.0.6-3),gzip(gfe)