Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is it possible to reference EPS <<%%Begin Document… %%EndDocument > section several times to print the same graphics multiple times in main Postscript file?

45 views
Skip to first unread message

Mallikarjuna Gumma

unread,
Jan 3, 2011, 9:42:11 PM1/3/11
to mgu...@accessvia.com
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.

luser- -droog

unread,
Jan 4, 2011, 10:45:08 PM1/4/11
to

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.

tlvp

unread,
Jan 12, 2011, 1:42:08 PM1/12/11
to

Acumen Journal, eh? Nice resource, glad to learn about it, thanks :-) .

Cheers, -- tlvp
--
Avant de repondre, jeter la poubelle, SVP

0 new messages