Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: how to convert pdf to eps?

  1. #1
    Join Date
    Aug 2008
    Location
    new jersey
    Beans
    107

    how to convert pdf to eps?

    Anybody know how could I convert a pdf figure into a eps one? Any console command, just like epstopdf?

  2. #2
    Join Date
    Nov 2008
    Location
    Opelika, AL
    Beans
    998
    Distro
    Ubuntu Development Release

    Re: how to convert pdf to eps?

    You can use the convert command, but each page will be created as a new document. To run this command, say you have a file named "file.pdf" in your home directory that you want converted. Open a terminal and type this command:

    Code:
    convert ~/file.pdf ~/file.eps
    -o)
    /\\
    _\_V
    Message void if penguin is violated...Don't mess with the penguin.

  3. #3
    Join Date
    Jul 2007
    Location
    Austin, TX (formerly D.C)
    Beans
    359
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to convert pdf to eps?

    Anybody know how could I convert a pdf figure into a eps one? Any console command, just like epstopdf?
    Hmm... Well, there exist commands for PDF -> PS, and PS -> EPS.

    So, you could try:

    Code:
    sudo aptitude install ps2eps
    pdf2ps [file].pdf
    ps2eps [newfile].ps
    It'll probably do something strange, but give it a try.

    Let me know how it works if you try it!
    Mike

    PS: There's another program for PDF -> PS called "pdftops". You could try both of them. I'm not sure what the difference is. Maybe you could tell me.

    -----------------------------

    PPS: Wait, there seems to be a simpler way... the "pdftops" command has a "-eps" switch. So try:

    Code:
    pdftops -eps [file].pdf
    Last edited by mbsullivan; May 15th, 2009 at 03:33 AM.

  4. #4
    Join Date
    Aug 2008
    Location
    new jersey
    Beans
    107

    Re: how to convert pdf to eps?

    Quote Originally Posted by spcwingo View Post
    You can use the convert command, but each page will be created as a new document. To run this command, say you have a file named "file.pdf" in your home directory that you want converted. Open a terminal and type this command:

    Code:
    convert ~/file.pdf ~/file.eps
    Thank you at first. But I dont have the convert package and I can not even find it thru terminal or synaptic. Any further suggestion?

  5. #5
    Join Date
    Nov 2008
    Location
    Opelika, AL
    Beans
    998
    Distro
    Ubuntu Development Release

    Re: how to convert pdf to eps?

    I'm exactly sure, but I think it is packaged with poppler-utils.
    -o)
    /\\
    _\_V
    Message void if penguin is violated...Don't mess with the penguin.

  6. #6
    Join Date
    Jun 2008
    Location
    California
    Beans
    2,271
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: how to convert pdf to eps?

    Convert is a part of the Imagemagick package, which is in the repo's.

    http://www.imagemagick.org/script/co...line-tools.php

  7. #7
    Join Date
    Aug 2008
    Location
    new jersey
    Beans
    107

    Re: how to convert pdf to eps?

    Quote Originally Posted by mbsullivan View Post
    Hmm... Well, there exist commands for PDF -> PS, and PS -> EPS.

    So, you could try:

    Code:
    sudo aptitude install ps2eps
    pdf2ps [file].pdf
    ps2eps [newfile].ps
    It'll probably do something strange, but give it a try.

    Let me know how it works if you try it!
    Mike

    PS: There's another program for PDF -> PS called "pdftops". You could try both of them. I'm not sure what the difference is. Maybe you could tell me.

    -----------------------------

    PPS: Wait, there seems to be a simpler way... the "pdftops" command has a "-eps" switch. So try:

    Code:
    pdftops -eps [file].pdf
    Buddy, thanks a lot. You know, you first suggestion aces your second one, though the latter one sounds simpler.

    The thing is the second method loses a lot of effect of the original figure. The first method does too, but not as much as the first one.

    Again, thanks.

  8. #8
    Join Date
    Aug 2008
    Location
    new jersey
    Beans
    107

    Re: how to convert pdf to eps?

    Quote Originally Posted by kaibob View Post
    Convert is a part of the Imagemagick package, which is in the repo's.

    http://www.imagemagick.org/script/co...line-tools.php
    Thank you so much, buddy. This software package seems fabulous! It is so versatile that I couldn't even imagine. Bravo~

  9. #9
    Join Date
    Oct 2005
    Location
    Sweden
    Beans
    13
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to convert pdf to eps?

    I have to report that the 'convert' command from Imagemagick might not do exacly what you expect.

    The default behaviour (in my installation at least) seems to be to convert the pdf to an eps with embedded bitmap graphics.
    That's not what I wanted.

    edit:
    'pdftops -eps [file].pdf' made it for me though (but it couldn't take multiple files like 'pdftops -eps *.pdf').

    edit2:
    'for f in *.pdf; do pdftops -eps $f; done' solved the second problem.
    Last edited by tinwelint; July 27th, 2010 at 03:23 PM.

  10. #10
    Join Date
    Sep 2011
    Beans
    4

    Re: how to convert pdf to eps?

    Thanks for the great tips! pdftops worked great and the imagemagick package was already pre-installed (I think it comes with Inkscape...?).

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •