LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-14-2009, 09:28 AM   #1
grianach
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
multiple eps to single pdf


I have an alias in my .cshrc to combine multiple eps into a single pdf

Code:
alias me2p  'gs -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sEPSCrop -sOutputFile=\!*'
so when I do

Code:
me2p out.pdf *.eps
which takes all the eps I specific into a single pdf. This is great except I have to hit return in gs for every eps I include. i.e. lots of

>>showpage, press <return> to continue<<

Basically I just want me2p to generate the pdf without me having to confirm every eps. I've tried -dBATCH and -dNOPAUSE but they don't seem to help.

Any suggestions?

Last edited by grianach; 08-14-2009 at 09:32 AM.
 
Old 08-15-2009, 05:58 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

"-dBATCH" and "-dNOPAUSE" should be the correct options. For grins, you could also try "-dNOPROMPT":

http://pages.cs.wisc.edu/~ghost/doc/svn/Use.htm

Strong suggestion(s):

1. Forget about your "me2p" alias (at least for starters).

Just type the command directly (or invoke it directly from a little one-line shell script) until you're sure it's working the way you want it to.

2. Make sure your spelling and capitalization are correct (gs is case sensitive).

'Hope that helps .. PSM
 
  


Reply


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
Using imagemagick to convert numerous jpg files to single pdf jrtayloriv Linux - Software 7 05-03-2013 05:13 AM
Any SVG converter to EPS, PDF, pstricks? smrcis Linux - Software 2 07-03-2011 07:15 AM
merge multiple pdf files esteeven Linux - Software 8 11-21-2007 01:59 PM
How to print/save a bundle of .png files as a single .pdf file satimis Linux - Software 24 08-04-2007 06:05 AM
How To Merge multiple files into a single PDF ? kkempter Linux - Software 1 10-28-2005 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:23 PM.

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