EDIT: Umm, I just noticed you want the change the filename extention for good - my solution leaves file names as foo.jpg.pdf... With find, this would work:
Hi Pen,
Yes Thanks you this is exactly what I needed!
It's worked perfectly after testing and done the conversion of all the pdf files to jpg.
Hello.
I have a large number of EPS files and a lesser number of PDFs that I need to convert to GIFs/JPGs using a Unix system. Is there a unix utility or application out there that can do this conversion?
Thank you in advance for any help you can provide.
-Pook (1 Reply)
I have a number of post script files (*.ps) which I need to convert into Pdf.
I am using the ps2pdf command for this, but the trouble is that this commands takes only one input at a time. So the command
ps2pdf *.ps doesnt work.
how can I make a script which will take each .ps file from... (3 Replies)
my app creates pdf and prints them on windows. I want to run the same app on AIX 5.2. I convert PDF to PS using acroread command. But some options of acroread like landscape etc do not work. I came to know from google that there is bug with acroread for AIX with landscape option.
Can you suggest... (3 Replies)
Hi everybody! This is my first post. I am a student and I'm familiarizing myself with linux.
I have lots of directories each containing file called "zadaci.latex". I want to convert them to pdf's and rename them to <directory_name>.pdf.
I read alot on this forum and came up with this script:... (2 Replies)
Hi All,
I have a requirement of converting an html form into pdf using perl.
The html form contains images, tables and css implementation. I tried using various perl modules but failed to achive the target.
I succeeded in generating a pdf from the html file using... (2 Replies)
I'm trying to convert a file with the following command:
convert -verbose image.eps -resize 500x image.jpg
The problem is that the output image loses it's quality and gets all blurred when resized. It shouldn't happen since I'm working with a vector.
I'm pretty sure that I'm missing a... (0 Replies)
Hi,
I have been using Ghostscript to convert PDF to Postscript (PS) file.
GS version : 8.15.2. GS command used is :
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -sOutputFile=output1.ps input1.pdf
File format conversion to PS is success in majority of the cases but some PDF files are... (0 Replies)
Hello. My latest project has me with the need for the following script. Basically, any directory that includes a .jpg file needs to also have a ".picture" file created (if it doesn't exist). Here's an example of what I need.
/mnt/user/Pictures/2011/Hawaii - 2011/.picture... (11 Replies)
Does anybody have idea of Converting secured pdf files to pdf using acroread ?
---------- Post updated at 04:49 PM ---------- Previous update was at 04:44 PM ----------
This file is not password protected. (4 Replies)
Dear Team,
Can any one please let me know, if there is any way to create pdf of a Jpg image file in shell script.
I work on Solaris, Korn Shell.
Currently we are using sunpcl2pdf.exe to create PDF from PCL(Printer Control Language) files.
But we are searching for some different way to... (2 Replies)
Discussion started by: Uttam Maji
2 Replies
LEARN ABOUT OPENSOLARIS
ps2pdf12
PS2PDF(1) Ghostscript PS2PDF(1)NAME
ps2pdf - Convert PostScript to PDF using ghostscript
ps2pdf12 - Convert PostScript to PDF 1.2 (Acrobat 3-and-later compatible) using ghostscript
ps2pdf13 - Convert PostScript to PDF 1.3 (Acrobat 4-and-later compatible) using ghostscript
SYNOPSIS
ps2pdf [options...] {input.[e]ps|-} [output.pdf|-]
ps2pdf12 [options...] {input.[e]ps|-} [output.pdf|-]
ps2pdf13 [options...] {input.[e]ps|-} [output.pdf|-]
DESCRIPTION
The ps2pdf scripts are work-alikes for nearly all the functionality (but not the user interface) of Adobe's Acrobat(TM) Distiller(TM) prod-
uct: they convert PostScript files to Portable Document Format (PDF) files.
If the output filename is not specified, the output is placed is a file of the same name with a '.pdf' extension. Either the input filename
or the output filename can be '-' to request reading from stdin or writing to stdout, respectively, when used as a filter.
The three scripts differ as follows:
- ps2pdf12 will always produce PDF 1.2 output (Acrobat 3-and-later compatible).
- ps2pdf13 will always produce PDF 1.3 output (Acrobat 4-and-later compatible).
- ps2pdf per se currently produces PDF 1.4 output. However, this may change in the future. If you care about the compatibility level
of the output, use ps2pdf12 or ps2pdf13, or use the -dCompatibility=1.x switch in the command line.
There are some limitations in ps2pdf's conversion. See the HTML documentation for more information. A large number of Adobe Distiller(TM)
parameters which can be used to control the conversion are also documented there, including instructions for generating PDF/X and PDF/A
documents.
EXAMPLES
Converting a figure.ps to figure.pdf:
ps2pdf figure.ps
A conversion with more specifics:
ps2pdf -dPDFSETTINGS=/prepress figure.ps proof.pdf
Converting as part of a pipe:
make_report.pl -t ps | ps2pdf -dCompatibility=1.3 - - | lpr
SEE ALSO gs(1), ps2pdfwr(1),
Ps2pdf.htm in the Ghostscript documentation
BUGS
See http://bugs.ghostscript.com/ and the Usenet news group comp.lang.postscript.
VERSION
This document was last revised for Ghostscript version 8.63.
AUTHOR
Artifex Software, Inc. are the primary maintainers of Ghostscript. This manpage by George Ferguson.
8.63 1 August 2008 PS2PDF(1)