Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-02-2009, 12:07 AM   #1
LQ Newbie
Registered: May 2008
Posts: 1

Rep: Reputation: 0
embed an EPS file into a PS file

Hi there,

I realise the an eps file is a ps file with reduced command set and a bounding box.

I create PS files and want to place a common graphic in many, so made an EPS of the graphic and want embed it into the PS.

I presume I insert some lines in the and insert the file.eps
in between those lines,
but I cannot find out how to do it.

Any advice would be much appreciated.
Regards Robert
Old 10-01-2009, 01:42 AM   #2
Caballero del norte
Registered: Apr 2007
Location: Sonoran Desert, USA
Distribution: Ubuntu 8.04
Posts: 30

Rep: Reputation: 16
Because this question has been here so long I will give an inexpert suggestion:

Create your files in Writer rather than as a raw PS*file. If you need to use a PS*file, you may wish to open it in a graphics program and save the image in a way that you can use it in Writer.

Where you want to insert EPS files, Insert > Picture > From file and select the EPS file.

Save your file in and then File > Export to PDF.

(There probably is also a simple way to edit PS files for this... but I know very little about PS.)
Old 10-01-2009, 09:31 AM   #3
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Stretch (Fluxbox WM)
Posts: 1,389
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Although you can just use '%%BeginDocument:' and '%%EndDocument', it takes some work to preserve the state around an inlined eps file. If you are writing PostScript directly, you can use the Astigmatix functions to do this for you, typically like this:

{ StatEPSF 100 100 0 1 1 ReadyEPSF ExecEPSF }
currentfile exch exec
   inlined eps code
Of course, if you are using something like LaTeX to produce the postscript file, you can just do


Last edited by neonsignal; 10-01-2009 at 09:50 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
transferring .eps file saray Linux - Software 12 05-21-2009 08:09 PM
how to embed .wmv video file in site krunalpatel Member Intro 0 03-06-2009 04:44 AM
Embed File into Image (rar?) swatward Linux - Software 5 01-14-2008 05:57 AM
how to add text to eps file? markhod Linux - General 1 07-05-2005 11:49 PM
How to play a media file/ video file/mp3 file recorded in harddisk/cd-rom arindam Linux - Newbie 2 09-05-2003 10:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration