9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
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)
Discussion started by: Soham
4 Replies
3. Shell Programming and Scripting
In here we have a script to extract all pdf links from a single page.. any idea's in how make this read instead of a page a list of pages.. and extract all pdf links ?
#!/bin/bash
# NAME: pdflinkextractor
# AUTHOR: Glutanimate (http://askubuntu.com/users/81372/), 2013
#... (1 Reply)
Discussion started by: danielldf
1 Replies
4. UNIX for Dummies Questions & Answers
Hi!
On my Ubuntu I have thousands of files in a couple hundred directories. I'm trying to convert the pdf's to jpg's.
I used this command in terminal:
for fname in *.pdf; do convert $fname ${fname%.pdf}.jpg; doneIt works great but the problem is I have to run this in terminal for each... (2 Replies)
Discussion started by: martinsmith
2 Replies
5. UNIX for Dummies Questions & Answers
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)
Discussion started by: rlopes
0 Replies
6. Shell Programming and Scripting
Hi, Dear all:
One question ! ^_^
I'm using bash under Ubuntu 9.10.
My question is not to rename all ".JPG" files to ".jpg" in a single folder, but to rename all ".JPG" files to ".jpg" in all subfolders.
To rename all ".JPG" to ".jpg" in a single folder,
for x in *.JPG; do mv "$x"... (7 Replies)
Discussion started by: jiapei100
7 Replies
7. Shell Programming and Scripting
Hi,
I am trying to convert html to pdf using perl module PDF::FromHTML, am getting the error as given below.
not well-formed (invalid token) at line 2, column 17, byte 56 at C:/Perl/lib/XML/Parser.pm line 187 at C:/Perl/site/lib/PDF/FromHTML.pm line 140
The perl code is as given... (2 Replies)
Discussion started by: DILEEP410
2 Replies
8. UNIX for Dummies Questions & Answers
Hello!
I have got next issue: my website is not showing up .gif and .jpg images, but by the direct links (ex. http://somedomain.com/img/logo.gif) i can view them without any problem.
Also if any image is clicked from http://somedomain.com/img/ URL , i get error:
Forbidden
You don't have... (2 Replies)
Discussion started by: v1xon
2 Replies
9. UNIX for Dummies Questions & Answers
I am writing a text for LaTeX compile. I think that my grace figs need to be .ps or .eps files for incorporation. Can one just do a 'save as X.eps'
for this, or is another method required? Thanks- Marshall (6 Replies)
Discussion started by: blann
6 Replies
MPTOPDF(1) ConTeXt MPTOPDF(1)
NAME
mptopdf - convert MetaPost to PDF
SYNOPSIS
mptopdf FILE [ ... ]
DESCRIPTION
mptopdf can convert MetaPost-generated EPS files to PDF, or it can process a MetaPost source file directly (see mpost(1)) and convert the
generated EPS files to PDF.
OPTIONS
All switches are specified in full here but can be abbreviated to the shortest unique prefix. Thus, --metaf works the same as --metafun.
--help Print a terse help message.
--metafun
Use the metafun pre-compiled format to process the MetaPost source file. You usually don't need this option, since metafun input is
usually produced and processed as part of a texexec(1) run. Needs the --rawmp switch to take effect.
--rawmp
Process the source file with mpost(1) directly, rather than with texexec(1). This option is needed if you want to specify --meta-
fun.
--latex
Typeseting labels using latex(1) rather than plain tex(1).
USAGE
To convert manfig.20 to manfig-20.pdf:
mptopdf manfig.20
You can convert more than one EPS file at once:
mptopdf manfig.20 otherfig.17 finalfig.8
Or you can give mptopdf(1) a pattern that it will expand:
mptopdf 'manfig.*'
Note the single quotes to protect the * from the shell. Of course, usually you can let the shell do the wildcard expansion and therefore
leave off the quotes.
To convert figs.mp to figs-1.pdf, figs-2.pdf, ...
mptopdf figs.mp
If the labels are typeset with latex(1):
mptopdf --latex figs.mp
SEE ALSO
tex(1), latex(1), mpost(1), pdftex(1), texexec(1).
ConTeXt wiki <http://www.contextgarden.net>.
AUTHOR
mptopdf(1) is part of the ConTeXt system by Hans Hagen et al, which is available from PRAGMA ADE <http://www.pragma-ade.com/>. This man-
page was written by Sanjoy Mahajan <sanjoy@mit.edu> and is in the public domain.
mptopdf 1.3.2 January 2007 MPTOPDF(1)